Question: I have an Excel spreadsheet that contains an export of some raw data. However, the data needs to be rearranged as follows:
Answer: Let's take a look at an example. Download Excel spreadsheet (as demonstrated below)
|
In this spreadsheet, we've created a macro called RearrangeData. You can run the macro by selecting Macro > Macros under the Tools menu. Then highlighting the macro called RearrangeData and clicking on the Run button. Once the macro has run, the spreadsheet will look as follows:
|
You can press Alt-F11 to view the VBA code. Macro Code:The macro code looks like this:
|
Visit our busy book shop, were you can find latest books for beginners as well as advanced excel users.
Spreadsheet 123 Spreadsheet Software Development
See Spreadsheets for:
a.Hotel Management b.Personal Budget
c.Corporate Finance d.Rating Calculation e.Real Estate and Mortgage
f.Web Calc