Using a graph with 1 dynamic range

Corleone

Well-known Member
Joined
Feb 2, 2003
Messages
841
Office Version
  1. 365
Evening forum - I have an excel question for you

I have a line graph made up of 2 rows of data-
Row 1 contains the headers
Row 2 contains the £ of the forecast budget per period - running from Cell B2 to AA2
Row 3 is the actual spend per period - Also running from cell C2 to BB12

I would like to make the range dynamic for row 3 only based on the period number that i select on a dropdown in Cell A1.

So for example when i select this period (11) in the drop down it automatically selects the first 11 cells in row 3 (C3:M3) and then next period when i change the dropdown to select "12" the range extends across another cell to cover the first 12 cells (C3:N3)
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
I nearly have this cracked but im falling at the final hurdle - im testing it out in a separate spreadsheet

I have a named range called graph which refer to the following formula - =OFFSET(Sheet1!$A$3,0,0,1,Sheet1!$A$1)

however, when i try to apply this named range to a series value i get this message
1673691780490.png

as you can see below - it recognises the formula (see row 3) but the graph is not having it

any help appreciated

1673691744208.png
 
Upvote 0

Forum statistics

Threads
1,215,052
Messages
6,122,878
Members
449,097
Latest member
dbomb1414

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