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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
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,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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