formula looking for an either/or solution in same column

J

J. Hunter

I have a spreadsheet with one column showing pay grade - O3, O4, W2, W3.....
I have a formula which selects anything starting with O, but I need the
formula to also look for either O or W and count both of them together. any
help?
The current formula is:
=countifs(I2:I120,"=ASAE",B2:B120,"=O?",L2:L120"<1/1/2050")
 
T

T. Valko

One way...

=SUM(COUNTIFS(A2:A10,"ASAE",B2:B10,{"O*","W*"},C2:C10,"<"&DATE(2050,1,1)))
 
Top