Can I drag a set of 2 rows with formulas that reference the same row of another table

pcvaccaro

New Member
Joined
Apr 25, 2019
Messages
2
Hi smarties

I am trying to make a table that turns this:

John
potato1
Marycranberry5
Davidsalsa4
Stacypotato6
Gregpotato2
Annasalsa3

<tbody>
</tbody>


Into this:

John
Potato1
Mary
Cranberry5
David
Salsa4
Stacy
Potato6
Greg
Potato2
Anna
Salsa3

<tbody>
</tbody>


The first table is a long list of rows that will continually grow. The second table is on another sheet. I want to be able to write the formulas in rows 1 and 2 (John & potato) and drag the set down the rest of the sheet. So far everything I've tried produces a result that skips rows from the first table. Instead of going John, Mary, David, Stacy it goes John, David, Greg.

I tried a few things with INDIRECT and OFFSET but I still get a result that skips rows from table 1.

Any ideas?

Thanks!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
I have one idea. I think this works on your exemplar.

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]
Book1
BCD
3NameFoodScore
4Johnpotato1
5Marycranberry5
6Davidsalsa4
7Stacypotato6
8Gregpotato2
9Annasalsa3
10
11
12
13Name and FoodScore
14John 
15potato1
16Mary
17cranberry5
18David
19salsa4
20Stacy
21potato6
22Greg
23potato2
24Anna
25salsa3
Sheet29
Cell Formulas
RangeFormula
B14=OFFSET($B$4,INT((ROW()-ROW($B$14)-2)/2)+1,MOD(ROWS($B$14:B14)-1,2))
C14=IFNA(INDEX($D$4:$D$9,MATCH(B13&B14,$B$4:$B$9&$C$4:$C$9,0)),"")
<strike>
</strike>
[/FONT]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,430
Messages
6,119,442
Members
448,898
Latest member
drewmorgan128

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