Dynamic Range - probably really easy fix!

justanotheruser

Board Regular
Joined
Aug 14, 2010
Messages
96
Hi all,

I've got a dynamic named range called Products that refers to
Code:
=OFFSET(Prices!$A$2,0,0,MATCH("*",Prices!$A:$A,-1),1)

In the sheet called Prices, I have the following:


Excel Workbook
A
1Products
2Product 1
3Product 2
4Product 3
5Product 4
6*
7*
8*
9*
Prices


However, with this dynamic range, cells A2, A3, A4, A5 and A6 are selected - even though A6 is a blank cell. Could someone help me fix the formula for the dynamic range? :)

Thanks in advance for your help! :D
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try this...
Code:
=OFFSET(Prices!$A$2,0,0,MATCH("*",Prices!$A:$A,-1)[COLOR="Red"]-1[/COLOR],1)
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,894
Members
452,948
Latest member
Dupuhini

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