PDA

View Full Version : Numbering a unique sort



NWE
04-25-2019, 08:34 AM
Hey,

I am wondering how to number a unique sort. For example I have attached an image of a data set. There are 505 unique records in column Q, and I would like to number them in column R in numerical order, ignoring the gaps on the lines. Any advice?
24143

Bob Phillips
04-25-2019, 10:15 AM
Use a simple formula. In R2 enter


=IF(Q2<>"",MAX($R$1:$R1)+1,"")

and copy down

NWE
04-29-2019, 09:04 AM
Thank you for that, that got it perfectly!