+ Reply to Thread
Results 1 to 3 of 3

How to create a Lookup values from 1 combobox AND 1 TEXTBOX on a userform

  1. #1
    Registered User
    Join Date
    05-24-2020
    Location
    Romanian
    MS-Off Ver
    2019
    Posts
    3

    How to create a Lookup values from 1 combobox AND 1 TEXTBOX on a userform

    Hello dear excel lovers.
    I am new to this wonderful community and I am also new to the field of VBA excel. Every day I try to learn new things.
    I would like to mention that this is a topic given by a professor in order to enter the entrance exam.
    If you could help me and if you have time, in creating a userform that would search for me and calculate according to 2 criteria (product code and date) the following products according to the attached table.
    According to the images attached to the user form
    * the first boxes (textbox and combobox for data) are the search criteria
    * the following boxes are with the answers I want to find out according to the above criteria (textbox and combobox for data). But here I got stuck.
    A structure (Product code) can be made up of 1 or more packages (Product name), if the structure has several packages (ex k1, k2, k3, etc) to show me the boxes with results depending on how many packages it has structure. If the structure has 2 packages, 2 rows of results should appear to me, if it has 3, 3 rows of results should appear to me, if it has 1, only 1 row of results should appear
    * the next step is to calculate the total amount of quantities for each package according to the selected date
    * the next step is to calculate the total amount of quantities for each package from the first date in the table to the final date in the table. But the same condition applies as the one above the rows of results will appear depending on how many packages the structure has.
    The final step is to add the data resulting from the above process to the next sheet (PROCES). Provided that the structures that have more packages the total amount to be in a joint cell depending on how many packages it has. that is:
    if the structure has 4 packages the cell merges from 4 cells if it has 3 packages to merge from 3 cells and with the desired result.

    I will attach 3 images that may clarify you in what I said above. P.S. Thank you for your time .
    Attached Images Attached Images
    Attached Files Attached Files

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

    Re: How to create a Lookup values from 1 combobox AND 1 TEXTBOX on a userform

    1. "...this is a topic given by a professor in order to enter the entrance exam. ..."
    2. "... help me and if you have time, in creating a userform that would search for me and calculate ..."


    That's cheating and extremely dishonest, we're not substitute test takers. You submit someone else's work and bump a more eligible candidate.
    Last edited by protonLeah; 05-16-2021 at 01:43 PM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    05-24-2020
    Location
    Romanian
    MS-Off Ver
    2019
    Posts
    3

    Re: How to create a Lookup values from 1 combobox AND 1 TEXTBOX on a userform

    Quote Originally Posted by protonleah View Post
    1. "...this is a topic given by a professor in order to enter the entrance exam. ..."
    2. "... Help me and if you have time, in creating a userform that would search for me and calculate ..."


    that's cheating and extremely dishonest, we're not substitute test takers. You submit someone else's work and bump a more eligible candidate.
    i don't consider that it's cheating .... As long as i attached where i stumbled and didn't put the whole topic
    of the 10 subjects, this was the most problem. And i came here to ask for help.
    Maybe when you were in faculty and the teacher gave you a complicated topic and you didn't figure it out ..... You ask your colleagues how they could solve this thing. Can you consider this cheated?

+ 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] populate values into textbox on userform based on multiple combobox and two optionbuttons
    By ABDELFATTA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-15-2020, 12:52 AM
  2. [SOLVED] VBA Userform - Lookup/Match Textbox values to prefill other Textbox values
    By Lee_of_Excel in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-26-2020, 06:27 PM
  3. [SOLVED] lookup & match values from userform & insert text from textbox
    By Jamesraywebber85 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-10-2020, 12:47 AM
  4. Replies: 0
    Last Post: 08-18-2015, 04:13 PM
  5. Calculating/adding userform textbox values based on combobox selection and display to cell
    By SpreadsheetGirl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2015, 08:57 AM
  6. [SOLVED] Excel Userform: Populate other controls (i.e. textbox & combobox) based on combobox select
    By MileHigh_PhD in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2013, 04:50 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