Converting a COLUMN formula to a ROW formula

Jtucker10278

Board Regular
Joined
May 14, 2017
Messages
51
trying to make a rolling 6 week chart

so if COL A has my list of weeks and COL B has my list of total

my OFFSET named range formulas are

Total =OFFSET($B$2,COUNTA($B:$B)-($C$2+1),0,$C$2,1)
Weeknum =OFFSET($A$2,COUNTA($A:$A)-($C$2+1),0,$C$2,1)
note C2 is the location of the number of rolling weeks the chart would show

This worked great in my practice sheet, the problem is in real life

ROW 7 has my Totals and
ROW 3 has my WeekNum

so i tried

Total =OFFSET($C$7,COUNTA($7:$7)-($B$2+1),0,$B$2,1)
WeekNum =OFFSET($C$3,COUNTA($3:$3)-($B$2+1),0,$B$2,1)
note B2 is the location of the number of rolling weeks the chart would show


when i do this and i go to "Select Data" for the chart and enter

Series Values: =ChartTrial!WeekNum

nothing happens. I dont get any error message it just acts like i closed the window without entering any information


Thanks for the help
 

Some videos you may like

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

JoeMo

MrExcel MVP
Joined
May 26, 2009
Messages
17,387
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Re: Help converting a COLUMN formula to a ROW formula

Look at the OFFSET formula in Excel Help. If you want to offset along a row, you need to incorporate the offset in the third argument (the column offset, not the second argument which is the row offset), and set the width in the fifth argument (not the fourth argument which is the height).
 

Watch MrExcel Video

Forum statistics

Threads
1,122,464
Messages
5,596,288
Members
414,052
Latest member
Dual Showman

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
Top