Confused

i8ig

Board Regular
Joined
Jul 17, 2007
Messages
122
I need to count the number of times 'settled' and 'impasse' occur in a row and add the total together, I tried: =countif("settled"and"impasse") but it does not work

Any suggestion is appreciated
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

i8ig

Board Regular
Joined
Jul 17, 2007
Messages
122
Never mind, I found that if I left the and out it works fine
 

Gerald Higgins

Well-known Member
Joined
Mar 26, 2007
Messages
9,116
Why not
=countif("settled") + countif("impasse")

Obviously the exact code will be different.
 

Thorin

Board Regular
Joined
Feb 8, 2007
Messages
243
You could try :-

Code:
=COUNTIF(A4:A11,"settled")+COUNTIF(A4:A11,"impasse")

Where A4:A11 is your range.
 

shekhar_pc

Board Regular
Joined
Jan 29, 2006
Messages
185
Try =COUNTIF(A1:IV1,"settled")+COUNTIF(A1:IV1,"impasse")

If the above does not work, can you put a sample data?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,100
Messages
5,768,097
Members
425,453
Latest member
bince

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
Top