When referencing a cell it will generate every other cell

DamYo

New Member
Joined
Sep 27, 2017
Messages
5
Hello,

When I merge and try to drag that cell while referencing another cell, it would grab every other cell. So if i have 1, 2, 3, 4, 5,6 it would only give me 1,3, and 5. Is there a formula I can use ?

Thank you in advance.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hello DamYo,

Excel formulas do not like merged cells. When cells are merged, the reference to the merged cells is always the cell that is in the upper left hand side of the rectangle. From what you described, you had merged cells 1 and 2; 3 and 4; 5 and 6. Does that make sense?
 
Upvote 0
Thank you Leith,

I was hoping there was something out there. I've spent couple of days researching for a solution with no luck.
 
Upvote 0
I think this is what you mean. Assuming you are pulling values from row 1 starting at A1:

=INDEX(1:1,EVEN(COLUMN(A1))/2)

Copy across.

Row 2 are the merged cells in this example, even though it isn't displaying correctly.


Excel 2010
ABCDEFGHIJKL
1123456
2123456
Sheet1
Cell Formulas
RangeFormula
A2=INDEX(1:1,EVEN(COLUMN(A1))/2)
C2=INDEX(1:1,EVEN(COLUMN(C1))/2)
E2=INDEX(1:1,EVEN(COLUMN(E1))/2)
G2=INDEX(1:1,EVEN(COLUMN(G1))/2)
I2=INDEX(1:1,EVEN(COLUMN(I1))/2)
K2=INDEX(1:1,EVEN(COLUMN(K1))/2)
 
Last edited:
Upvote 0
Thank you Scott,

Would you know if this applies to google sheets also ? or something similar?
 
Upvote 0
I don't use Google Sheets but I tried it and it seemed to work just fine.
 
Upvote 0
Hmmm...Interesting. I wasn't able to get it to work but I just got off of work and I am unable to give you more feedback.

Thank you for the help. Hopefully you could help me tomorrow.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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