How to drag a formula with referenced cell increment by only 1?

omcsarayar

New Member
Joined
Oct 20, 2022
Messages
10
Office Version
  1. 2019
Platform
  1. Windows
Hi, i know the title makes no sense, i dont know how else to describe it, i hope the picture below can make it clear what i'm trying to do.
So, on cell J2 i have the formula =B2 to copy the name from the reference table on the left. When i copy the formula on J2 it automatically incremented by 3, so it returns the value on J4. Is there a way to copy the formula on J2 to J5 but only incremented by 1 from the reference table (which is =B3)?

Any help will be much appreciated,
thankyou guyss!

- O
Screenshot (22).png
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Yes, you can achieve this by using a mixed cell reference in your formula. To do this, you can use the dollar sign ($) to fix the row number in your formula, like this:

Excel Formula:
=B$2
 
Upvote 0
Those images look a bit odd.
Are you doing this in Excel, Google Sheets, or some other program?
 
Upvote 0
Like this?
Book1
ABCDEFGHIJKLM
1NoNameAgeSexEmailRepNo1. 2. 3.Name Age RepMFEmail
21Misael Halvorsen38Malemisael@halvorsenWilliam1Misael Halvorsen
32Karen Cruz50Femalekaren@cruzGrace1238M misael@halvorsen
43Cheyenne Sheppy42Malecheyenne@sheppyJohn3William
54Sofia Buckley27Femalesofia@buckleyJohn1Karen Cruz
65Kayli Hagen24Femalekayli@hagenLily2250 Fkaren@cruz
73Grace
81Cheyenne Sheppy
93242M cheyenne@sheppy
103John
111Sofia Buckley
124227 Fsofia@buckley
133John
141Kayli Hagen
155224 Fkayli@hagen
163Lily
Sheet1
Cell Formulas
RangeFormula
K3,K15,K12,K9,K6K3=IF(XLOOKUP(H3,$A$2:$A$6,$D$2:$D$6)="Male","M","")
L3,L15,L12,L9,L6L3=IF(XLOOKUP(H3,$A$2:$A$6,$D$2:$D$6)="Female","F","")
M3,M15,M12,M9,M6M3=XLOOKUP(H3,$A$2:$A$6,$E$2:$E$6)
J2,J5,J8,J11,J14J2=XLOOKUP(H3,$A$2:$A$6,$B$2:$B$6)
J3,J6,J9,J12,J15J3=XLOOKUP(H3,$A$2:$A$6,$C$2:$C$6)
J4,J7,J10,J13,J16J4=XLOOKUP(H3,$A$2:$A$6,$F$2:$F$6)

Note that if you highlight the top 3 rows (2-4) of a the columns with data, the formulas can be dragged down to the end of the table (row 16):
1681474133148.png
 
Upvote 0
Solution
Those images look a bit odd.
Are you doing this in Excel, Google Sheets, or some other program?
Hi there Joe, thank you for responding.
I'm doing this on google spreadsheet. I'm sorry if it looks odd, I was worried it would be blurry so I cropped out the picture:))
 
Upvote 0
Like this?
Book1
ABCDEFGHIJKLM
1NoNameAgeSexEmailRepNo1. 2. 3.Name Age RepMFEmail
21Misael Halvorsen38Malemisael@halvorsenWilliam1Misael Halvorsen
32Karen Cruz50Femalekaren@cruzGrace1238M misael@halvorsen
43Cheyenne Sheppy42Malecheyenne@sheppyJohn3William
54Sofia Buckley27Femalesofia@buckleyJohn1Karen Cruz
65Kayli Hagen24Femalekayli@hagenLily2250 Fkaren@cruz
73Grace
81Cheyenne Sheppy
93242M cheyenne@sheppy
103John
111Sofia Buckley
124227 Fsofia@buckley
133John
141Kayli Hagen
155224 Fkayli@hagen
163Lily
Sheet1
Cell Formulas
RangeFormula
K3,K15,K12,K9,K6K3=IF(XLOOKUP(H3,$A$2:$A$6,$D$2:$D$6)="Male","M","")
L3,L15,L12,L9,L6L3=IF(XLOOKUP(H3,$A$2:$A$6,$D$2:$D$6)="Female","F","")
M3,M15,M12,M9,M6M3=XLOOKUP(H3,$A$2:$A$6,$E$2:$E$6)
J2,J5,J8,J11,J14J2=XLOOKUP(H3,$A$2:$A$6,$B$2:$B$6)
J3,J6,J9,J12,J15J3=XLOOKUP(H3,$A$2:$A$6,$C$2:$C$6)
J4,J7,J10,J13,J16J4=XLOOKUP(H3,$A$2:$A$6,$F$2:$F$6)

Note that if you highlight the top 3 rows (2-4) of a the columns with data, the formulas can be dragged down to the end of the table (row 16):
View attachment 89704
Hello jdellasala, Thank you for responding. I hope you're having a great day.
I tried the formula and It works! Thank you so much for your help:))

Best,
- O
 
Upvote 0
I'm doing this on google spreadsheet. I'm sorry if it looks odd
When I said "odd", I meant that it did not look like an Excel sheet.

When posting a question about Google Sheets, please be sure to mention it in your question because while there are many similiarities between the two programs, there also are a lot of differences. And not all Excel solutions will work in Google Sheets. Mentioning it will help ensure that you get answers that are pertinent to the program you are trying to do this in.
 
Upvote 0

Forum statistics

Threads
1,223,311
Messages
6,171,363
Members
452,397
Latest member
ddneptune

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