multiple count if statements help

squeakums

Well-known Member
Joined
May 15, 2007
Messages
823
Office Version
  1. 365
I need to count if these two statements; how would I write that please?

=countifs(H:H=3,L:L>60) also if H:H=1,L:L>40
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You can put multiple conditions in COUNTIFS. They are always in sets of two:
FIRST, the range you wish to check
SECOND, the criteria/condition you want to check on that range

See here for a full explanation and examples: MS Excel: How to use the COUNTIFS Function (WS)
 
Upvote 0
=COUNTIFS(H:H,3,L:L,">"&40)
AND
=COUNTIFS(H:H,1,L:L,">"&60)

you can add together in 1 formula

=COUNTIFS(H:H,3,L:L,">"&40) + COUNTIFS(H:H,1,L:L,">"&60)

Book1
BCDEFGHIJKLM
4countifs(H:H=3,L:L>60) also if H:H=1,L:L>40
531
66360
7187
8
9370
1031
11170
12
13341
14343
15
Sheet1
Cell Formulas
RangeFormula
B6B6=COUNTIFS(H:H,3,L:L,">"&40)+COUNTIFS(H:H,1,L:L,">"&60)
 
Upvote 0
OK, I think I totally misread that question.
My apologies.
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,301
Members
449,078
Latest member
nonnakkong

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