• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Need a formula

Relli

New Member
I want all cells in column cell A that have the name 'wait list' to be ranked by that related column cell B's date in descending order in the related cell C 1 through 15. I do not want to use a pivot table.
 
Hi:

I think its doable using sumproduct formula could you upload a sample workbook.

Thanks
 
Try this in Col C ,,, =IF(A2="TBD","",MATCH(B2,LARGE(IF($A$2:$A$15=A2,$B$2:$B$15),ROW(INDIRECT("1:"&COUNTIF($A$2:$A$15,A2)))),0))

I put TBD into some of the cells in Col A as I don't know what else you would have other than "wait list" in Col A ..... the formula is an array formula, so must be confirmed with control + shift + enter instead of just hitting enter key.
 
I tried using that formula but it did not number the dates in order. It put NA# where it did not say waitlist and it left the cell blank where it said waitlist. I uploaded a sample file.
 

Attachments

  • Sample.xlsx
    9.5 KB · Views: 3
Hi:

Use the following formula.

Code:
=IF([@Status]="Enrolled","",SUMPRODUCT(--([@Status]=[Status]),--([@[Waitlist Date]]>[Waitlist Date]))+1)


Thanks
 

Attachments

  • Sample.xlsx
    10.1 KB · Views: 3
Back
Top