If Statement

jassa

New Member
Joined
Feb 7, 2014
Messages
37
Office Version
  1. 365
Hi All,

I have an If Statement that searches for 2 elements.

Formulae: =COUNTIFS(AB!J:J,"LOCAL",AB!R:R,"U")

In column J it looks for the Letters Local

In Column RR it looks for The letter U.

I would like to add another Statement that says if 'No' Is found in column S it should calculate this as a number.

If you can let me know how i can alter the present formulae to add the 3 criteria,

Many Thanks
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
wouldn't be just?

=COUNTIFS(AB!J:J,"LOCAL",AB!R:R,"U",AB!S:S,"No")
 
Upvote 0
Thank Alan, not sure why i couldnt figure out why i just didnt add a comma and type it again. One of my moments.

Do you know how i can get S:S to pick up everything but No?
 
Upvote 0
you're welcome.

for everything but No, use "<>No" instead, i.e.

=COUNTIFS(AB!J:J,"LOCAL",AB!R:R,"U",AB!S:S,"<>No")
 
Upvote 0

Forum statistics

Threads
1,216,050
Messages
6,128,498
Members
449,455
Latest member
jesski

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