Formula to enter the number of the last row with data

esmarques

New Member
Joined
Oct 27, 2020
Messages
20
Office Version
  1. 365
Platform
  1. MacOS
Hello,
Would anybody know, if this is even possible, a formula to enter the number of the last row with data in the file attached, so I don't need to updated the formulas every time we add rows ?

Any help is welcomed.

Thank you

Number of distinct people.xlsx
ABCDEFG
1 name artist staffDistinct People5missing data from rolls 12 to 16
2MikeTRUEDistinct Artists2missing data from rolls 12 to 16
3JohnTRUEDistinct Staff3missing data from rolls 12 to 16
4AmandaTRUE
5MikeTRUE
6MikeTRUE
7HollyTRUE
8JohnTRUE
9MikeTRUE
10HollyTRUE
11DanTRUE
12FreyaTRUEroll added
13JohnTRUEroll added
14FreyaTRUEroll added
15HollyTRUEroll added
16LeonTRUEroll added
Sheet1
Cell Formulas
RangeFormula
F1F1=SUM(IF(ISTEXT(A2:A11),1/ COUNTIF(A2:A11,A2:A11),””))
F2F2=ROWS(UNIQUE(FILTER(A2:A11,B2:B11=TRUE)))
F3F3=ROWS(UNIQUE(FILTER(A2:A11,C2:C11=TRUE)))
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Easiest option is to use ranges that you are unlikely to exceed, like
Fluff.xlsm
ABCDEF
1 name artist staffDistinct People7
2MikeTRUEDistinct Artists3
3JohnTRUEDistinct Staff4
4AmandaTRUE
5MikeTRUE
6MikeTRUE
7HollyTRUE
8JohnTRUE
9MikeTRUE
10HollyTRUE
11DanTRUE
12FreyaTRUEroll added
13JohnTRUEroll added
14FreyaTRUEroll added
15HollyTRUEroll added
16LeonTRUEroll added
Sheet7
Cell Formulas
RangeFormula
F1F1=ROWS(UNIQUE(FILTER(A2:A10000,A2:A10000<>"")))
F2F2=ROWS(UNIQUE(FILTER(A2:A10000,B2:B10000=TRUE)))
F3F3=ROWS(UNIQUE(FILTER(A2:A10000,C2:C10000=TRUE)))
 
Upvote 0
Solution
Easiest option is to use ranges that you are unlikely to exceed, like
Fluff.xlsm
ABCDEF
1 name artist staffDistinct People7
2MikeTRUEDistinct Artists3
3JohnTRUEDistinct Staff4
4AmandaTRUE
5MikeTRUE
6MikeTRUE
7HollyTRUE
8JohnTRUE
9MikeTRUE
10HollyTRUE
11DanTRUE
12FreyaTRUEroll added
13JohnTRUEroll added
14FreyaTRUEroll added
15HollyTRUEroll added
16LeonTRUEroll added
Sheet7
Cell Formulas
RangeFormula
F1F1=ROWS(UNIQUE(FILTER(A2:A10000,A2:A10000<>"")))
F2F2=ROWS(UNIQUE(FILTER(A2:A10000,B2:B10000=TRUE)))
F3F3=ROWS(UNIQUE(FILTER(A2:A10000,C2:C10000=TRUE)))
Of course,.... sorry, and thank you very very much.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,096
Latest member
Anshu121

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