Excel xlookup without knowing lookup columns

Pswov

New Member
Joined
Sep 30, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I currently am working with data that is not very consistent in formatting. There are a lot of small exceptions that I work with in my data that make columns and rows not consistent in formatting (ex: column G in one spreadsheet could line up with column K in another). I was wondering if there is an actual way to do a lookup on an entire range instead of just a row and columns with lookup or without something like a VBA range.find. Is there any way to do this type of lookup?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
You can. Inside your vlookup for the column, you can use MATCH. Match to the column header name.
 
Upvote 0
If you format your data in the spreadsheets as named tables, you can reference the column names regardless of their positions.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,213
Members
452,618
Latest member
Tam84

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