ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy empty cells from one worksheet to another (https://www.excelbanter.com/excel-programming/340833-copy-empty-cells-one-worksheet-another.html)

David Cohen

Copy empty cells from one worksheet to another
 
Hello,

I had a worksheet (myWorksheet) in which the user entered data - number of
vehicles.
Empty cell means there is no vehicles.

Now I get my data from different excel workbook (dataWorksheet).

I tried to use this in my worksheet cells:
=if (dataWorksheet cell value = "" , "", dataWorksheet cell value)

My problem is that in some calculations in other worksheets
I get #value or other error messages (in average calculations).

How can I set empty cell in my worksheet ?


Thank you
David Cohen



Jim Rech

Copy empty cells from one worksheet to another
 
A formula must always have some value and the "" your formulas return is
technically a null string. You cannot make a formula return "nothing". So
you must adjust your statistical formulas to account for this (if possible)
or bring your data together by copy/pasting rather than by formula.

--
Jim
"David Cohen" wrote in message
...
| Hello,
|
| I had a worksheet (myWorksheet) in which the user entered data - number
of
| vehicles.
| Empty cell means there is no vehicles.
|
| Now I get my data from different excel workbook (dataWorksheet).
|
| I tried to use this in my worksheet cells:
| =if (dataWorksheet cell value = "" , "", dataWorksheet cell value)
|
| My problem is that in some calculations in other worksheets
| I get #value or other error messages (in average calculations).
|
| How can I set empty cell in my worksheet ?
|
|
| Thank you
| David Cohen
|
|




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

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