Finding first blank row number

cab401

New Member
Joined
Jun 14, 2018
Messages
13
Help! This formula referencing text within the same page, works perfectly in returning the first blank row number:

{=min(if(indirect(“A”&J17):A26=“”,row(indirect(“A”&J17):A26),””))}

However, similar formula below referencing another page returns #VALUE!

{=min(if(indirect(IA&“!A”&J17):A26=“”,row(indirect(IA&“!A”&J17):A26),””))}

IA contains a separate (open) worksheet name.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Sorry, that should have said I1. That is where the separate sheet name is. I typed it incorrectly above but it is correct in the actual formula. But this doesn’t work so I’m assuming it’s a syntax issue with a parentheses in the wrong place or something like that.
 
Upvote 0
Thanks but I’m still getting the error message.

Control+shift+enter: Press down the control and the shift keys at the same time while you hit the enter key. If done successfully, Excel itself puts a pair of { and } arount the formula in recognition.



Book1
ABCDEFGHIJ
1Sheet1
226
1725
24
2512
26
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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