Recent content by davidbaggins

  1. D

    How can I return the latest value based on a matching ID?

    If you're using Excel 365, you can do it with a single formula using `XLOOKUP` and `MAXIFS`: =XLOOKUP(MAXIFS(B:B,A:A,E2),FILTER(B:B,A:A=E2),FILTER(C:C,A:A=E2)) Where: Column A = ID Column B = Date Column C = Value E2 = the ID you're searching for (e.g., A01) `MAXIFS` finds the latest date for...
  2. D

    Number of text cells by color

    You can use a simple VBA user-defined function: Function CountFontColor(rng As Range, sample As Range) As Long Dim c As Range For Each c In rng If c.Font.Color = sample.Font.Color Then CountFontColor = CountFontColor + 1 End If Next c End Function

Online statistics

Members online
0
Guests online
240
Total visitors
240

Forum statistics

Threads
459
Messages
2,045
Members
2,363
Latest member
555winlondon
Back
Top