complex SUMIF

S

shaqil

Dear All,

I have data in following form and I want to sum of invoices which have
been written with "," (comma), e.g. 151,153 sum of Rs. 35.

Can any one help me to write this formula.


chq # Inv.# Amount
152 10
151 15
153 20
A 151,153 ?


Thnx in advance.
 
M

Max

Assuming E1 houses: 151,153

you could try in F1:
=SUMPRODUCT(--ISNUMBER(SEARCH(B2:B4,E1)),C2:C4)

where B2:B4 contains the invoice #s, C2:C4 the amounts to be summed
 
S

shaqil

Assuming E1 houses: 151,153

you could try in F1:
=SUMPRODUCT(--ISNUMBER(SEARCH(B2:B4,E1)),C2:C4)

where B2:B4 contains the invoice #s, C2:C4 the amounts to be summed

Thnx a lot, u solved my problem.
 

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

Adding values for all rows in a range 7
Complex SUMIF 2
COMPLICATED VLOOKUP 8
sumif with multiple conditions 1
sumif and complex sum_range formulae 2
sumif error 4
SUM rows 7
SUMIF Function 3

Top