+ Reply to Thread
Results 1 to 15 of 15

Can I auto-populate from a merged cell?

  1. #1
    Registered User
    Join Date
    08-20-2016
    Location
    Addison, TX
    MS-Off Ver
    2013
    Posts
    8

    Question Can I auto-populate from a merged cell?

    Hello all!
    First time on the forum and looking forward to getting connected. I'm trying to populate cells from one worksheet into another sheet in the same workbook. Problem may be that they are merged cells, since I've had no trouble doing it in other cells. Is this even doable?

    Hope the question makes some sense. Appreciate any help out there.

    Bruce

  2. #2
    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
    52,929

    Re: Can I auto-populate from a merged cell?

    Hi, welcome to the forum

    1st, we all pretty much try and advise against using merged cells whenever possible, they cause all sorts of problems with formulas.
    2nd keep in mind, that in any range of cells that are merged, ONLY the top-left most cell actually contains data, all the others are empty. So in a merged range A1:J1, only A1 will ever contain data.

    Having said that, what exactly are you trying to do?
    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

  3. #3
    Registered User
    Join Date
    08-20-2016
    Location
    Addison, TX
    MS-Off Ver
    2013
    Posts
    8

    Re: Can I auto-populate from a merged cell?

    Thanks for the quick reply, Ford. The document I'm working on comes from a client with the basic structure they're looking for and I'm adding the calculations, some buttons to link to various sheets, and then making it pretty for them. The structure they provided has an Executive Summary page at the front, which will largely populate from the other sheets. That's where the problem comes in since they set it up using quite a few merged cells, both on the content sheets and the Executive Summary. No problem getting the calculations to copy over, it's those darn merged cells!

  4. #4
    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
    52,929

    Re: Can I auto-populate from a merged cell?

    And this is why we almost always advocate not using them lol, but reality is what counts.

    We will need more info to see if we can come up with any suggestions

  5. #5
    Registered User
    Join Date
    08-20-2016
    Location
    Addison, TX
    MS-Off Ver
    2013
    Posts
    8

    Re: Can I auto-populate from a merged cell?

    The document is attached. The Executive Summary tab explains pretty clearly what they want to accomplish. I may just need to rework it and figure out another way to get it done.

  6. #6
    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
    52,929

    Re: Can I auto-populate from a merged cell?

    So on Cust Demo, you will enter the Cust details? e10:e13
    And you want that referenced in Exec Summary E10:E13?

    Looks like you were almost there, you fell prey to what I said about only the left-most cell containing data...
    ='2. Customer Demographics'!E10

  7. #7
    Registered User
    Join Date
    08-20-2016
    Location
    Addison, TX
    MS-Off Ver
    2013
    Posts
    8

    Re: Can I auto-populate from a merged cell?

    It's interesting you point that out, because that one worked even with merged cells. It's the ones coming from other sheets like Customer Industry that are merged across multiple rows that seem to be my problem.

  8. #8
    Registered User
    Join Date
    08-20-2016
    Location
    Addison, TX
    MS-Off Ver
    2013
    Posts
    8

    Re: Can I auto-populate from a merged cell?

    OK I think you got me going the right direction though and I changed it to reference just the one cell, not the range, and it worked. When the source cell is blank, the Exec Summary displays zero though, which I don't love but probably can live with. Perhaps an IF function would fix that but I keep getting error message when I try that. Better work on this tomorrow with a fresh brain.

    Really appreciate your help tonight, Ford!

    Bruce
    Last edited by bruce_a; 08-21-2016 at 01:02 AM.

  9. #9
    Registered User
    Join Date
    08-20-2016
    Location
    Drosopila
    MS-Off Ver
    2013
    Posts
    11

    Re: Can I auto-populate from a merged cell?

    Try this:

    1- Un-merge cells on "1. Executive Summary!B22:O29"
    2- Use =CONCATENATE('3. Customer Industry'!B52:O63) in the first cell "1. Executive Summary!B22"
    press control+shift+enter to enter the formula
    3- Merge again the cells on "1. Executive Summary!B22:O29"

  10. #10
    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
    52,929

    Re: Can I auto-populate from a merged cell?

    =COUNTIFS(Statistics!$B:$B,"*"&D$2&"*",Statistics!$C:$C,">="&$C3,Statistics!$C:$C,"<"&EDATE($C3,1))
    =if(your-formula="","",your-formula)

  11. #11
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Can I auto-populate from a merged cell?

    Not seen the data, but as already said advice yor client NOT to work with merged cells. Have you considered adding aĺl data on 1 sheet and then use a pivot table to analyse the data.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  12. #12
    Registered User
    Join Date
    08-20-2016
    Location
    Addison, TX
    MS-Off Ver
    2013
    Posts
    8

    Re: Can I auto-populate from a merged cell?

    Getting back to it again today and will try the suggestions. Really appreciate the assist! I'll update later on.

  13. #13
    Registered User
    Join Date
    08-20-2016
    Location
    Addison, TX
    MS-Off Ver
    2013
    Posts
    8

    Re: Can I auto-populate from a merged cell?

    forilohud, that seems to be working for me. Really appreciate the suggestion. That's a new tool for me! Thanks!

  14. #14
    Registered User
    Join Date
    08-20-2016
    Location
    Addison, TX
    MS-Off Ver
    2013
    Posts
    8

    Re: Can I auto-populate from a merged cell?

    Coming back to this thread with an additional question if anyone can help. I'm using the =concatenate function as noted above and the calculation works fine. Problem is I'm trying to format the cell where the =concatenate is as currency but it will not reflect that change and even displays as such in the formatting dialog box. Any suggestions for formatting this or some type or workaround?

    Thanks much!
    Bruce

  15. #15
    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
    52,929

    Re: Can I auto-populate from a merged cell?

    Concatenate always produces a text answer, even if it looks like a number/currency - and no amount of formatting will change that. A way around that is to use the TEXT function to "force" formatting, something like
    TEXT(K7,"$0")

+ 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. Auto re-sizing a merged cell based off a dynamic search?
    By tonyridino in forum Excel General
    Replies: 11
    Last Post: 11-08-2015, 10:48 AM
  2. Replies: 0
    Last Post: 11-25-2014, 07:08 AM
  3. Cell (raw) auto height for wrapped text in 4 merged cell.
    By niravdani in forum Excel General
    Replies: 1
    Last Post: 11-06-2014, 04:54 AM
  4. [SOLVED] Auto Populate cell based on auto filter selection from table in same sheet
    By missydanni in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 05:03 PM
  5. Auto Resize Pasted Picture to merged cell
    By CyberPath in forum Excel General
    Replies: 2
    Last Post: 04-15-2012, 07:13 AM
  6. Replies: 3
    Last Post: 02-28-2012, 11:54 AM
  7. [SOLVED] Auto populate a cell
    By Sam Ricca in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2006, 10:55 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