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

hidden formula

ResolvedVersion 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

Excel tip:

Changing Excel file and worksheet defaults

The appearance of any new Excel files or any new worksheets that are inserted into a file are controlled by two template files, Book.xlt and Sheet.xlt.

By opening, modifying and saving these templates you can change the default settings for all new files and/or all newly inserted sheets.

Use Book.xlt to make change to defaults for new workbooks; and Sheet.xlt to change defaults for sheets.

If you can't find either of these files on your computer, you can create and save them yourself.

You can do this simply by creating a new workbook with the setting you want to use as your defaults; then saving them with the appropriate name in the XLStart folder. If you are using Office 2003, this is usually found in C:\Program Files\Microsoft Office\Office11\XLStart.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.