+ Reply to Thread
Results 1 to 7 of 7

merge 3 sheets by unique combobox value

  1. #1
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    merge 3 sheets by unique combobox value

    hi
    I have some 3 sheets is it possible to merge all 3 based on userform combobox selection,on each sheet is a unique id number but might not be in same cell number.
    I would like to extract certain cells from different sheets and merge them,i also have a date on each sheet,the ides is to have a record of the item from been bought to been scrapped sheet1 is an inventory ,sheet4 where it has been issued to /from and sheet repairs is obviously when it was repaired/overhauled,hope this explains what is the best way to go, out put can be userform or sheet ,any ideas please,thought of combobox with unique data but can you look at 3 sheets at once
    cheers colin

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: merge 3 sheets by unique combobox value

    Please explain what you mean by merging sheets. How do you want the merged sheet to look, compared to the 3 source sheets? Are you wanting the data from 3 cells combined into a single cell value?

  3. #3
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: merge 3 sheets by unique combobox value

    hi
    I have a sheet that issues items and returns them sheet4,and a sheetrepairs that repairs or overhauls items what I want to do is merge these sheets both have dates and arrange them in order of item and date say item was overhaualed on 06/09/13 and was issued and returned before this date then issued after ect,will forget about 3 sheet
    cheers colin

  4. #4
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: merge 3 sheets by unique combobox value

    Sorry, still very vague. Punctuation might help. The English language kind of needs it.

    Maybe include a sample sheet with examples.

  5. #5
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: merge 3 sheets by unique combobox value

    hi
    have uploaded program sheet4 wants to be as it is, and repairs as it is,merged into one file ,ie
    st009 1ton webbing 2m 12/12/12 return date ect
    st009 1ton webbing 2m 13/12/12 overhauled date ect
    st009 1ton webbing 2m 15/12/12 issued date ect
    and a way of calling st009 ect
    I thought bout combobox callng both sheets and then merge
    not sure if this can be done because cells are different
    and English aint that bad or maybe it is
    cheers colin
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: merge 3 sheets by unique combobox value

    hi
    I adapted userform33 to look up sheet4 which gives me a history but not history of repairs
    cheers colin

  7. #7
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: merge 3 sheets by unique combobox value

    Colin, I'm sure you don't want to hear this, because you or someone has obviously gone to great lengths and hours to develop this app, but it's just screaming to be converted to an Access database. Extensive, redundant data on multiple worsheets makes a lot of extra data entry work and storage that is inefficient, error-prone, and hard to work with, as you're experiencing.

    That being said, it's still unclear what you want. You said merge into one file, but the entire workbook is a file, so maybe you mean into one new worksheet with Sheet4 data on the left side and matching Repairs data on the right? Then you would be creating even more redundant data. You also didn't say which records to merge. Sheet4 has 421 records, and Repairs has 25, so does that mean your new sheet would have 25 records of combined data? Your example is for ID# st009, but there's no such record on either sheet, so that wasn't much help. And why merge to a new worksheet? You could just put vLookups in Sheet4 to pull associated Repairs data into Sheet4.

    Sorry, I'm probably not being much help, but still not clear on what you need or why.
    Last edited by natefarm; 12-13-2013 at 11:36 AM. Reason: typos

+ 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. Userform: Unique Values to ComboBox
    By dinosaur1993 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-21-2013, 03:09 AM
  2. [SOLVED] ComboBox To Reflect Unique Values
    By Doctor_H in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2013, 03:36 PM
  3. fill combobox with unique values.
    By ali84pk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-01-2011, 06:23 AM
  4. Replies: 0
    Last Post: 01-14-2010, 04:33 PM
  5. ComboBox - VBA - Unique Views...
    By Strat94 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-13-2009, 07:24 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