Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duff Divot
 
Posts: n/a
Default How do I sum values returned from functions?

I am setting up a simple golf scorecard and assigning "points" to pars,
birdies, etc. in an effort to pair players in a partnership competition based
on recent performance. One of the functions to assign points is
=IF(B3=4,"2",IF(B3=3,"3",IF(B3=2,"4",IF(B3=5,"1",I F(B35,"0"))))). I want to
total the points assigned for each hole but I am unable to do so with the SUM
function, it just returns "0". I read in the "Help" somewhere that it ignores
values returned from functions. Is there a way to override this and get the
function to read the values? I have never built a Macro but would that be a
solution? I want to retain the worksheet as a template so I would like to be
able to have it perform the functions without rebuilding the worksheet.
Thanks for any suggestions.
Duff Divot
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Wright
 
Posts: n/a
Default How do I sum values returned from functions?

or

=MAX(6-B3,0)

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------


"CLR" wrote in message
...
Take the quotation marks out of your formula and it will SUM. They turned
the results into TEXT, which will not SUM.
Use this....

=IF(B3=4,2,IF(B3=3,3,IF(B3=2,4,IF(B3=5,1,IF(B35,0 )))))

Vaya con Dios,
Chuck, CABGx3




"Duff Divot" <Duff wrote in message
...
I am setting up a simple golf scorecard and assigning "points" to pars,
birdies, etc. in an effort to pair players in a partnership competition

based
on recent performance. One of the functions to assign points is
=IF(B3=4,"2",IF(B3=3,"3",IF(B3=2,"4",IF(B3=5,"1",I F(B35,"0"))))). I
want

to
total the points assigned for each hole but I am unable to do so with the

SUM
function, it just returns "0". I read in the "Help" somewhere that it

ignores
values returned from functions. Is there a way to override this and get

the
function to read the values? I have never built a Macro but would that be

a
solution? I want to retain the worksheet as a template so I would like to

be
able to have it perform the functions without rebuilding the worksheet.
Thanks for any suggestions.
Duff Divot





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Wright
 
Posts: n/a
Default How do I sum values returned from functions?

Assuming B3 can't be less than 0 of course, though that can also be catered
for.

Regards
Ken...................


"Ken Wright" wrote in message
...
or

=MAX(6-B3,0)

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------


"CLR" wrote in message
...
Take the quotation marks out of your formula and it will SUM. They
turned
the results into TEXT, which will not SUM.
Use this....

=IF(B3=4,2,IF(B3=3,3,IF(B3=2,4,IF(B3=5,1,IF(B35,0 )))))

Vaya con Dios,
Chuck, CABGx3




"Duff Divot" <Duff wrote in message
...
I am setting up a simple golf scorecard and assigning "points" to pars,
birdies, etc. in an effort to pair players in a partnership competition

based
on recent performance. One of the functions to assign points is
=IF(B3=4,"2",IF(B3=3,"3",IF(B3=2,"4",IF(B3=5,"1",I F(B35,"0"))))). I
want

to
total the points assigned for each hole but I am unable to do so with
the

SUM
function, it just returns "0". I read in the "Help" somewhere that it

ignores
values returned from functions. Is there a way to override this and get

the
function to read the values? I have never built a Macro but would that
be

a
solution? I want to retain the worksheet as a template so I would like
to

be
able to have it perform the functions without rebuilding the worksheet.
Thanks for any suggestions.
Duff Divot









Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I break values apart that are in the same cell? Phil Excel Worksheet Functions 3 October 4th 05 03:41 PM
Using returned values as part of another formula Duby Excel Worksheet Functions 3 October 1st 05 03:47 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
hide the returned value "false" I have submerged zero values Ms Trish Excel Worksheet Functions 2 August 31st 05 11:41 PM
Multiple "IF" functions one one cell returned from different cells KMAPRO New Users to Excel 4 June 9th 05 11:38 PM


All times are GMT +1. The time now is 01:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"