using function to remove 0 from list

SQUIDD

Well-known Member
Joined
Jan 2, 2009
Messages
2,096
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hello

I have a list of data in column AJ like this.

219712-1
219712-2
0
0
0
219712-6
219712-7
219712-8
0
0
219711-11
219712-12
0

is there a function to remove the 0 values so it just shows the list of the long numbers 1 after the other.

Dave
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
Dave - you can perhaps get rid of them like so:

1. Select the column and hit F5 and then the Special Button
2. Choose to select Constants and uncheck everything in the submenu except for numerics. Click OK
3. With any luck this will have selected just the zeros and left all the other stuff. Then go Edit>Delete and eithe delete just those cells or the entire row.
 
Upvote 0

Diablo II

Well-known Member
Joined
Sep 28, 2008
Messages
538
you can use conditinal formatting to turn text white if the cell = 0

go to format
then conditinal formatting.
 
Upvote 0

SQUIDD

Well-known Member
Joined
Jan 2, 2009
Messages
2,096
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Thankyou for quick responses.

I have made a work around using a few functions.It does work.

Dave
 
Upvote 0

ExcelChampion

Well-known Member
Joined
Aug 12, 2005
Messages
976
I typically would use the autofilter function to do this. If you do not want to delete the entire row, then with autofilter, choose does not equal and type a zero.

If you want to delete the entire row, do the same thing, then select the range, right click, and select delete.
 
Upvote 0

Forum statistics

Threads
1,195,849
Messages
6,011,957
Members
441,657
Latest member
Diupsy

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
Top