Help with COUNTIFS

Harriman2022

New Member
Joined
Jan 7, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am trying to COUNTIFS function with a few different conditions:

=countifs('Key Property Info'!A:A,"media",'Key Property Info'!H:H,{"contract sent","apps sent"})

I would like excel to return the value of the the contract sent and apps sent figures, where they are applicable to 'media'.

Everything is working other than the fact that the result only returns "contract sent" figure and excludes "apps sent" - both of these statements are within the same column.

I also have the exact same scenario only for a SUMIFS function.

Thanks,
Alex
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi & welcome to MrExcel.
If you just want a single value then you need to wrap the formula in SUM
 
Upvote 0
Hi thanks very much for responding.

I have tried the below and it is still only returning the value of "contract sent"

=sum(countifs('Key Property Info'!A:A,C6,'Key Property Info'!H:H,{"contract sent","apps sent"}))

Thanks
 
Upvote 0
Are you trying this in Excel 365, or some other version?
 
Upvote 0
Realised I was in Google Sheets rather Excel on 365. It has worked now. Thanks very much for helping.

Out of interest will the same thing solve it if I move the doc to Google Sheets?
 
Upvote 0
Nor sure about Sheets, but you may need to use FormulaArray (or something like that)
 
Upvote 0

Forum statistics

Threads
1,216,571
Messages
6,131,482
Members
449,653
Latest member
aurelius33

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