ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Summing Values/Outputs of IF formulae (https://www.excelbanter.com/excel-worksheet-functions/230771-summing-values-outputs-if-formulae.html)

shadesoflife

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

David Biddulph[_2_]

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





[email protected]

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



T. Valko

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




shadesoflife

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




shadesoflife

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





T. Valko

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







Glenn

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



shadesoflife

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



shadesoflife

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







T. Valko

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










All times are GMT +1. The time now is 04:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com