dynamic range with index

dmheller

Board Regular
Joined
May 26, 2017
Messages
156
Office Version
  1. 365
All,
I have created a name in the name manager I called it "l3nox". The data can be pulled how ever I want it to so the amount always changes. I then graph the data based on the name I have defined. Here is the equation for my name.
=Sheet1!$F$6:INDEX(Sheet1!$F:$F,COUNT(Sheet1!$F:$F))
For some reason, I am always 5 cells above the last value. Any advice would be great.
thanks
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
For example, you have 20 cells returned by the COUNT, starting at F6, you should end at F25, but your formula is returning F6 to F20

What you need simply is
=Sheet1!$F$6:INDEX(Sheet1!$F:$F,COUNT(Sheet1!$F:$F)+5) "5 because you are starting at F6"
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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