ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I set one cell to equal another if its contents are empty? (https://www.excelbanter.com/excel-worksheet-functions/112544-how-do-i-set-one-cell-equal-another-if-its-contents-empty.html)

APElizondo

How do I set one cell to equal another if its contents are empty?
 
I have an insert for my work menu and everyday something changes on it. It
is a small square of information but I have duplicated it to print four on
the same page. I have assigned each cell to equal the original one so that
everytime I change the information in that cell it will automatically
duplicate it in the three other cells. My problem is that everytime I want
to clear a cell-the duplicate cells show a 0 and I want it to stay empty. If
I clear that cell the equal to function erases.

MagnoliaSouth

How do I set one cell to equal another if its contents are empty?
 
"APElizondo" wrote
My problem is that everytime I want
to clear a cell-the duplicate cells show a 0 and I want it to stay empty.

If
I clear that cell the equal to function erases.


Is this what you're looking for?
=IF(ISBLANK(A1),"",A1))



MagnoliaSouth

How do I set one cell to equal another if its contents are empty?
 
Is this what you're looking for?
=IF(ISBLANK(A1),"",A1))


To expand on that; this formula should be put in the cells which are
duplicate cells. A1 refers to the original cell where you enter the
information.

Of course again, only if this is what you are looking for.




All times are GMT +1. The time now is 09:52 PM.

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