+ Reply to Thread
Results 1 to 5 of 5

Extract data from merged cells in adjacent rows

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    77

    Extract data from merged cells in adjacent rows

    Hi

    I have columns of data that are mostly merged. I would like to extract data of the merged (and unmerged) cells to the left of the merged cells. Please see attached spreadsheet for clarification.

    Thank you in advance.

    Hoss
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Extract data from merged cells in adjacent rows

    In A1 Cell

    =IF(B1<>"",B1,INDEX(A:A,ROW()-1))

    Drag it down...

    Copy the A1 cell formula and paste it to rest of the cells.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    11-13-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Extract data from merged cells in adjacent rows

    Hi Sixthsense

    Thank you so much for your quick response. It works great.

    Hoss

  4. #4
    Registered User
    Join Date
    01-29-2015
    Location
    dubai
    MS-Off Ver
    2010
    Posts
    1

    Re: Extract data from merged cells in adjacent rows

    Quote Originally Posted by :) Sixthsense :) View Post
    In A1 Cell

    =IF(B1<>"",B1,INDEX(A:A,ROW()-1))

    Drag it down...

    Copy the A1 cell formula and paste it to rest of the cells.
    Hi,

    if its column-wise then what will be the formula?

    regards
    Arul

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Extract data from merged cells in adjacent rows

    Arulselvan1978,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

    Please do not quote whole posts
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Macro Code to Extract Specific Data from Spreadsheet with Merged Cells
    By miroslav23 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-05-2013, 12:28 PM
  2. [SOLVED] Extract Data from non adjacent cells and strip out formatting
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-22-2013, 09:23 AM
  3. [SOLVED] Extract data from cells into rows
    By craigfer in forum Excel General
    Replies: 9
    Last Post: 10-01-2012, 06:55 AM
  4. Replies: 1
    Last Post: 06-28-2012, 11:53 AM
  5. [SOLVED] extract data from a range of cells in rows or columns when a date.
    By Dartyon in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-24-2005, 07:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1