Solved

Excel 2020 Transform format 140417

Posted on 2014-04-17
3
245 Views
Last Modified: 2014-04-18
ServerBuild template Imprt SetServer Template Imprt setServer Template Imprt setGood afternoon expert,

I searched for an answer to a similar question in the knowledge base. One was pretty
close, I think, but it was in Chinese so I am not sure.

The System Engineers input the info in the screen shot with the title 'Server Build Specifications'. The information is formatted vertically.

The Configuration Management DB is in a app called ServiceNow and ServiceNow wants
to import the information as an import set that is formatted horizontally like the one in the spreadsheet with the blue header and white letters: HostName, IP Address, Additonal IP Address..."

Would like to write a macro that would take the fields in the vertical format and rewrite it in a horizontal layout.

What is the best way to do this?

Thanks.

Allen in Dallas
0
Comment
Question by:9apit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 40007906
Allen,

This is entirely feasible.  However, to make sure we fully answer the question, we really need you to post samples of the files themselves.

The data in the files can be fake.  What is important is that they be structurally the same as the real files, and that they demonstrate the expected output given specific sample input.

Patrick
0
 
LVL 13

Expert Comment

by:akb
ID: 40008037
Do you really want a macro to do this or is it a one off?

If you want to do it manually then you just need to highlight the cells, copy them, then right click where you want them to go, select Paste Special, tick the Transpose tick box and clink OK.

If you want a macro, go to the Developer tab and press Record Macro.
0
 

Author Closing Comment

by:9apit
ID: 40008606
Actually I figured out that I could make the cells in the second worksheet formulas
that were equal to the cells in the first worksheet and avoid writing a macro. Thanks.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question