Hello everyone:
I have a very large spreadsheet, about 90 or so columns. I use vlookup to reference some of those columns on another sheet. The problem I have is that every time the spreadsheet is sent to me the columns are added or deleted and therefore my vlookup does not work because is looking at the wrong column. It could be one to the left or to the right.
My question is, is there another way to do vlookup or something similar that will look at the column name rather than the number. The columns I use are never deleted, just that others I do not use are either added or deleted from the spreadsheet.
Could it be done through a VBA or formula? Or, since I only use about 10 of the 90 columns can I write a VBA that will delete all of the columns except the ones I need. While the column position changes, their names never do, that is the only constant.
Thanks.
I have a very large spreadsheet, about 90 or so columns. I use vlookup to reference some of those columns on another sheet. The problem I have is that every time the spreadsheet is sent to me the columns are added or deleted and therefore my vlookup does not work because is looking at the wrong column. It could be one to the left or to the right.
My question is, is there another way to do vlookup or something similar that will look at the column name rather than the number. The columns I use are never deleted, just that others I do not use are either added or deleted from the spreadsheet.
Could it be done through a VBA or formula? Or, since I only use about 10 of the 90 columns can I write a VBA that will delete all of the columns except the ones I need. While the column position changes, their names never do, that is the only constant.
Thanks.