noncontiguous range, minimal row...

hurgadion

Active Member
Joined
Mar 19, 2010
Messages
426
Hi,
is it a simple Way to find a minimal row of a noncontiguous Range (number of Areas may be unknown... but we have function AREAS()) using a Formula ??

for (B4:B7,E2:E15,G6:G10,I3:I20) result is 2...

best regards,
hurgadion
 
Last edited:
That's what I think.

I tried forcing it to consider the named range, qualifying it. If it's a workbook name like =ROW(Book1!BOB:Book1!BOB) or if it's a worksheet name like: =ROW(Sheet2!BOB:Sheet2!BOB).

It worked for me this way.
Yep, qualifying the Defined Name fixed the problem.



Anyway, better not to define a name with a column name.
Agreed, but if we are going to put this out there as a general formula, we are going to have to include that qualification as well. By the way, another proof that one should not use column names for Defined Names... make a non-contiguous selection and name it both PGC and RICK... entering PGC:PGC into the Name Box selects Column PGC, but entering RICK:RICK into the Name Box select the rectangular range that encompasses the Areas making up the non-contiguous range. So maybe the qualification I mentioned at the beginning is not really necessary as using a column name as a Defined Name is generally a bad thing to do (although really easy to forget).
 
Last edited:
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,215,523
Messages
6,125,315
Members
449,218
Latest member
Excel Master

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