COUNTIFS? if one word appears in a row?

AndyGav86

New Member
Joined
Nov 17, 2022
Messages
33
Office Version
  1. 365
Platform
  1. Windows
Hi so I'm trying to count in the 4 Bag Test column under Fail, (sheet: Performance Review - H5) if on (sheet: Officer Tracker - G5:J5)
That if they fail even one bag or more out of A, B, C or D that it will count 1 fail in H5 in performance review sheet.

Hope that makes sense and thank you as always, all you guys are incredible
 

Attachments

  • Screenshot 2022-11-30 104616.png
    Screenshot 2022-11-30 104616.png
    72.9 KB · Views: 19
  • Screenshot 2022-11-30 105042.png
    Screenshot 2022-11-30 105042.png
    57.6 KB · Views: 18

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi, is this what you need to put in your Col H.

Excel Formula:
=IFERROR(COUNTIF(Officer Tracker!G1:J1,"Fail")/COUNTIF(Officer Tracker2!G1:J1,"Fail"),0)

essentially divide it by itself.
 
Upvote 0
Another option
Excel Formula:
=SIGN(COUNTIFS('Office Tracker'!G5:J5,"Fail"))
 
Upvote 0
Solution
Hi, is this what you need to put in your Col H.

Excel Formula:
=IFERROR(COUNTIF(Officer Tracker!G1:J1,"Fail")/COUNTIF(Officer Tracker2!G1:J1,"Fail"),0)

essentially divide it by itself.
Unfortunately, that didn't work.
Also, I need it to work for the whole column and all the officer names
 
Upvote 0
Another option
Excel Formula:
=SIGN(COUNTIFS('Office Tracker'!G5:J5,"Fail"))
Unfortunately, that didn't work.
Also, I need it to work for the whole column and all the officer names
 
Upvote 0
In what way didn't they work?
 
Upvote 0
What do you mean by
it still shows an #VALUE!
There was no mention of any errors in your op & neither of the two suggestions should return that error.
 
Upvote 0
What do you mean by

There was no mention of any errors in your op & neither of the two suggestions should return that error.
 

Attachments

  • Screenshot 2022-12-05 121702.png
    Screenshot 2022-12-05 121702.png
    81.2 KB · Views: 6
  • Screenshot 2022-12-05 121749.png
    Screenshot 2022-12-05 121749.png
    41.1 KB · Views: 6
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top