Faster way adding or removing columns

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,860
Office Version
  1. 365
Platform
  1. Windows
I have been working on large files consisting of 40 entities. Each entity initially has four columns: Prior, Current Period, Variance, and Variance Percentage.
My job is to make several modifications as part of a migration from PeopleSoft to Oracle.
1. **Remove the Variance Percentage column.**
2. **Add a new column for each entity after the "Current Period" column** to include "Quarter to Date Prior" and "Quarter to Date Current".
3. **Insert a VLOOKUP formula in these new columns** to retrieve values. (I do not need a formula).

(Given there are 40 entities, and each entity has four columns, the process involves removing and adding columns for each entity. Is there a faster way to perform these tasks than manually entering the additional columns and removing the variance column for each entity? ---
Also, there are headings on each of 41 entities, Merged & Center over each of four columns; when I delete the first column, the heading is also deleted, so I have to un-merge and move the heading from the first of the four columns to the second, this is pain

Thanks
 
Last edited:

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Be thankful it is 40 entities and not 400.
My first step would be to convert the data into a table. If the layout is regular you might be able to do that with a couple of functions otherwise do it manually.
Hard to say more without a sample.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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