ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula Question (https://www.excelbanter.com/excel-discussion-misc-queries/84605-formula-question.html)

Formula Question

Formula Question
 
How do you automatically calculate information in unhidden cells that contain
a formula to calculate from another spreadsheet that shows data and hidden
cells that have a formula to calculate from another spreadsheet that returns
a Div/0! because data is unavailable without the formula result being Div/0!
because the hidden cells do not contain any data?

daddylonglegs

Formula Question
 

It's probably best to suppress the errors in the first place. If you
have a formula like

=A1/B1 which gives a #DIV/0! error then you can change to

=IF(B1,A1/B1,"")

alternatively you can sum a range, say C1:C10, and ignore #DIV/0!
errors with

=SUMIF(C1:C10,"<#DIV/0!")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=535218


[email protected]

Formula Question
 
In your final worksheet use, IF(ISNUMBER(A1),A1,""), or
IF(ISERROR(A1),"",A1). ed



All times are GMT +1. The time now is 10:08 PM.

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