Transpose Formula when Certain Criteria are met

Gadgetgav

New Member
Joined
Aug 26, 2009
Messages
29
Hi All,

Apologies if this has been asked before but I have searched and only found similar requests, nothing solving my exact issue.

I have some weekly KPI data which gets collated each month into charts. The data is entered each week and totaled using sum formulas onto a sheet. I have a chart on another sheet that I would like to transpose this data onto (the data currently has the months as column headers but the chart needs them to be as rows). My issue is that I only want to show last month and earlier and hide the data entered so far for this month.

Example:

Original data:
JanFebMarApr
10015012525

<tbody>
</tbody>

How I want to see the chart data:
Jan100
Feb150
Mar125
Apr

<tbody>
</tbody>

What I would like to do is have a transpose formula to enter the data onto the chart but only if the month is lower than today's month.

I hope this makes sense.

Thanks in advance,
Gav
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi,

say your data in located in range A1:D2

in cell A5, you could have : =OFFSET($A$1,0,ROW()-5)

and in cell B5, you could have : =IF(MONTH("1"&A5)>=MONTH(TODAY()),"",OFFSET($A$1,1,MATCH(A5,$1:$1,0)-1))

Hope this will help
 
Upvote 0
Solution
Hi,

say your data in located in range A1:D2

in cell A5, you could have : =OFFSET($A$1,0,ROW()-5)

and in cell B5, you could have : =IF(MONTH("1"&A5)>=MONTH(TODAY()),"",OFFSET($A$1,1,MATCH(A5,$1:$1,0)-1))

Hope this will help
Thanks for the help but unfortunately that won't work as the data is on a different sheet to the chart and is among other data so it's not as simple as just offsetting.
 
Upvote 0
Use Power Query (Data>Get & Transform) , unpivot the data, and the chart the result table.
 
Upvote 0
Thanks for the help but unfortunately that won't work as the data is on a different sheet to the chart and is among other data so it's not as simple as just offsetting.

Do not know the complexity of your workbook ...

But Offset can easily operate across sheets ...
 
Upvote 0
This has actually helped a lot as it helped me realise I can just do a HLookup using the month headers. Thank you
 
Upvote 0

Forum statistics

Threads
1,214,430
Messages
6,119,454
Members
448,898
Latest member
drewmorgan128

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