• 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.

Max per ID (variable number of ID's)

In the attached workbook I have made some comments in column AB which I hope explain the task.
 

Attachments

  • MAX_per_ID.xlsx
    24.5 KB · Views: 7
Z2: =IF(COUNTIF($A$2:$A2,A2)>1,"",COUNTIFS($A$2:$A$14,A2))
copy Z2 down
 
Thank you, but your formula returns exactly the same as the one I already had in column B.
What I was after was something better than my formulas in column Z, if possible.
 
1710867700559.png

In attached, see cell AA2, copy down:
Code:
=IF(COUNT(d[@['#]])=1,MAX(FILTER(d[[Over-
skridelse
 5-6 min.]:[Over-
skridelse
 > 7 min.]],d[ID]=A2)),"")
Independently, see Power Query table at cell AF2. Needs refreshing if the source data changes by right-clicking the table and choosing Refresh.

1710868233025.png
 

Attachments

  • 1710867822541.png
    1710867822541.png
    3.2 KB · Views: 0
  • Chandoo56452MAX_per_ID.xlsx
    33.2 KB · Views: 3
Back
Top