Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The following cells on my spread sheet produce the #DIV/0! error under the
following circumstances, and I'd prefer the cells to remain "blank" until data is input to produce the outcomes identified (which do work once data is provided): C3: =AVERAGE(C4:C500) Division error will occur, until data begins appearing in the C4:C500 range cells. AV4: =SUM(AL4:AL18)/AO19 Division error will occur, until data appears in cell AO19 AQ4: =AL4/AO19 Division error will occur, until data appears in cell AO19 Any suggestions would be greatly appreciated! Dan |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Here's one way:
=IF(SUM(C4:C500)<0,AVERAGE(C4:C500),"") =IF(AO19<0,SUM(AL4:AL18)/AO19,"") =IF(AO19<0,AL4/AO19,"") "Dan the Man" wrote in message ... The following cells on my spread sheet produce the #DIV/0! error under the following circumstances, and I'd prefer the cells to remain "blank" until data is input to produce the outcomes identified (which do work once data is provided): C3: =AVERAGE(C4:C500) Division error will occur, until data begins appearing in the C4:C500 range cells. AV4: =SUM(AL4:AL18)/AO19 Division error will occur, until data appears in cell AO19 AQ4: =AL4/AO19 Division error will occur, until data appears in cell AO19 Any suggestions would be greatly appreciated! Dan |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Once again Dave you saved the day. I appreciate all of your help with my
spread sheet and helping me to get rid of those division errors. You are great. Have an awesome weekend! Dan "Dave Thomas" wrote: Here's one way: =IF(SUM(C4:C500)<0,AVERAGE(C4:C500),"") =IF(AO19<0,SUM(AL4:AL18)/AO19,"") =IF(AO19<0,AL4/AO19,"") "Dan the Man" wrote in message ... The following cells on my spread sheet produce the #DIV/0! error under the following circumstances, and I'd prefer the cells to remain "blank" until data is input to produce the outcomes identified (which do work once data is provided): C3: =AVERAGE(C4:C500) Division error will occur, until data begins appearing in the C4:C500 range cells. AV4: =SUM(AL4:AL18)/AO19 Division error will occur, until data appears in cell AO19 AQ4: =AL4/AO19 Division error will occur, until data appears in cell AO19 Any suggestions would be greatly appreciated! Dan |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On way with Excel 2007 is with "IFERROR"
=IFERROR(AVERAGE(A1:A10),"") -- Dana DeLouis "Dan the Man" wrote in message ... Once again Dave you saved the day. I appreciate all of your help with my spread sheet and helping me to get rid of those division errors. You are great. Have an awesome weekend! Dan "Dave Thomas" wrote: Here's one way: =IF(SUM(C4:C500)<0,AVERAGE(C4:C500),"") =IF(AO19<0,SUM(AL4:AL18)/AO19,"") =IF(AO19<0,AL4/AO19,"") "Dan the Man" wrote in message ... The following cells on my spread sheet produce the #DIV/0! error under the following circumstances, and I'd prefer the cells to remain "blank" until data is input to produce the outcomes identified (which do work once data is provided): C3: =AVERAGE(C4:C500) Division error will occur, until data begins appearing in the C4:C500 range cells. AV4: =SUM(AL4:AL18)/AO19 Division error will occur, until data appears in cell AO19 AQ4: =AL4/AO19 Division error will occur, until data appears in cell AO19 Any suggestions would be greatly appreciated! Dan |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
What if the sum is zero in C4:C500 due to negative and positive values?
Since the OP said "until data begins appearing in the C4:C500" it would be better to test C4:C500 for blank cells. -- Regards, Peo Sjoblom "Dave Thomas" wrote in message . net... Here's one way: =IF(SUM(C4:C500)<0,AVERAGE(C4:C500),"") =IF(AO19<0,SUM(AL4:AL18)/AO19,"") =IF(AO19<0,AL4/AO19,"") "Dan the Man" wrote in message ... The following cells on my spread sheet produce the #DIV/0! error under the following circumstances, and I'd prefer the cells to remain "blank" until data is input to produce the outcomes identified (which do work once data is provided): C3: =AVERAGE(C4:C500) Division error will occur, until data begins appearing in the C4:C500 range cells. AV4: =SUM(AL4:AL18)/AO19 Division error will occur, until data appears in cell AO19 AQ4: =AL4/AO19 Division error will occur, until data appears in cell AO19 Any suggestions would be greatly appreciated! Dan |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The data is positive
"Peo Sjoblom" wrote in message ... What if the sum is zero in C4:C500 due to negative and positive values? Since the OP said "until data begins appearing in the C4:C500" it would be better to test C4:C500 for blank cells. -- Regards, Peo Sjoblom "Dave Thomas" wrote in message . net... Here's one way: =IF(SUM(C4:C500)<0,AVERAGE(C4:C500),"") =IF(AO19<0,SUM(AL4:AL18)/AO19,"") =IF(AO19<0,AL4/AO19,"") "Dan the Man" wrote in message ... The following cells on my spread sheet produce the #DIV/0! error under the following circumstances, and I'd prefer the cells to remain "blank" until data is input to produce the outcomes identified (which do work once data is provided): C3: =AVERAGE(C4:C500) Division error will occur, until data begins appearing in the C4:C500 range cells. AV4: =SUM(AL4:AL18)/AO19 Division error will occur, until data appears in cell AO19 AQ4: =AL4/AO19 Division error will occur, until data appears in cell AO19 Any suggestions would be greatly appreciated! Dan |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have his spreadsheet
"Sandy Mann" wrote in message ... Are you positive? Nowhere in Dan the Man posts do I see him saying that the data will *always* be positive. -- Sandy In Perth, the ancient capital of Scotland and the crowning place of kings Replace @mailinator.com with @tiscali.co.uk "Dave Thomas" wrote in message et... The data is positive "Peo Sjoblom" wrote in message ... What if the sum is zero in C4:C500 due to negative and positive values? Since the OP said "until data begins appearing in the C4:C500" it would be better to test C4:C500 for blank cells. -- Regards, Peo Sjoblom "Dave Thomas" wrote in message . net... Here's one way: =IF(SUM(C4:C500)<0,AVERAGE(C4:C500),"") =IF(AO19<0,SUM(AL4:AL18)/AO19,"") =IF(AO19<0,AL4/AO19,"") "Dan the Man" wrote in message ... The following cells on my spread sheet produce the #DIV/0! error under the following circumstances, and I'd prefer the cells to remain "blank" until data is input to produce the outcomes identified (which do work once data is provided): C3: =AVERAGE(C4:C500) Division error will occur, until data begins appearing in the C4:C500 range cells. AV4: =SUM(AL4:AL18)/AO19 Division error will occur, until data appears in cell AO19 AQ4: =AL4/AO19 Division error will occur, until data appears in cell AO19 Any suggestions would be greatly appreciated! Dan |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The data is positive
"Peo Sjoblom" wrote in message ... What if the sum is zero in C4:C500 due to negative and positive values? Since the OP said "until data begins appearing in the C4:C500" it would be better to test C4:C500 for blank cells. -- Regards, Peo Sjoblom "Dave Thomas" wrote in message . net... Here's one way: =IF(SUM(C4:C500)<0,AVERAGE(C4:C500),"") =IF(AO19<0,SUM(AL4:AL18)/AO19,"") =IF(AO19<0,AL4/AO19,"") "Dan the Man" wrote in message ... The following cells on my spread sheet produce the #DIV/0! error under the following circumstances, and I'd prefer the cells to remain "blank" until data is input to produce the outcomes identified (which do work once data is provided): C3: =AVERAGE(C4:C500) Division error will occur, until data begins appearing in the C4:C500 range cells. AV4: =SUM(AL4:AL18)/AO19 Division error will occur, until data appears in cell AO19 AQ4: =AL4/AO19 Division error will occur, until data appears in cell AO19 Any suggestions would be greatly appreciated! Dan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Get final non-blank cell in range | Excel Worksheet Functions | |||
How do I figure out a pre-tax amount when I know the final total? | Excel Worksheet Functions | |||
How do I calculate cost of raw materials to final product? | Excel Discussion (Misc queries) | |||
How do I calculate the final pmt required to meet a target IRR? | Excel Worksheet Functions | |||
sum multiple criteria where final range is text? | Excel Discussion (Misc queries) |