+ Reply to Thread
Results 1 to 7 of 7

Reference Cells into Merged Cells

  1. #1
    Registered User
    Join Date
    11-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Reference Cells into Merged Cells

    Hello!

    I have a spreadsheet list that has no merged cells. I need to copy that spreadsheet into another spreadsheet where each row is actually 2 merged rows. I thought that I could manually reference the first few rows, then drag them down to copy and hope that excel would be smart enough to pick up the pattern. But it doesn't, and keeps copying over every other row. Is there a way to quickly copy a spreadsheet with individual rows into a spreadsheet with merged (two rows) cells? Seems like it should be doable.

    Thanks.

  2. #2
    Registered User
    Join Date
    11-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Reference Cells into Merged Cells

    I have attached an example file of what I am trying to do. Thanks for your time.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Reference Cells into Merged Cells

    I have been doing some research, and I should be able to solve this problem with the indirect function. But it isn't working. What I did was create another row that is numbered to match the rows in the second spreadsheet. I should be able to use the indirect function to use that number in the formula reference. I have attached what I am talking about, as well as my try at the correct formula. Can someone please help me out? Here is the formula I tried:

    ="Sheet2!A"&INDIRECT(A1)


    Thanks.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,661

    Re: Reference Cells into Merged Cells

    =INDIRECT("Sheet2!A"&A1)

    Try this formula
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Reference Cells into Merged Cells

    Try this, copied down...
    =INDIRECT("'sheet2'!A"&ROUNDUP(ROW()/2,0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Reference Cells into Merged Cells

    Why not uncomplicated sheet2 by removing the merging of the cells and double the row height instead and use VERTICAL CENTERING. Then you can use a simple formula like =SHEET1!A1 and fill across and down.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Registered User
    Join Date
    11-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Reference Cells into Merged Cells

    Quote Originally Posted by popipipo View Post
    =INDIRECT("Sheet2!A"&A1)

    Try this formula
    Thanks! This worked great.

+ 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] Reference or Vlookup against merged cells
    By Deventus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-13-2012, 11:48 AM
  2. Replies: 1
    Last Post: 06-28-2012, 11:53 AM
  3. Reference to Merged Cells
    By excelhelp18 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-29-2008, 10:49 AM
  4. [SOLVED] how do i link merged cells to a merged cell in another worksheet.
    By ibbm in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-27-2006, 06:45 PM
  5. width of Merged cells within un merged cells
    By Darin Kramer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-14-2005, 06:05 AM

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