ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Need "Div/0" Average Relief ... (https://www.excelbanter.com/excel-discussion-misc-queries/262743-need-div-0-average-relief.html)

Ken

Need "Div/0" Average Relief ...
 
Excel2003 ... I do not usually work between WorkBooks ... I simply do not
like to ... :(

WB1 (Cell D3) ... AVERAGE Formula pulling from <= 10 different WB's (Cell
D3) ... (Works great as long as there is a "value" found)

Issue ... When other 10 WBs (Cell D3) is null ("") (hope I am using the
correct term?) ... My AVERAGE Formula WB1 (Cell D3) is returning the "Div\0"
error.

My fix ... =if(iserror(Average etc etc),"",(Average etc etc)) ... issue here
became length of my Formula because of Drives, Folder Trees & FileNames etc
.... Fix ok until Formula to looooooooooong.

Help from any intimate with Excel would be welcome ... Thanks ... Kha


--
Kha

Luke M[_4_]

Need "Div/0" Average Relief ...
 
I would suggest breaking those links out into 10 seperate cells. Much easier
to diagnose problems. You could put them somewhere off to the side (say
Z1:Z10), maybe hide them so they don't distract user. Then your averaging
formula becomes:
=IF(SUM(Z1:Z10),AVERAGE(Z1:Z10),"")

--
Best Regards,

Luke M
"Ken" wrote in message
...
Excel2003 ... I do not usually work between WorkBooks ... I simply do not
like to ... :(

WB1 (Cell D3) ... AVERAGE Formula pulling from <= 10 different WB's (Cell
D3) ... (Works great as long as there is a "value" found)

Issue ... When other 10 WBs (Cell D3) is null ("") (hope I am using the
correct term?) ... My AVERAGE Formula WB1 (Cell D3) is returning the
"Div\0"
error.

My fix ... =if(iserror(Average etc etc),"",(Average etc etc)) ... issue
here
became length of my Formula because of Drives, Folder Trees & FileNames
etc
... Fix ok until Formula to looooooooooong.

Help from any intimate with Excel would be welcome ... Thanks ... Kha


--
Kha




Ken

Need "Div/0" Average Relief ...
 
Ok ... I weaseled ... "Div/0" error still happens, but now not visible & does
not print.

1: I removed error checking piece from my Formula
2: I set Conditional Format of my Range =iserror(Cell)
3: I set Font color to same color as cell Pattern
4: I set "Print Errors" as "Displayed" to "<Blank"

Now if one of you could kindly tell me how to do this the correct way ...
That would be "awesome" ... I have learned many lessons from this board ...
Thanks ... Kha

--
Kha


"Ken" wrote:

Excel2003 ... I do not usually work between WorkBooks ... I simply do not
like to ... :(

WB1 (Cell D3) ... AVERAGE Formula pulling from <= 10 different WB's (Cell
D3) ... (Works great as long as there is a "value" found)

Issue ... When other 10 WBs (Cell D3) is null ("") (hope I am using the
correct term?) ... My AVERAGE Formula WB1 (Cell D3) is returning the "Div\0"
error.

My fix ... =if(iserror(Average etc etc),"",(Average etc etc)) ... issue here
became length of my Formula because of Drives, Folder Trees & FileNames etc
... Fix ok until Formula to looooooooooong.

Help from any intimate with Excel would be welcome ... Thanks ... Kha


--
Kha


dlw

Need "Div/0" Average Relief ...
 
the only way to do it is to make the check in the formula
you could dedicate cells in the main workbook that would just contain the
links to D3 in the other WB's. Use those cells instead of the long reference
in the formula.

"Ken" wrote:

Excel2003 ... I do not usually work between WorkBooks ... I simply do not
like to ... :(

WB1 (Cell D3) ... AVERAGE Formula pulling from <= 10 different WB's (Cell
D3) ... (Works great as long as there is a "value" found)

Issue ... When other 10 WBs (Cell D3) is null ("") (hope I am using the
correct term?) ... My AVERAGE Formula WB1 (Cell D3) is returning the "Div\0"
error.

My fix ... =if(iserror(Average etc etc),"",(Average etc etc)) ... issue here
became length of my Formula because of Drives, Folder Trees & FileNames etc
... Fix ok until Formula to looooooooooong.

Help from any intimate with Excel would be welcome ... Thanks ... Kha


--
Kha


Ken

Need "Div/0" Average Relief ...
 
Great suggestion ... Only I neglected to state that I have to do this for
every cell in the Range (D3:O14) ... I guess this just means more Helper
Cells ... Thanks ... Kha
--
Kha


"Luke M" wrote:

I would suggest breaking those links out into 10 seperate cells. Much easier
to diagnose problems. You could put them somewhere off to the side (say
Z1:Z10), maybe hide them so they don't distract user. Then your averaging
formula becomes:
=IF(SUM(Z1:Z10),AVERAGE(Z1:Z10),"")

--
Best Regards,

Luke M
"Ken" wrote in message
...
Excel2003 ... I do not usually work between WorkBooks ... I simply do not
like to ... :(

WB1 (Cell D3) ... AVERAGE Formula pulling from <= 10 different WB's (Cell
D3) ... (Works great as long as there is a "value" found)

Issue ... When other 10 WBs (Cell D3) is null ("") (hope I am using the
correct term?) ... My AVERAGE Formula WB1 (Cell D3) is returning the
"Div\0"
error.

My fix ... =if(iserror(Average etc etc),"",(Average etc etc)) ... issue
here
became length of my Formula because of Drives, Folder Trees & FileNames
etc
... Fix ok until Formula to looooooooooong.

Help from any intimate with Excel would be welcome ... Thanks ... Kha


--
Kha



.



All times are GMT +1. The time now is 11:48 PM.

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