Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default not sure if I'm using the correct formula for the result I want

I'm trying to calculate a 'low net' score. A persons 'actual score' minus
'their handicap' = 'low net' score.

I have this worksheet setup like this;

A4:A23 = list of names
Columns B-U have the weekly calculated low net scores
B4:U23 = the calculated 'low net' scores using this formula
=SUM(Scorecard!B4-Scorecard!Y4); (this is for player one)
Scorecard!B4 is player one's first week 'actual score', Scorecard!Y4 is
player one's calculated 'handicap'.

In Row B25:U25 I have this formula {=MIN(IF(B$4:B$230,B$4:B$23))}, to pull
the lowest score of all persons for that week.

My problem is this;
I'm getting the #DIV/0 error and I don't know how to get around that because
we do have occational zero's "0" for scores when people don't show up. The
error is coming from my "handicap" formula
=((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8

I have two bits of data to work around;
How can I write a formula to work above zero AND ignore the #DIV/0 cells?
I'm referring to B25:U25 formula.

Thanks,
Brad






  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,104
Default not sure if I'm using the correct formula for the result I want

First let's tidy up =SUM(Scorecard!B4-Scorecard!Y4)
There is no need to use SUM when doing simple math operations, so use
=Scorecard!B4-Scorecard!Y4

Your problem with =((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8 arises when the
two values B4 and C4 are both zero?
How about =IF(COUNTIF(B4:C4,"0")0,
((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8, "")
Alternative =IF(OR(B40,C40), ((SUM(B4:C4)/COUNTIF(B4:C4,"0")-36))*0.8,
"")

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Brad" wrote in message
...
I'm trying to calculate a 'low net' score. A persons 'actual score' minus
'their handicap' = 'low net' score.

I have this worksheet setup like this;

A4:A23 = list of names
Columns B-U have the weekly calculated low net scores
B4:U23 = the calculated 'low net' scores using this formula
=SUM(Scorecard!B4-Scorecard!Y4); (this is for player one)
Scorecard!B4 is player one's first week 'actual score', Scorecard!Y4 is
player one's calculated 'handicap'.

In Row B25:U25 I have this formula {=MIN(IF(B$4:B$230,B$4:B$23))}, to
pull
the lowest score of all persons for that week.

My problem is this;
I'm getting the #DIV/0 error and I don't know how to get around that
because
we do have occational zero's "0" for scores when people don't show up. The
error is coming from my "handicap" formula
=((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8

I have two bits of data to work around;
How can I write a formula to work above zero AND ignore the #DIV/0 cells?
I'm referring to B25:U25 formula.

Thanks,
Brad







  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10
Default not sure if I'm using the correct formula for the result I want

Bernard,

I see what you're say about eliminating the #DIV/0 from one of my
worksheets, the weekly formula I have calculated/setup is for the whole
season (thru to 9/19/09, twenty weeks 'B' thru 'U').

And yes I've noticed the "two weeks in a row" problem with that error also,
that was my first occurance of that error, Thanks for explaining why.

Now my question I have is this, based on that error message being there;
How can I write a formula that would ignore that error but still read the
rest of the column/cell data?

Based on this formula I'm currently trying to use:
"In Row B25:U25 I have this formula {=MIN(IF(B$4:B$230,B$4:B$23))}, to
pull the lowest score of all persons for that week."


* The problem I currently have is IF there is a #DIV/0 error, my result for
that formula is the #DIV/0 error. Is there a formula that ignores that error
and would give me an accurate result?



** The formula {=MIN(IF(B$4:B$230,B$4:B$23))}, continues B25 thru U25, so I
have 20 weeks to have someone 'not' show up two weeks in a row.



*** I substituted your formula =IF(COUNTIF(B4:C4,"0")0,
((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8, ""), for my formula on my
"Scorecard" worksheet and it got rid of the #DIV/0 errors for the 'unplayed
future' weeks, (over two 0's in a row), but now my "Low Net" worksheet error
changed from #DIV/0 to #Value!. (Low Net sheet references my Scorecard
sheet)





I hope that makes a little more sense,

Brad






"Bernard Liengme" wrote in message
...
First let's tidy up =SUM(Scorecard!B4-Scorecard!Y4)
There is no need to use SUM when doing simple math operations, so use
=Scorecard!B4-Scorecard!Y4

Your problem with =((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8 arises when
the two values B4 and C4 are both zero?
How about =IF(COUNTIF(B4:C4,"0")0,
((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8, "")
Alternative =IF(OR(B40,C40), ((SUM(B4:C4)/COUNTIF(B4:C4,"0")-36))*0.8,
"")

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Brad" wrote in message
...
I'm trying to calculate a 'low net' score. A persons 'actual score' minus
'their handicap' = 'low net' score.

I have this worksheet setup like this;

A4:A23 = list of names
Columns B-U have the weekly calculated low net scores
B4:U23 = the calculated 'low net' scores using this formula
=SUM(Scorecard!B4-Scorecard!Y4); (this is for player one)
Scorecard!B4 is player one's first week 'actual score', Scorecard!Y4 is
player one's calculated 'handicap'.

In Row B25:U25 I have this formula {=MIN(IF(B$4:B$230,B$4:B$23))}, to
pull
the lowest score of all persons for that week.

My problem is this;
I'm getting the #DIV/0 error and I don't know how to get around that
because
we do have occational zero's "0" for scores when people don't show up.
The
error is coming from my "handicap" formula
=((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8

I have two bits of data to work around;
How can I write a formula to work above zero AND ignore the #DIV/0 cells?
I'm referring to B25:U25 formula.

Thanks,
Brad









  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,104
Default not sure if I'm using the correct formula for the result I want

If you still have not found a fix, send me (private email a sample file with
the problem
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Brad" wrote in message
...
Bernard,

I see what you're say about eliminating the #DIV/0 from one of my
worksheets, the weekly formula I have calculated/setup is for the whole
season (thru to 9/19/09, twenty weeks 'B' thru 'U').

And yes I've noticed the "two weeks in a row" problem with that error
also, that was my first occurance of that error, Thanks for explaining
why.

Now my question I have is this, based on that error message being there;
How can I write a formula that would ignore that error but still read the
rest of the column/cell data?

Based on this formula I'm currently trying to use:
"In Row B25:U25 I have this formula {=MIN(IF(B$4:B$230,B$4:B$23))}, to
pull the lowest score of all persons for that week."


* The problem I currently have is IF there is a #DIV/0 error, my result
for that formula is the #DIV/0 error. Is there a formula that ignores that
error and would give me an accurate result?



** The formula {=MIN(IF(B$4:B$230,B$4:B$23))}, continues B25 thru U25, so
I have 20 weeks to have someone 'not' show up two weeks in a row.



*** I substituted your formula =IF(COUNTIF(B4:C4,"0")0,
((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8, ""), for my formula on my
"Scorecard" worksheet and it got rid of the #DIV/0 errors for the
'unplayed future' weeks, (over two 0's in a row), but now my "Low Net"
worksheet error changed from #DIV/0 to #Value!. (Low Net sheet references
my Scorecard sheet)





I hope that makes a little more sense,

Brad






"Bernard Liengme" wrote in message
...
First let's tidy up =SUM(Scorecard!B4-Scorecard!Y4)
There is no need to use SUM when doing simple math operations, so use
=Scorecard!B4-Scorecard!Y4

Your problem with =((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8 arises when
the two values B4 and C4 are both zero?
How about =IF(COUNTIF(B4:C4,"0")0,
((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8, "")
Alternative =IF(OR(B40,C40), ((SUM(B4:C4)/COUNTIF(B4:C4,"0")-36))*0.8,
"")

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Brad" wrote in message
...
I'm trying to calculate a 'low net' score. A persons 'actual score'
minus
'their handicap' = 'low net' score.

I have this worksheet setup like this;

A4:A23 = list of names
Columns B-U have the weekly calculated low net scores
B4:U23 = the calculated 'low net' scores using this formula
=SUM(Scorecard!B4-Scorecard!Y4); (this is for player one)
Scorecard!B4 is player one's first week 'actual score', Scorecard!Y4 is
player one's calculated 'handicap'.

In Row B25:U25 I have this formula {=MIN(IF(B$4:B$230,B$4:B$23))}, to
pull
the lowest score of all persons for that week.

My problem is this;
I'm getting the #DIV/0 error and I don't know how to get around that
because
we do have occational zero's "0" for scores when people don't show up.
The
error is coming from my "handicap" formula
=((SUM(B4:C4)/COUNTIF(B4:C4,"0"))-36)*0.8

I have two bits of data to work around;
How can I write a formula to work above zero AND ignore the #DIV/0
cells?
I'm referring to B25:U25 formula.

Thanks,
Brad










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
not sure if I'm using the correct formula for the result I want? Brad[_5_] New Users to Excel 1 June 23rd 09 01:17 PM
Formula is correct, but result will not show bryanchughes Excel Worksheet Functions 5 September 22nd 08 12:02 AM
#value! on spreadsheet when formula palette gets correct result wingham Excel Discussion (Misc queries) 2 July 14th 06 06:15 PM
copied formula has correct cell reference, but result of original lvito Excel Worksheet Functions 1 October 14th 05 04:37 PM
Formula Result Correct but value in the cell is wrong jac Excel Worksheet Functions 2 December 17th 04 08:05 PM


All times are GMT +1. The time now is 02:50 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"