Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BelkyBear
 
Posts: n/a
Default Need cells to show as zero or empty

Hello,

A couple of people helped with this spreadsheet, but I decided to add a
couple of more columns at the end (F & G):

A B C D E F G
1 161,700 180000 18300 0 0 -1700 (25.5)
2 180,000 200000 20000 0 0 0 0
3 200,000 221000 21000 1000 $15 0 0
4 221,000 0 0 0 -20000 (300)
5 -20000 (300)

A4: =IF(B3="","",SUM(B3))
B4: no formula
C4: =IF(B4="",0,SUM(B4-A4))
D4: =IF(C420000,C4-20000,0)
E4: =SUM(D4*0.015)
F4: =IF(C4<20000,C4-20000,0)
G4: =SUM(F4*0.015)

Column F: If column C is < 20,000, then subtract 20,000; if not, enter
zero. The formula I have in column F works only if there is a value in column
C. Since the month in row 4 (and 5) is in the future, there is no value
entered for column B; therefore column C is zero.

I need columns F & G to be zero (or empty) even when there is no value in
column B. Help anyone?

Thanks!

  #2   Report Post  
Ian
 
Posts: n/a
Default Need cells to show as zero or empty

Test for B4 is blank first

=IF(B4="","",your original formula here)

--
Ian
--
"BelkyBear" wrote in message
...
Hello,

A couple of people helped with this spreadsheet, but I decided to add a
couple of more columns at the end (F & G):

A B C D E F G
1 161,700 180000 18300 0 0 -1700 (25.5)
2 180,000 200000 20000 0 0 0 0
3 200,000 221000 21000 1000 $15 0 0
4 221,000 0 0 0 -20000 (300)
5 -20000 (300)

A4: =IF(B3="","",SUM(B3))
B4: no formula
C4: =IF(B4="",0,SUM(B4-A4))
D4: =IF(C420000,C4-20000,0)
E4: =SUM(D4*0.015)
F4: =IF(C4<20000,C4-20000,0)
G4: =SUM(F4*0.015)

Column F: If column C is < 20,000, then subtract 20,000; if not, enter
zero. The formula I have in column F works only if there is a value in
column
C. Since the month in row 4 (and 5) is in the future, there is no value
entered for column B; therefore column C is zero.

I need columns F & G to be zero (or empty) even when there is no value in
column B. Help anyone?

Thanks!



  #3   Report Post  
BelkyBear
 
Posts: n/a
Default Need cells to show as zero or empty

Thank you Ian.

"Ian" wrote:

Test for B4 is blank first

=IF(B4="","",your original formula here)

--
Ian
--
"BelkyBear" wrote in message
...
Hello,

A couple of people helped with this spreadsheet, but I decided to add a
couple of more columns at the end (F & G):

A B C D E F G
1 161,700 180000 18300 0 0 -1700 (25.5)
2 180,000 200000 20000 0 0 0 0
3 200,000 221000 21000 1000 $15 0 0
4 221,000 0 0 0 -20000 (300)
5 -20000 (300)

A4: =IF(B3="","",SUM(B3))
B4: no formula
C4: =IF(B4="",0,SUM(B4-A4))
D4: =IF(C420000,C4-20000,0)
E4: =SUM(D4*0.015)
F4: =IF(C4<20000,C4-20000,0)
G4: =SUM(F4*0.015)

Column F: If column C is < 20,000, then subtract 20,000; if not, enter
zero. The formula I have in column F works only if there is a value in
column
C. Since the month in row 4 (and 5) is in the future, there is no value
entered for column B; therefore column C is zero.

I need columns F & G to be zero (or empty) even when there is no value in
column B. Help anyone?

Thanks!

  #4   Report Post  
Ian
 
Posts: n/a
Default Need cells to show as zero or empty

Glad to help. Thanks for the feedback.

--
Ian
--
"BelkyBear" wrote in message
...
Thank you Ian.

"Ian" wrote:

Test for B4 is blank first

=IF(B4="","",your original formula here)

--
Ian
--
"BelkyBear" wrote in message
...
Hello,

A couple of people helped with this spreadsheet, but I decided to add a
couple of more columns at the end (F & G):

A B C D E F G
1 161,700 180000 18300 0 0 -1700 (25.5)
2 180,000 200000 20000 0 0 0 0
3 200,000 221000 21000 1000 $15 0 0
4 221,000 0 0 0 -20000 (300)
5 -20000 (300)

A4: =IF(B3="","",SUM(B3))
B4: no formula
C4: =IF(B4="",0,SUM(B4-A4))
D4: =IF(C420000,C4-20000,0)
E4: =SUM(D4*0.015)
F4: =IF(C4<20000,C4-20000,0)
G4: =SUM(F4*0.015)

Column F: If column C is < 20,000, then subtract 20,000; if not, enter
zero. The formula I have in column F works only if there is a value in
column
C. Since the month in row 4 (and 5) is in the future, there is no value
entered for column B; therefore column C is zero.

I need columns F & G to be zero (or empty) even when there is no value
in
column B. Help anyone?

Thanks!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty cells at start of x axis Nanofish Charts and Charting in Excel 1 August 13th 05 03:24 PM
How do I exclude empty cells from being printed? pox Excel Discussion (Misc queries) 1 August 13th 05 11:50 AM
Trendline to ignore empty cells Kara Charts and Charting in Excel 2 June 7th 05 05:30 PM
how do populate empty cells with the contents of populated cells . Jim99 Excel Discussion (Misc queries) 6 April 21st 05 05:44 PM
In Bar Chart, can we display both figures and their respective %a. Airtel Excel Discussion (Misc queries) 3 March 9th 05 02:35 PM


All times are GMT +1. The time now is 12:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"