Hello,
I am looking to get the the row number of the last row that contains a formula, with or without data, in range.
Any help would be appreciated
Hello,
I am looking to get the the row number of the last row that contains a formula, with or without data, in range.
Any help would be appreciated
Ctrl+F > Find what: = > Find All > the last item in the result window is the last cell/row with formula.
or
=LOOKUP(2,1/(A:A<>""),ROW(A:A))
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
Glenn, OP is asking for the last row that contains a formula.
Duhhh! Try again.
Try this:
=LOOKUP(2,1/NOT(ISBLANK(A:A)),ROW(A:A))
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
OK. Try this instead.
Formula used was:
=AGGREGATE(14,6,IF(LEN(FORMULATEXT(A1:A100))>0,ROW(A1:A100),""),1)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks