I have a very large spreadsheet with over 400 columns of data, I wish to copy a Vlookup formula to each alternate column, this is so I can validate data between two different spreadsheets.
The number of rows in the spreadsheets differ, but I also need to be able to copy and paste the formula into each row of each alternate column as well. I have been looking at various methods to do this but cannot find one that incorporates all the functions necessary to complete these tasks.
I am looking for a macro which could be edited to achieve this goal fr each spreadsheet. or one that can identify the total number of rows present, this could look in Column A, and for the last cell in row 1, which contains my column header data + 1 being the last column I would need to paste the formula.
Also, when pasting the formula to the alternate columns, I need to amend the Col_Index_Num in the Vlookup formula to increment by one for each entry, so it refers to the correct column in the lookup spreadsheet.
The one saving grace is that there are only between 90 and 500 rows of data in the final spreadsheets, the width is the main problem, I do not fancy having to insert all these by hand.
Any help would be appreciated.
Bookmarks