+ Reply to Thread
Results 1 to 9 of 9

Request Form help

  1. #1
    Registered User
    Join Date
    10-12-2017
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    4

    Request Form help

    Hi,

    Is it possible to select an item on sheet 1 from sheet 2 that will then populate on the sheet 1? But you can select multiple items from sheet 2.

    As in, an item will be selected from on sheet 1, from a list of items on sheet 2 by way of a drop down menu. This item will then be populated on sheet 1 on the right hand side, giving you a list of what you have selected, with other details regarding the item you have chose.

    Not sure if that makes any sense.

    Thanks to anyone who can help

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Request Form help

    Quote Originally Posted by Goldie1978 View Post
    Not sure if that makes any sense.
    Nope. Not much!!



    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    10-12-2017
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    4

    Re: Request Form help

    Hi,

    I've attached a small example below.

    So, what I'm looking to do(if possible)is, select an item from CAT A sheet, using the Equipment Required cell in the Draft 1 sheet. Once its the item is selected from a drop down menu, it then populates into the Selected Items section on the right hand side and I can then select another item and so on.
    The Amount cell using a drop down of numbers will also appear in the Amount cell in the Selected Items section.

    Excel might not be the right program to use but thought I'd ask before I give up and try something else.

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Request Form help

    1. create a unique list of assets (Sheet Cat A, K2), using this array formula:
    =IFERROR(INDEX($B$2:$B$9,MATCH(0,COUNTIF($B$2:$B$9,"<"&$B$2:$B$9)-SUM(COUNTIF($B$2:$B$9,"="&K$1:K1)),0)),"")

    2. set up a Named range (CTRL-F3 - called assets) to adjust the data validation automatically using an ordinary formula
    =OFFSET('Cat A'!$K$2,,,SUMPRODUCT(--(LEN('Cat A'!$K$2:$K$100)>0)))

    3. use "Assets" as data validation in Draft 1 B4.

    4. use variants of this array formula, to pull over the required information:

    =IFERROR(INDEX('Cat A'!A:A,SMALL(IF('Cat A'!$B$2:$B$9='Draft 1'!$B$4,ROW('Cat A'!$B$2:$B$9)),ROWS(D$5:D5))),"")



    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...

    I have absolutely no idea what you mean by "The Amount cell using a drop down of numbers will also appear in the Amount cell in the Selected Items section."

    is this going in the correct direction??
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-12-2017
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    4

    Re: Request Form help

    Hi,

    Thanks for replying.

    The amount is just the amount they are requesting. i.e. 1 or 2 of a specific item.

    What you have done looks great, I'm now just looking to see if its possible to have multiple different items in the Selected Items section. So once you choose one item, you Equipment Required field goes empty and you can select another.

    Thank you for your help, its helping me massively!!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Request Form help

    Ah no. For that sort of thing, you will need to explain much more clearly up-front. It will also almost certainly require VBA.

  7. #7
    Registered User
    Join Date
    06-11-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Request Form help

    I'm assuming the OP wants to have a dropdown pull the asset and the ability to add a value then post/save those results and continue the process for multiple lines. This would need VBA but isn't too hard. You would just need a copy/paste values macro that finds the bottom of a data set. The only issue is the Asset type (Andersen Cascade Impactor). There are multiple ones with only the serial and asset ID being different. That would need a dynamic dropdown listing fed from the first selection before the results are delivered. If this is correct and validated by the OP, I'll work on it.

  8. #8
    Registered User
    Join Date
    10-12-2017
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    4

    Re: Request Form help

    Quote Originally Posted by mstwntd View Post
    I'm assuming the OP wants to have a dropdown pull the asset and the ability to add a value then post/save those results and continue the process for multiple lines. This would need VBA but isn't too hard. You would just need a copy/paste values macro that finds the bottom of a data set. The only issue is the Asset type (Andersen Cascade Impactor). There are multiple ones with only the serial and asset ID being different. That would need a dynamic dropdown listing fed from the first selection before the results are delivered. If this is correct and validated by the OP, I'll work on it.
    Hi,

    That's correct, someone could request the use of 2 or 3 of the same item, and they would have different serial numbers etc but thinking about it, the serial number and asset number doesn't have to be included as I can manually put that in on another form. The 'Amount' cell will indicate how many items they take and can be either manually input in the Amount column or using a drop down, which then transfers to over to that column.

    Maybe excel is not the best way forward for this, so please don't waste any time if its not.

    Thanks for your help...

    James
    Last edited by Goldie1978; 10-13-2017 at 04:29 AM.

  9. #9
    Registered User
    Join Date
    06-11-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Request Form help

    I'll try to create something for you on this. It may take awhile. I'm in a conference next week.

+ 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] Holiday request form - help with formatting please
    By STUARTXL in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-15-2016, 04:28 AM
  2. Ad hoc request form info sent automatically to another workbook
    By V.Cell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-21-2015, 12:56 PM
  3. [SOLVED] A request to create a user form
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2015, 05:15 AM
  4. User form to help organizing the machine request.
    By shan_shan088 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-13-2014, 01:22 AM
  5. excel information request form development
    By twmtwp in forum Excel General
    Replies: 4
    Last Post: 11-23-2011, 05:53 AM
  6. Excel request and approval form via e-mail
    By Tokkwang in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2010, 02:34 PM
  7. Creating a form to request a row of data
    By pktboy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-02-2008, 09:02 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