Results 1 to 11 of 11

merging data based on sheet name using combobox from userform

Threaded View

  1. #1
    Forum Contributor
    Join Date
    05-08-2021
    Location
    ALQUDS
    MS-Off Ver
    2019
    Posts
    218

    merging data based on sheet name using combobox from userform

    Hi
    I need merging duplicates items based on column D for QTY in column E and show price average for column F and show in listbox based on selected sheet from combobox1 except STOCK sheet will show as in sheet without any price average with ignore the others columns from showing in listbox .each sheet should merging alone for duplicates items.

    when select sheet should from combobox1 should merge the QTY and show average price to unit price column and QTY* UNIT PRICE in listbox for instance as in picture 1 for case1 in last sheet.
    and if the combobox1 is empty then will create names headers based on sheets names and show QTY every sheet after merge and the column QTY in listbox will calculate across sheets like this STOCK+BBR-BMTR+VSR-STR , and the BALANCE column = QTY column * UNIT PRICE column but when create unit price should be average price based on two sheets together STOCK,BBR when merge the ID .result when combobox1 is empty as in case2 for picture2 in last sheet.
    when matching ID for all of sheets will be in the same location except STOCK sheet,please be careful.
    also psted here
    https://www.mrexcel.com/board/thread...bobox.1251982/
    Attached Files Attached Files
    Last edited by Hasson; 02-26-2024 at 08:59 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] populate sheet based on criteria selected in userform combobox.
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-01-2019, 04:00 PM
  2. Transfer data to sheet based on Userform combobox selection
    By jackt05 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-17-2019, 10:11 AM
  3. UserForm Search Specific Sheet based on ComboBox
    By jimmisavage in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2017, 07:29 AM
  4. UserForm Search Specific Sheet based on ComboBox
    By jimmisavage in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-26-2017, 07:24 AM
  5. [SOLVED] Userform- conditional transfer of data based on combobox value
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-12-2016, 03:54 AM
  6. Replies: 0
    Last Post: 08-18-2015, 04:13 PM
  7. [SOLVED] Copy userform data to a second sheet based on ComboBox value?
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-08-2012, 09:09 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