How to sum customers sales excluding others by name? 🙌🙏

Lacan

Board Regular
Joined
Oct 5, 2016
Messages
228
Office Version
  1. 365
Platform
  1. Windows
Hello Guys,

Can you help with your excel expertise - the goal is to sum customers sales excluding others by name?
According with table below want to sum all customers with criteria: date (=>(01/01/2023)) and exclude customers B and C.
In cell I3 you have the pre-formula that I have tried and didn´t result but you can understand the structure and logic to easier finish it
In cell K9 you have the correct result according criteria.
Hope you can help.
Thank you very much. 🙏👍👍🍻🍻

Livro1.xlsm
ABCDEFGHIJKLMNOP
1
2CRITERIATOTALTOTAL WITH THE CORRECT FORMULA SHOULD BE
3CUSTOMERDATESALESEXCLUDE CUSTOMER01/01/2023#VALOR!9
4A01/01/20225B
5A02/01/20232C
6B03/01/20232
7C04/01/20232
8D05/01/20235
9E06/01/20232
10
11
Folha4
Cell Formulas
RangeFormula
I3I3=SUMPRODUCT((B4:B9)*((C4:C9)>=G3)*(D4:D9))
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Sumifs.xlsm
ABCDEFGHI
1
2CRITERIATOTAL
3CUSTOMERDATESALESEXCLUDE CUSTOMER1-Jan-239
4A1-Jan-225B
5A2-Jan-232C
6B3-Jan-232
7C4-Jan-232
8D5-Jan-235
9E6-Jan-232
4d
Cell Formulas
RangeFormula
I3I3=SUMPRODUCT(--(1-ISNUMBER(MATCH(B4:B9,F4:F5,0))),--(C4:C9>=G3),(D4:D9))
 
Upvote 0
Solution
Sumifs.xlsm
ABCDEFGHI
1
2CRITERIATOTAL
3CUSTOMERDATESALESEXCLUDE CUSTOMER1-Jan-239
4A1-Jan-225B
5A2-Jan-232C
6B3-Jan-232
7C4-Jan-232
8D5-Jan-235
9E6-Jan-232
4d
Cell Formulas
RangeFormula
I3I3=SUMPRODUCT(--(1-ISNUMBER(MATCH(B4:B9,F4:F5,0))),--(C4:C9>=G3),(D4:D9))
Dear @Dave Patton,

Brilliant workes as a glove.🔝🔝🙌
Thank you very much.🙏👍👍
Hope you can help again next time.
All the best! 💪💪🍻🍻
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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