Reference in every nth cell

qasimmalik

New Member
Joined
May 15, 2018
Messages
7
Hi guys,

I need to figure out a way to enter a cell reference in every nth cell. Is there a macro or cell reference function I could use for this?

Example: cell AA is referenced in cell BB, cell AB is referenced in cell B4, cell AC is referenced in B6.... and so on. I want to reference the cells in column A to every 2nd cell in column B.

ABC
SHDABC
KDS
ADDSHD
BBS
KDS
ADD
BBS

<tbody>
</tbody>

Thank you in advance for the help.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
B2: =IFERROR(IF(MOD(ROWS(B$2:B2),N)=1,INDEX(A$1:A$5,1+(ROWS(B$2:B2)-1)/N),""),"")

where N is your required spacing, e.g. 2.


Book1
AB
1ABC
2SHDABC
3KDS
4ADDSHD
5BBS
6KDS
7
8ADD
9
10BBS
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,586
Messages
6,125,681
Members
449,249
Latest member
ExcelMA

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