Deleting columns based on header

KarthickDijo

New Member
Joined
Sep 14, 2022
Messages
28
Office Version
  1. 2019
Platform
  1. Windows
Hi All,

Is there any method to remove multiple columns based on the header value apart from VBA ?? I have just use small example, however in real am dealing with more columns.

Thanks in advance.
 

Attachments

  • Deleting Columns.jpg
    Deleting Columns.jpg
    24.6 KB · Views: 19

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Assuming that you want to delete the "Synonym" columns you can do it manually pretty quickly as follows
  1. Select all of row 1 by clicking that label at the left
  2. Ctrl+F to bring up the Find dialog
  3. Find what: Synonym -> Find All
  4. Press Ctrl+A (all those heading values should now be selected)
  5. Home ribbon tab -> Delete -> Delete Sheet Columns
Done
 
Upvote 0
Solution

Forum statistics

Threads
1,223,911
Messages
6,175,335
Members
452,636
Latest member
laura12345

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