SUMIF formula help
HI there,
I tried both ideas with no luck but learned a few things I may be able to
use in other instances so thank you for that :)
I replied to Bonb Phillips this thoughts - unfortunately have had no
luck yet.
any other possibilities?
jane
"Elkar" wrote:
I still suspect that column X is text, and not numbers. If data is already
entered as text, then simply changing the cell format to number won't convert
that data. Try one of these options:
If you still have VLOOKUP formulas in X5:X500, try enclosing them in a
VALUE() funcion: =VALUE(your vlookup here)
If you've gotten rid of the VLOOKUP formulas and just have data, then:
Enter a 1 into any blank cell
Copy that cell
Select your range X5:X500
Paste Special
Check the "Multiply" option
Click OK
Delete the 1 you entered originally
Now, all data in column X that can be recognized as a number will be
converted to a number.
Does that fix it?
HTH,
Elkar
"Jane" wrote:
I receive a "0" result
sample data:
col A col X A9 - 4
HISPANIC $45,093
HISPANIC $23,237
BLENDED $23409
AFR AMRCN $68450
BLENDED $19840
OTHER $75483
OTHER $09345
The sales data is actually a result of vlookup so I did a copy\ paste
special value and change the format from currency to number
what else should I cansider?
"Elkar" wrote:
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
|