Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
Would anyone be able to advise me how to go about summing the values/outputs
that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
An IF formula will give one result. If you wish to sum the results of a
number of IF formulae, you can use SUM and give the SUM function arguments which are the cell references where your IF formulae are sitting. -- David Biddulph shadesoflife wrote: Would anyone be able to advise me how to go about summing the values/outputs that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
Post a copy of your IF formula. It seems like you should be able to
SUM the results without any problem; unless you are assigning your scores as "1", "2", etc. Ken On May 13, 4:24*pm, shadesoflife wrote: Would anyone be able to advise me how to go about summing the values/outputs that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
I used a IF formula to assign scores of 1-4
Using SUM does not work In your IF formula remove the quotes from around any numbers. For example: WRONG: =IF(A1="A","1","0") RIGHT: =IF(A1="A",1,0) -- Biff Microsoft Excel MVP "shadesoflife" wrote in message ... Would anyone be able to advise me how to go about summing the values/outputs that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
=IF(D58="","0",IF(D58="LOW","1",IF(D59="MODERATE", "2",IF(D58="SIGNIFICANT","3","4"))))
" wrote: Post a copy of your IF formula. It seems like you should be able to SUM the results without any problem; unless you are assigning your scores as "1", "2", etc. Ken On May 13, 4:24 pm, shadesoflife wrote: Would anyone be able to advise me how to go about summing the values/outputs that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
this doesnt work.....returns an error
"T. Valko" wrote: I used a IF formula to assign scores of 1-4 Using SUM does not work In your IF formula remove the quotes from around any numbers. For example: WRONG: =IF(A1="A","1","0") RIGHT: =IF(A1="A",1,0) -- Biff Microsoft Excel MVP "shadesoflife" wrote in message ... Would anyone be able to advise me how to go about summing the values/outputs that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
=IF(D58="","0",IF(D58="LOW","1",IF(D59="MODERATE" ,"2",IF(D58="SIGNIFICANT","3","4"))))
Remove the quotes from around the numbers: =IF(D58="",0,IF(D58="LOW",1,IF(D59="MODERATE",2,IF (D58="SIGNIFICANT",3,4)))) When you quote numbers they get evaluated as TEXT. The SUM function ignores text. -- Biff Microsoft Excel MVP "shadesoflife" wrote in message ... this doesnt work.....returns an error "T. Valko" wrote: I used a IF formula to assign scores of 1-4 Using SUM does not work In your IF formula remove the quotes from around any numbers. For example: WRONG: =IF(A1="A","1","0") RIGHT: =IF(A1="A",1,0) -- Biff Microsoft Excel MVP "shadesoflife" wrote in message ... Would anyone be able to advise me how to go about summing the values/outputs that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
So, as previously instructed, drop the quotes around the numbers:
=IF(D58="",0,IF(D58="LOW",1,IF(D59="MODERATE",2,IF (D58="SIGNIFICANT",3,4)))) shadesoflife wrote: =IF(D58="","0",IF(D58="LOW","1",IF(D59="MODERATE", "2",IF(D58="SIGNIFICANT","3","4")))) " wrote: Post a copy of your IF formula. It seems like you should be able to SUM the results without any problem; unless you are assigning your scores as "1", "2", etc. Ken On May 13, 4:24 pm, shadesoflife wrote: Would anyone be able to advise me how to go about summing the values/outputs that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
#9
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
Thank you
"Glenn" wrote: So, as previously instructed, drop the quotes around the numbers: =IF(D58="",0,IF(D58="LOW",1,IF(D59="MODERATE",2,IF (D58="SIGNIFICANT",3,4)))) shadesoflife wrote: =IF(D58="","0",IF(D58="LOW","1",IF(D59="MODERATE", "2",IF(D58="SIGNIFICANT","3","4")))) " wrote: Post a copy of your IF formula. It seems like you should be able to SUM the results without any problem; unless you are assigning your scores as "1", "2", etc. Ken On May 13, 4:24 pm, shadesoflife wrote: Would anyone be able to advise me how to go about summing the values/outputs that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
#10
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
Thanks!
"T. Valko" wrote: =IF(D58="","0",IF(D58="LOW","1",IF(D59="MODERATE" ,"2",IF(D58="SIGNIFICANT","3","4")))) Remove the quotes from around the numbers: =IF(D58="",0,IF(D58="LOW",1,IF(D59="MODERATE",2,IF (D58="SIGNIFICANT",3,4)))) When you quote numbers they get evaluated as TEXT. The SUM function ignores text. -- Biff Microsoft Excel MVP "shadesoflife" wrote in message ... this doesnt work.....returns an error "T. Valko" wrote: I used a IF formula to assign scores of 1-4 Using SUM does not work In your IF formula remove the quotes from around any numbers. For example: WRONG: =IF(A1="A","1","0") RIGHT: =IF(A1="A",1,0) -- Biff Microsoft Excel MVP "shadesoflife" wrote in message ... Would anyone be able to advise me how to go about summing the values/outputs that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
#11
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Summing Values/Outputs of IF formulae
You're welcome!
-- Biff Microsoft Excel MVP "shadesoflife" wrote in message ... Thanks! "T. Valko" wrote: =IF(D58="","0",IF(D58="LOW","1",IF(D59="MODERATE" ,"2",IF(D58="SIGNIFICANT","3","4")))) Remove the quotes from around the numbers: =IF(D58="",0,IF(D58="LOW",1,IF(D59="MODERATE",2,IF (D58="SIGNIFICANT",3,4)))) When you quote numbers they get evaluated as TEXT. The SUM function ignores text. -- Biff Microsoft Excel MVP "shadesoflife" wrote in message ... this doesnt work.....returns an error "T. Valko" wrote: I used a IF formula to assign scores of 1-4 Using SUM does not work In your IF formula remove the quotes from around any numbers. For example: WRONG: =IF(A1="A","1","0") RIGHT: =IF(A1="A",1,0) -- Biff Microsoft Excel MVP "shadesoflife" wrote in message ... Would anyone be able to advise me how to go about summing the values/outputs that result from the use of a IF formula? Background - I used a IF formula to assign scores of 1-4 for the categories low, moderate, significant and high. I now need to sum these scores. Using SUM does not work nor does SUMIF... help pls |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Finding Most Recent Values in Col1 -- Summing Matching Values | Excel Discussion (Misc queries) | |||
How do I convert formulae to values automatically | Excel Discussion (Misc queries) | |||
Conditional Formats for formulae and values | Excel Worksheet Functions | |||
Using formula results as values in other formulae | Excel Worksheet Functions | |||
Sumif outputs values | Excel Discussion (Misc queries) |