Delete row if containing a certain text Value

BrownCJ1221

New Member
Joined
Dec 14, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,

I'm looking at stock data over the past 20 years and some companies have missing data. This is showing as 'N/A'

Id like to delete the entire column if any cell contains an 'N/A'. I've tried to do this through the F5 function but this only selects the individual cell and not the entire column.

Is there any suggestions how I could complete this task more efficiently than looking through 500 columns and deleting them individually?

1639488760761.png


Thanks
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
First make your data a Table in Excel...so you can filter it. Select the column with the filter you would like to search for (Ex. 'N/A'). Then I would Highlight the ROWs along the left side (Click on the row number and drag down) ....then hit the delete key.
 
Upvote 0
First make your data a Table in Excel...so you can filter it. Select the column with the filter you would like to search for (Ex. 'N/A'). Then I would Highlight the ROWs along the left side (Click on the row number and drag down) ....then hit the delete key.
Thank you.
I used: Ctrl F to find the value
Find all
Ctrl A

Then clicked Delete
Then all columns.

Thanks for your help :)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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