View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar Elkar is offline
external usenet poster
 
Posts: 964
Default SUMIF formula help

The formula does appear to be written correctly. How is it not working? Are
you receiving and error? Do you get the wrong result?

Without knowing more about your data, the results you're getting, and the
results you're expecting, the only thing I can suggest is to make sure that
your data in X5:X500 and A9 are all in fact numbers, and not text or numbers
stored as text.

HTH,
Elkar



"Jane" wrote:

I have used this formula before with success to get an average - (col A
includes my indicators; col R includes my sales data; col F includes my # of
stores by which the sales data is divided):
=SUMIF($A$5:$A$500,"R:01",$R$5:$R$500)/$F$107

but I changed it to this for a different spreadsheet:
=SUMIF($A$5:$A$500,"BLENDED",$X$5:$X$500)/A9

Why would it work in the 1st instance but not in the 2nd?

thanks in advance! jane