English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a workbook with 9 pages. Each of the pages get information from the previous page except the last two which pull information from all the page. Basically it's a daily sales report which automatically generates a weekly report.

On the weekly report I want the cells that pull information from the daily report to remain blank if the daily number is 0. How would I write the custom format for that? If possible, I don't even want the symbol to show up when the cell value is 0.

2007-08-18 09:45:47 · 2 answers · asked by Justin H 7 in Computers & Internet Software

Serena: your solution work perfectly except for one thing. When the cell is used to calculate another cell, the calculated value will read #Value! when the value is 0.

For example if c1 has the formula "if(Fri!c1=0,"",Fri!c1)" and the value is 0.

The cell with the formula c1+c5 will read #Value!. But it works fine when c1 has a value other than 0.

2007-08-18 11:03:58 · update #1

2 answers

You should be able to do an "if...then" statement. Like "if (A1=0,"",) then
after the "", put in the value you want to appear in the celll
For example, if the value you want coordinates to A1 on the other sheet, you'd say:

if(A1=0, "", A1)

Try using this in the cell that you don't want zero to appear in. Should work.

if(A1=0, the mark here is two quote marks, A1)

2007-08-18 10:00:27 · answer #1 · answered by Serena 7 · 2 0

Use the 'IF' statement. =If(C3=0, "", C3). That should work but I do not know all the details.

2007-08-18 16:54:25 · answer #2 · answered by Randall 2 · 0 0

fedest.com, questions and answers