Link Merged cells

Memar

Board Regular
Joined
Sep 2, 2011
Messages
76
Can I link data from a merged cells to single cell and Can I link dates from two different merged cells to one cell.


Example I - data 12/12/2018 saved in the merged cell A1,A2 and A3. want to link the data in cell E1- 12/12/2018

Example ii - Data 1/1/2019 saved in the merge cell B1,B2 and B3
Date 12/31/2019 saved in the merge cell C1,C2 and C3

I want to save a data in a single cell - F1 - 1/1/2019 - 12/31/2019

Thanks for your help.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Merged cells are one of Excel's worst features. Try to do without them
 
Upvote 0
I agree with arthurbr that merged cells are not a good practice.

But since you asked, when you link to a merged cell the data is actually stored in the top-left cell of the merged block. So in your first example, in cell E1 you would use

=A1

This is the result you will get if you go to E1, type the = sign, then click on the merged cells to allow Excel to complete your formula.

In your second example, you want to build a string using data from two other cells. In F1:

=TEXT(B1,"m/d/yyyy") & " - " & TEXT(C1,"m/d/yyyy")
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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