IF statement with "AND"

Hazman_08

New Member
Joined
Aug 30, 2023
Messages
12
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi all,

I have a formula =COUNTIF(G2:G100,"Yes"), which I need to modify to only count where, for example, value in G7 is "Yes" AND value in H7 is not "Complete". Column H has a dropdown with 5 options.

I imagine there needs to be an AND statement added somehow, just not sure.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Try:

Dante Amor
GHI
1
2YesComplete3
3NoComplete
4YesIn Progress
5YesIn Progress
6YesIn Progress
7NoComplete
Hoja3
Cell Formulas
RangeFormula
I2I2=COUNTIFS(G2:G100,"Yes",H2:H100,"<>Complete")
 
Upvote 0
Solution

Forum statistics

Threads
1,215,857
Messages
6,127,371
Members
449,381
Latest member
Aircuart

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