Sumif

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi. This is Pritesh from Mumbai, India. I have expense codes and respective
figures in my MIS reports. If I need to sum all expenses, which contain
specfic characters or numbers in it's Exp Code, how can I do that? Maybe I
can use =Sumif or =Sum(If functions, but how? Please help.

In this example, how can I add all exps containing "East"?
Exp Codes Amt
EastZone 10
WestZone 10
NorthZone 10
SouthZone 10
EastZone 20
SouthZone 20
EastZone 30
 
column A B
Exp Codes Amt
=SUMPRODUCT(--(NOT(ISERROR(SEARCH("east",A2:A8)))),B2:B8)


Regards,
Stefi

„Pritesh†ezt írta:
 
I would use a sumproduct solution

=sumproduct((a1:a10=eastx)*(b1:b10))+sumproduct((a1:a10=easty)*(b1:b10))

you will need to expand the formula for every way you have eas
followed by something els
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Sumif 6
Duplicate Dates 1
Sumifs 2
multiple if conditions - use sumif/sumProduct? 3
Remove Hidden Duplicates from sum 1
Sumif with not criterion 2
Sorting Multiple Tables 2
Summing Data 3

Back
Top