Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default eliminating zeros

I linked two cells to get the information from other cell, but when this
cell is empty it prints "0". How can I eliminate this problem?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default eliminating zeros

Hi
Cell C4, Cell D4 gets the value from C4.

On the worksheet itself you can usein D4 =IF(C4<0, C4,"")

In VBA, Range("D4") = Application.IF(Range("C4")<0,Range("C4"),"")

HTH
Andrew Bourke

Fernando Duran wrote:
I linked two cells to get the information from other cell, but when this
cell is empty it prints "0". How can I eliminate this problem?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default eliminating zeros

When is sheet1 to sheet2, is the problem I have.

"Ajtb" wrote in message
...
Hi
Cell C4, Cell D4 gets the value from C4.

On the worksheet itself you can usein D4 =IF(C4<0, C4,"")

In VBA, Range("D4") = Application.IF(Range("C4")<0,Range("C4"),"")

HTH
Andrew Bourke

Fernando Duran wrote:
I linked two cells to get the information from other cell, but when this
cell is empty it prints "0". How can I eliminate this problem?



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
Eliminating #DIV/O! MCheru Excel Worksheet Functions 6 March 18th 09 12:06 AM
when i megre cells that begin with zeros , I lose the zeros RDC Excel Discussion (Misc queries) 1 November 16th 07 03:31 PM
Essbase: Text zeros to number zeros santhu Excel Discussion (Misc queries) 1 March 23rd 07 01:01 PM
Charting zeros as non zeros Typical Village Idut Charts and Charting in Excel 3 February 8th 07 10:18 PM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM


All times are GMT +1. The time now is 12:29 PM.

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"