SUM, SUMPRODUCT or COUNTIF

jasonjack

New Member
Joined
Apr 30, 2014
Messages
26
Office Version
  1. 365
Platform
  1. MacOS
HI,

I am trying to present some data based on the table below.

I'd like to report for APAC (A) region only 1 instance and a single total of Minutes (C) for SUPPLIER (D).

At the moment using SUMIF and COUNTIFS I get 4 instances of the APAC and 144 Minutes.

Region (G4) Formula is: =COUNTIFS(A:A,"APAC",D:D,"ABC1")

Total Minutes (G5) Formula is: =SUMIFS(C:C,A:A,"APAC",D:D,"ABC1")

Any help would be greatly appreciated.

1621587516068.png
 

Attachments

  • 1621586804668.png
    1621586804668.png
    13 KB · Views: 9

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
I'm not sure what you are asking so if you can clarify that further it would be good.

In any case, I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
I'm not sure what you are asking so if you can clarify that further it would be good.

In any case, I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Thanks Peter. Updated.

I'm hoping the following screenshot will make it clearer.

I basically have a sheet of data (Column A > D) and I'll looking to avoid double, triple, etc. of data.

1621588575300.png
 
Upvote 0
Do you want APAC Region to be 1 because
- all suppliers are the same , or because
- all suppliers and minutes are the same, or because
- something else?
 
Upvote 0
BTW, thanks for updating your profile and I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.
 
Upvote 0
Do you want APAC Region to be 1 because
- all suppliers are the same , or because
- all suppliers and minutes are the same, or because
- something else?

I want APAC to be 1 and Minutes to be 36 regardless of how many there would be for APAC and 36 Minutes. The Supplier would be irrelevant tbh.

Hope that helps.

Jay
 
Upvote 0
It's probably worth adding........there would be other instances of APAC with different Minutes which I also want to count/sum:

1621589448508.png
 
Upvote 0
Can you confirm whether the count for APAC here would be
1 because APAC Minutes are all 36 or
2 because there are two separate sections (row groups) with APAC?

jasonjack.xlsm
ABC
1RegionMinutes
2APAC36
3APAC36
4AMER24
5AMER24
6APAC36
7APAC36
Sheet1
 
Upvote 0

Forum statistics

Threads
1,223,516
Messages
6,172,776
Members
452,478
Latest member
DigDug2024

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