Lookup and Transpose

LJREdinburgh

New Member
Joined
May 20, 2014
Messages
46
I have a large dataset of annual information for three cities and an average broken down by month with according data for various categories generated vertically. For chart creation and ease of reading, I want to show this horizontally and ordered differently. Below is a short example of what I need.

Area
Occ
EDI01-090.54
GLA01-090.51
ABD01-090.52
SCO01-090.52
EDI02-090.81
GLA02-090.66
ABD02-090.7
SCO02-09.72

<tbody>
</tbody>

What I want is:
Jan-09Feb-09
EDI0.540.81
GLA0.510.66
ABD0.520.7
SCO0.520.72

<tbody>
</tbody>

This data set goes from 01/01/2009 up until 31/07/2014. So ideally I would have a lookup-formula that I can drag across to populate the information without having to copy and paste and/or transpose the information. I imagine there would be some set-up involved, i.e renaming certain headings to get this to work initially?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Assuming your data is in 'Sheet1', and the results are on a separate sheet, put this formula in B2 and then copy it across and down:

Code:
=VLOOKUP($A2&TEXT(B$1,"mm")&"-"&TEXT(B$1,"yy"),Sheet1!$A:$B,2,FALSE)
Hope this helps,

Chris.
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,741
Members
449,050
Latest member
excelknuckles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top