Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Formula Display in Cell

Status
Not open for further replies.

Enkrypted

Technical User
Sep 18, 2002
663
US
I'm trying to get cells that have formulas in them to display empty or blank. For example, here is an image of part of the spreadsheet:

excel.jpg


The "Amount" cells contain the formulas of "Rate x Units" (i.e. - =L19*J19)

I would like to have the Amount cells show up empty (without the dollar sign and dash in there) until information is entered into the rate and unit cells. How would I go about doing that?

Enkrypted
A+
 



Hi,

Use the data > List > Create list. As you add data to the sheet in this table, your formula will automatically propogate to the new row.

As a matter of practice, it is not a best and accepted practice to pre-populate cells with formulas. Leads to all sorts of unseen problems, espacially, if you want to make use of the plethora of Excel features like Dynamic Named Ranges and lookup functions.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Isn't this just a cell formatting issue?

Such as.. Format, Cells, Custom and enter "$#,##0.00 ;$#,##0.00-;" or whatever format is desired. Having the second ; after the negative format causes zero to be blank.

Sorry if I didn't understand the question.
 



The "Amount" cells contain the formulas of "Rate x Units" (i.e. - =L19*J19)
Its not just an issue of formatting.

He's got EMPTY ROWS OF DATA execpt for the formula: NOT a very good practice!

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
additionally, dallen, if you're allowing Excel to process all those formulas in a clunky workbook, it becomes a real calculation burden.

The way I've handled it in the past is similar to randy's, except his doesn't avoid calculation.

What I usually do is something like
=IF(L19=0,0,J19*L19)
This is handy when you've got vlookups or processor intensive functions.

Skip, I've been using Excel for a long, long time. And I have never used lists. Thank you, I now have a new toy to play with.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top