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

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
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,215,745
Messages
6,126,634
Members
449,324
Latest member
AmirMalik

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