SUMIF with two conditions ?

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

Guest

I have 3 colums

colum A G7705
colum B 300
colum C Units

I need sum the units in colum C if colum A & B = "G77053000"

Can somone Help
 
=SUMPRODUCT(--(A1:A10="G7705"),--(B1:B10=300),C1:C10)

Regards,

Peo Sjoblom
 
Ok I did that & it worked, now when I try to get the data from another
worksheet it gives me wrong data, do you know why?

=SUMPRODUCT(--(Actual!$F$2:$F$10="G7705"),--(Actual!$G$2:$G$10="300"),Actual!$L$2:$L$10)
 
hard to tell since you don't say what the "wrong data" is...

However, I'd start with making sure that my numbers in Actual!$L$2:$L$10
were really numbers, rather than numbers entered as Text (copy a blank
cell, select your range, then choose Edit/Paste Special, selecting the
Add and Values radio buttons).
 
both coulums are text and I corss check the numbers, to correct sum is 16000
and i don't know were is piking up 7685
 
Hi
try for each cell in column L the following formula
=ISNUMBER(L2)

this has to return TRUE for all cells
 
False on both colums

Frank Kabel said:
Hi
try for each cell in column L the following formula
=ISNUMBER(L2)

this has to return TRUE for all cells
 
Hi
then your column L does not really contain numeric values (though they may
look like such). You have to convert them back to numbers first:
- change the format of these cells to 'General' or a 'Number' format
- copy an empty cell
- select these values
- goto 'Edit - Paste Special' and choose 'Add'

Now the formula should work
 
Did you get a satisfactory answer to your question? If not, I have another
solution that does not use sum product
 

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

Excel Jululian 2
Count dublicates 2
Character Index 1
Help for the formula 9
conditional formatting for 2 colums 5
Sumif a date time colum and information 6
Date calculations 5
Excel 2000 Formula or Macro 7

Back
Top