ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Links and Linking in Excel (https://www.excelbanter.com/links-linking-excel/)
-   -   empty copied/linked cells contain 0 (https://www.excelbanter.com/links-linking-excel/90599-empty-copied-linked-cells-contain-0-a.html)

kbgrunt

empty copied/linked cells contain 0
 
I am attempting to link a few Excel files to a worksheet in a separate file
that contains my master data. The link works, but, empty cells in the range
selected now contain a zero, in the target files. How do I prevent cells
from being zero filled? I have set columns to TEXT. Excel 2000.

Thanks

David McRitchie

empty copied/linked cells contain 0
 
=IF(ISBLANK(sheet1!A1),"",sheet1!A1)

Of course, as text, it will not be the same value as an original cell that is
actually empty. So a formula like =G6+H6 might fail with a #VALUE!
error, but =SUM(G6:H6) would work fine.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"kbgrunt" wrote ...
I am attempting to link a few Excel files to a worksheet in a separate file
that contains my master data. The link works, but, empty cells in the range
selected now contain a zero, in the target files. How do I prevent cells
from being zero filled? I have set columns to TEXT. Excel 2000.

Thanks





All times are GMT +1. The time now is 05:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com