Avatar of Hans de Jongh
Hans de Jongh
Flag for Netherlands asked on

a sum based on other fields.


I have a large sharepoint list. Within an excel file data connection to this list.
In this excel i have created a table were all data is in.

Based on the value's of some of the field i want to make some calculations.
For example, from the table below i would like to know the total revenue of month 1 for all customers expect c.
Is there anyway do this?

month      revenue      customer
1       € 10,00       a
1       € 20,00       a
1       € 25,00       b
1       € 40,00       c
2       € 50,00       a
2       € 1,00       a
2       € 4,00       b
2       € 182,00       c
Microsoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
Hans de Jongh

8/22/2022 - Mon
Subodh Tiwari (Neeraj)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Hans de Jongh

thanks for the fast reply.
Im getting this:

what am i doing wrong?
Hans de Jongh

AH =SUMIFS(B:B;A:A;1;C:C;"<>c")

thanks aloT!
Subodh Tiwari (Neeraj)

What do use as a separator in the formulas, a comma or a semicolon?
If you use a semicolon, replace all the commas with a semicolon.
Btw I have logged off and on mobile now.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Subodh Tiwari (Neeraj)

Glad you tweaked it. 👍
Ajay Chanana

Select all and use (PIVOT table) under insert tab.

Put  Month and Customer under Filters

Put Sum of Months Under values.
Ajay Chanana

Check the desired result below. This is one more option to play around.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Hans de Jongh

thanks, i tried it with a pivotable but i need for multiple months and years. I couldnt get that working.
The sumifs worked...