Microsoft 365 and Office | Excel | For business | Windows
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
I need a formula to number the number of people in each state.
The formula should give the result of the column order
Thanks in advance
Try this formula: =COUNTIF($B$2:INDIRECT("B"&ROW()),INDIRECT("B"&ROW())).
Hi Viorel:
Great!! That's solve my problem
Thanks for your help and your time
Regards
Hi,
In cell C2, enter this formula
=BYROW(B2:B8,LAMBDA(a,COUNTIF(B2:a,a)))
Hope this helps.