Index/Match usage

JAV

New Member
Joined
Dec 27, 2006
Messages
5
Hi, I am addicted to the combined Index/Match formula for pulling data from one place to another. There is one thing that drives me crazy... how to drag the formula across with an increase in the column number to pull data from. Example wanting to pull data from sheet 1 to sheet 2 on spreadsheet =INDEX(Sheet2!$A:$AA,MATCH($B1,Sheet2!$A:$A,0),2)... what I want to do is pull this formula across a set of cells increasing the Column (2) as I go. There are times when I have to do this for 52 columns (ie a year of weeks). Today I copy the and then edit 51 cells, changing the ,2) to ,3) ,4).... ,53) How can I get the column to increase as I bring it across the columns?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
If, for example, the formula is going to entered in C1 and copied across...

=INDEX(Sheet2!$A:$AA,MATCH($B1,Sheet2!$A:$A,0),COLUMNS($C1:C1))
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,606
Members
449,089
Latest member
Motoracer88

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