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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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,223,723
Messages
6,174,113
Members
452,544
Latest member
aush

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