How can I find the right column by its header and use this to other formulas?

excelos

Well-known Member
Joined
Sep 25, 2011
Messages
591
Office Version
  1. 365
Platform
  1. Windows
Hello!

How can I find the right column by its header and use this to other formulas?

I am thinking to use index match to find the right header by INDEX/MATCH.

But how to I convert the above result into the column code i.e. A:A?

Thanks!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
INDEX/MATCH will return a reference to the correct column that you should be able to use directly in other formulas. Depending on your layout it may be more efficient to store the MATCH result in a cell and then refer to it in INDEX formulas wherever you need to refer to that range.
 
Upvote 0
INDEX/MATCH will return a reference to the correct column that you should be able to use directly in other formulas. Depending on your layout it may be more efficient to store the MATCH result in a cell and then refer to it in INDEX formulas wherever you need to refer to that range.

Thanks but the return of an INDEX/MATCH is the content of a specific cell. How do I use this as a column reference?
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,181
Members
449,071
Latest member
cdnMech

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