Extracting Data From Merged Cells

SamPer

New Member
Joined
Aug 27, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
I have 3 merged cells - I know we should try to avoid merged cells but it is needed for proper graphical representation of a schedule.

Example: D35:D377 with value "YES"

Is there a way to automatically equate 3 separate cells to this merged cell's value? Example, E35=D35, E36 =D35, E37=D37, each indicating "YES"

When I set the formula for E35 (=D35) and drag down to E37, E35 = "YES" but the E36 and E37 are left blank. Attached is an example.

I tried this formula =IF(D35="",IF(D34="",D33,D34),D35). This doesn't seem to work since it will populate cells even if a merge cell doesn't exist for that row and will incorrectly look at a previous merged cell.

Appreciate any help. TIA!
 

Attachments

  • YES.GIF
    YES.GIF
    1.4 KB · Views: 15

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
You can try it differently, referencing to the cell above it: =IF(D35="",E34,D35)
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,356
Members
449,080
Latest member
Armadillos

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