LASTUSEDROW

=LASTUSEDROW(0)

firstArgument
row number (enter zero here until optional parameters available; for recursion only)

LASTUSEDROW returns the last row with an entry in the current sheet.

RicoS

Board Regular
Joined
May 1, 2019
Messages
62
LASTUSEDROW returns the last row with an entry in the current sheet (can be used in conjunction with ADDRESS and LASTUSEDCOLUMN to return the intersection of the last column and row)

Excel Formula:
=LAMBDA(rowFrom,
     LET(c,IF(rowFrom=0,16000,rowFrom),
        i,MAX((MOD(c,10^{1;2;3;4;5})=0)*{1;2;3;4;5}),
        j,LOG(c),
        k,(j<6)*(j=INT(j)),
        x,0+(COUNTA(INDIRECT("R"&c&":R"&MIN(1048576,c+(10^i)-1),FALSE))>0),
        return,IF((x*(i=0))=1,c,LASTUSEDROW(c+(x*(10^i))-(10^(i-(x*i)-(k*(x=0)))))),
        return
     )
)
 
Upvote 0
this feature why when sequence 100 show num
 

Forum statistics

Threads
1,216,499
Messages
6,131,012
Members
449,613
Latest member
MedDash99

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