hidden formula

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Hidden Formula

Hidden Formula

resolvedResolved · 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

Edited on Fri 24 Oct 2008, 10:36

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

RE: Hidden Formula

Hi Laura

Apologies for the delay in getting back. That formula worked a treat thanks alot.

Alu

 

Training courses

 

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
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Hiding and unhiding columns using the keyboard

CTRL + 0 hides your columns and CTRL + SHIFT + ) unhides them although you would need to highlight the column letters either side as per normal

View all Excel hints and tips


Server loaded in 0.08 secs.