Copy Formula Horizontally, Incrementing Row

waxsublime

New Member
Joined
Jul 13, 2013
Messages
17
I'm trying to figure out how to automatically increment the row reference in a formula copied horizontally.

Example:
='Example Tab'!$A2
='Example Tab'!$A3
='Example Tab'!$A4

<tbody>
</tbody>

...and so on across several columns.

How can I do that?

Thanks in advance!
 
Try this small modification:

Code:
=((ISNUMBER(FIND(INDIRECT("'Mapping'!$B"&COLUMNS($R:T)),$D2))+
ISNUMBER(FIND(INDIRECT("'Mapping'!$D"&COLUMNS($R:T)),$F2)))*
($E2=INDIRECT("'Mapping'!$E"&COLUMNS($R:T))))+($M2=INDIRECT("'Mapping'!$A"&COLUMNS($R:T)))

Markmzz
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try this small modification:

Code:
=((ISNUMBER(FIND(INDIRECT("'Mapping'!$B"&COLUMNS($R:T)),$D2))+
ISNUMBER(FIND(INDIRECT("'Mapping'!$D"&COLUMNS($R:T)),$F2)))*
($E2=INDIRECT("'Mapping'!$E"&COLUMNS($R:T))))+($M2=INDIRECT("'Mapping'!$A"&COLUMNS($R:T)))

Markmzz

Sorry, but the formula above isn't ok.

Markmzz
 
Upvote 0
The first one you posted worked great.

"Mapping" Tab Data starts at A2.

This formula is in R2:

Code:
=IF(OR((AND(OR(ISNUMBER(FIND(INDIRECT("'Mapping'!$B"&COLUMNS($R:S)),$D2)),
ISNUMBER(FIND(INDIRECT("'Mapping'!$D"&COLUMNS($R:S)),$F2))),$E2=INDIRECT("'Mapping'!$E"&COLUMNS($R:S)))),
$M2=INDIRECT("'Mapping'!$A"&COLUMNS($R:S))),1,)

When I copied to columns S, T, and U, it changed the formula perfectly. Thanks so much for this, again!
 
Upvote 0
Hi Waxsublime,

If possible, do some tests with this small modification and tell me if it work.

Code:
R2-> =IF(((
ISNUMBER(FIND(INDEX(Mapping!$B:$B,COLUMNS($R:S)),$D2))+
ISNUMBER(FIND(INDEX(Mapping!$D:$D,COLUMNS($R:S)),$F2)))*
($E2=INDEX(Mapping!$E:$E,COLUMNS($R:S))))+
($M2=INDEX(Mapping!$A:$A,COLUMNS($R:S))),1,)

Markmzz
 
Upvote 0

Forum statistics

Threads
1,216,219
Messages
6,129,577
Members
449,519
Latest member
Rory Calhoun

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