ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I leave linked cells that do not contain a date (https://www.excelbanter.com/excel-discussion-misc-queries/193069-how-do-i-leave-linked-cells-do-not-contain-date.html)

elusiverunner

How do I leave linked cells that do not contain a date
 
I have two worksheets in the same workbook that contain linked cells, a date.
The ones that contain a date in one worksheet copy the date into the other.
The problem is that if the "main" worksheet has cells with no dates the other
worksheet cells that should be blank fill with the value 00.01.1900 rather
than leave them blank as in the main worksheet.

Also the "secondary" worksheet says each of the cells needs to be locked
which I don't want to happen if I decide to change the date for any reason.

Dave Peterson

How do I leave linked cells that do not contain a date
 
Use a formula like:

=if(sheet2!a1="","",sheet2!a1)

elusiverunner wrote:

I have two worksheets in the same workbook that contain linked cells, a date.
The ones that contain a date in one worksheet copy the date into the other.
The problem is that if the "main" worksheet has cells with no dates the other
worksheet cells that should be blank fill with the value 00.01.1900 rather
than leave them blank as in the main worksheet.

Also the "secondary" worksheet says each of the cells needs to be locked
which I don't want to happen if I decide to change the date for any reason.


--

Dave Peterson


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

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