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
592
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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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