Offset()

Kavy

Well-known Member
Joined
Jun 25, 2007
Messages
607
I have the following offset function for my graph source data:

OFFSET('Piping Graph Data'!AK3,0,0,AK1,5)

where in cell AK1 is a count function to tell the graph how many rows to actually graph.

This works, but when I go back into the source data for the graph, it has removed my formula and shows the actual ranges it plotted. This makes it so the count function won't auto-update the graph range, since excel has removed it from the formula itself!

Any ideas??

Thank you!

Kavy
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
So to update this, I realize I needed to create a dynamic name range with my formula and than enter it into the graph.

I have tried this but my excel likes to edit my range, and I can't get my chat to accept the named range.

I have seen online examples where people generally include the name of the worksheet in there named range, but that doesn't seem to help either.

Does anyone have any idea?
 
Upvote 0
So i got it,

Ensure your name has the worksheet name in front of it, ending with a "!" before the name,

i.e. Sheet1!NAME

Ensure your offset formula in your name includes the worksheet names for all cell references, not just the cell

Input your new dynamic names into the graph by clicking the graph and using the series function in the formula bar (which should auto appear). Ensure you have a x-value ma,ed range as well as a y named range both having the same length in your series function.

Google the series function in graphs to see the requirements.
 
Upvote 0

Forum statistics

Threads
1,224,567
Messages
6,179,571
Members
452,927
Latest member
whitfieldcraig

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