Countif from a column but excluding data from other column

leyagaco

New Member
Joined
Sep 5, 2020
Messages
7
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I'm trying to count all the things from my column G but excluding "Workday" from my Column E. I already have this formula:

=SUM(COUNTIFS(Candidates!$G:$G,{"Screen","Pipeline","Not Eligible for Rehire","Duplicate","No Match/Min. Or Preferred Qualifications","No Match/Salary","No Match/Shift or Schedule","No Match/Location","Internal process","Contacted","No Answer","Withdrew"}))


How do I add to it to exclude from counting everything that came from "Workday" in Column E.

I'm attaching an image.

Hope you can help!
 

Attachments

  • Exclude.JPG
    Exclude.JPG
    102.2 KB · Views: 146

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi Leyagaco,

You could add a COUNTIFS criteria to exclude Workday in column E.

Leyagaco.xlsx
CDEFG
1ResultSourcePositionReview Status
27WorkdayMgr1Screen
3WorkdayMg2Pipeline
4WorkdayMgr1Not Eligible for Rehire
5WorkdayMg2Duplicate
6WorkdayMgr1No Match/Min. Or Preferred Qualifications
7WebsiteMg2No Match/Salary
8WebsiteMgr1No Match/Shift or Schedule
9WebsiteMg2No Match/Location
10WebsiteMgr1Internal process
11WebsiteMg2Contacted
12WebsiteMgr1No Answer
13WebsiteMg2Withdrew
14WebsiteMgr1TheLastOne Not Counted
Candidates
Cell Formulas
RangeFormula
C2C2=SUM(COUNTIFS(Candidates!$G:$G,{"Screen","Pipeline","Not Eligible for Rehire","Duplicate","No Match/Min. Or Preferred Qualifications","No Match/Salary","No Match/Shift or Schedule","No Match/Location","Internal process","Contacted","No Answer","Withdrew"},$E:$E,"<>Workday"))
 
Upvote 0
You seem to be listing all possible values for column G and counting and summing them. I'm not sure why you are doing that. You could just count all non-blanks.

Excel Formula:
=COUNTIFS(Candidates!$G:$G,"<>",Candidates!$E:$E,"<>Workday")-1

You subtract 1 to account for the header row.
 
Upvote 0
Solution
You seem to be listing all possible values for column G and counting and summing them. I'm not sure why you are doing that. You could just count all non-blanks.

Excel Formula:
=COUNTIFS(Candidates!$G:$G,"<>",Candidates!$E:$E,"<>Workday")-1

You subtract 1 to account for the header row.
It is easier this way and it worked, thank you!
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,151
Members
449,068
Latest member
shiz11713

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