Link to home
Start Free TrialLog in
Avatar of jvantassel1
jvantassel1Flag for United States of America

asked on

countifs

The attached spreadsheet uses the COUNTIFS function to determine how many briefs have been completed (cell J3) based on the value of the drop box located in Column F (status), now, instead of counting the brief complete only if the Status is "Packet Complete" I want it to count it if it's equal to "PB*" as well.  I tried using an OR() statement:   =COUNTIFS(pegName,IIpeg,MDEP_Briefstatus,OR("Packet Complete","PB Mission Complete")) unfortunately, when I do this the value is 0.
POM-1620-Murder-Board-Dates-and-.xlsm
SOLUTION
Avatar of Sasha Kranjac
Sasha Kranjac
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@byundt
This is much more elegant formula - I like using an array, especially if there are more values to add.
Avatar of jvantassel1

ASKER

I should get a chance to look at this later today or tomorrow.
Both solutions work.  I agree the second solution is more elegant.