98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Hidden Formula
Hidden Formula
Resolved · Medium Priority · Version 2003
Alu has attended:
No courses
Hidden Formula
I have created a formula for a spreadsheet and copied it down the column as far as I require it so that it adds whatever is in the balance column + credit - cash. However, I don't want the figure in the balance column to show until information is entered onto that particular line. Is it possible to have a formula in but to hide it somehow?
DATE CREDIT CASH BALANCE D/C
May-09
RE: Hidden Formula
Hi Alu
Thank you for your question.
Yes it is possible to only have an answer dependant upon a value being there.
You would need to use an If statement and ISBLANK.
Assuming your Credit is in column B, Cash in column C and Balance in Column D and you are in row 3, the formula would be.
=IF(AND(ISBLANK(B3),ISBLANK(C3)),"",D2+B3-C3)
The AND(...) will return a TRUE if both B3 and C3 are blank and therefore will only display "", which is blank.
I hope that helps.
Laura GB
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Hiding and unhiding columns using the keyboardCTRL + 0 hides your columns and CTRL + SHIFT + ) unhides them although you would need to highlight the column letters either side as per normal |