Getting rid of zeros in a column of a table

Mojo1

Board Regular
Joined
Mar 6, 2003
Messages
148
I have an Access table that has zeros in the column. Is there a way if a record has a zero for a specific column to make it blank rather than have a zero in it?
 
Format field??

I tried the 0.0;-0.0;"" in the format of the field I want to correct. Right now the datatype is in text due to import issues. When I change it to datatype number and put 0.0;-0.0;"" in the format it makes everything in the column a zero.

Any ideas of what to do??
 
Upvote 0
Re: Format field??

Mojo1 said:
I tried the 0.0;-0.0;"" in the format of the field I want to correct. Right now the datatype is in text due to import issues. When I change it to datatype number and put 0.0;-0.0;"" in the format it makes everything in the column a zero.
==
create new table from your using query.
in that field (for example its name is xxx) write:
xxxN:val(xxx)
then format again in the new table
 
Upvote 0

Forum statistics

Threads
1,226,867
Messages
6,193,426
Members
453,799
Latest member
shanley ducker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top