ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Using Excel, how do I replace cells containing blanks with nulls? (https://www.excelbanter.com/excel-discussion-misc-queries/25363-using-excel-how-do-i-replace-cells-containing-blanks-nulls.html)

Nither1

Using Excel, how do I replace cells containing blanks with nulls?
 
I plan to use an Excel spreadsheetand cut and paste data into a database. I
need to replace blank cells in the spreadsheet with nulls. How can I
accomplish this?

Peo Sjoblom

Select the range, press F5, special and Blanks, press enter, now type
whatever you want and press ctrl + enter


Regards,

Peo Sjoblom

"Nither1" wrote:

I plan to use an Excel spreadsheetand cut and paste data into a database. I
need to replace blank cells in the spreadsheet with nulls. How can I
accomplish this?


Myrna Larson

If I understand you correctly, Excel doesn't support the concept of the NULL
data type that you have in a database. To get that you may need to run a macro
from the database to replace, say, a "flag" value with a database NULL.


On Mon, 9 May 2005 11:03:02 -0700, "Nither1"
wrote:

I plan to use an Excel spreadsheetand cut and paste data into a database. I
need to replace blank cells in the spreadsheet with nulls. How can I
accomplish this?




All times are GMT +1. The time now is 11:44 AM.

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