Radiatedjay2
New Member
- Joined
- Oct 7, 2018
- Messages
- 8
The formula string below currently counts the number of supervisors scheduled to work based on specific entries in three cells. Certain entries add to the count and certain entries subtract from the count.
=COUNTIF(KI4:KI6,"*N*")+COUNTIF(KI4:KI6,"PHY")+COUNTIF(KI4:KI6,"TRD")+COUNTIF(KI4:KI6,"MT")+COUNTIF(KI4:KI6,"*D*")-COUNTIF(KI4:KI6,"DC")-COUNTIF(KI4:KI6,"XD")-COUNTIF(KI4:KI6,"XN")
What I need it to do is subtract 1 from the total if the total is => 3. How would I modify this formula to accomplish that.
=COUNTIF(KI4:KI6,"*N*")+COUNTIF(KI4:KI6,"PHY")+COUNTIF(KI4:KI6,"TRD")+COUNTIF(KI4:KI6,"MT")+COUNTIF(KI4:KI6,"*D*")-COUNTIF(KI4:KI6,"DC")-COUNTIF(KI4:KI6,"XD")-COUNTIF(KI4:KI6,"XN")
What I need it to do is subtract 1 from the total if the total is => 3. How would I modify this formula to accomplish that.