sumif two conditions

Mr2017

Well-known Member
Joined
Nov 28, 2016
Messages
644
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi

I'd like to create a sum if which is based on two conditions:

i) if the "zone" in column A is "zone 2" and
ii) if the word "up" is in column F

I've used the formula below, but Excel doesn't like it!

I'm using the sumif formula in a Summary tab and looking at data in the "PData" tab.

Any help would be much appreciated.

'=SUMIFS(PData!A:A,A:A,”Zone 2”,PData!F:F,”UP”)

Thanks in advance.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
If Column D has data to be summed up

=SUMIFS(PData!A:A,PData!A:A,”Zone 2”,PData!F:F,”UP”)

If range if from row 2 to row 45 to avoid time delay

=SUMIFS(PData!A2:A45,PData!A2:A45,”Zone 2”,PData!F2:F45,”UP”)
 
Upvote 0
Hi

I tried that but it didn't work?

Also, it's column F that I need to sum up data in, not column D.
 
Upvote 0
Sorry for the mistake.
If Column D has data to be summed up

=SUMIFS(PData!D:D,PData!A:A,”Zone 2”,PData!F:F,”UP”)
 
Upvote 0

Forum statistics

Threads
1,215,039
Messages
6,122,802
Members
449,095
Latest member
m_smith_solihull

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