+ Reply to Thread
Results 1 to 13 of 13

Choose customer; only show non-blank boxes

  1. #1
    Registered User
    Join Date
    03-26-2010
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Choose customer; only show non-blank boxes

    I am making a spreadsheet to show all of the criteria each of our customers require on their Sales Order. Not all customers require the same info. I wanted to know if there is a way to choose one of the customers, and then show only the fields they require. Also, (if possible, but not absolutely needed) is there a way that when I choose the customer all of the required fields can be listed in 1 column rather than all the way across the columns? My spreadsheet is attached; sheet 1 is the beginning of my data and sheet 2 is how I would like it to look when I choose a specific customer.
    Attached Files Attached Files
    Last edited by LaurenSmalley; 02-03-2011 at 03:18 PM.

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Choose customer; only show non-blank boxes

    In Sheet2 cell B2 paste this formula:

    =VLOOKUP($B$1,Sheet1!$A$2:$M$45,MATCH(A2,Sheet1!$A$1:$M$1,0),0)&""

    drag it down to B8

  3. #3
    Registered User
    Join Date
    03-26-2010
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Choose customer; only show non-blank boxes

    Ok, but is there a way to have a drop down list to choose any customer number from sheet 1?

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Choose customer; only show non-blank boxes

    Sorry, missed the first part of your question.

    Select the cells on Sheet 1 and click in the name box (at left of formula bar)
    Type Customers and hit Enter
    Now you can go to Sheet2 and select B1
    Add Data Validation to that cell using a List
    Use Customers as the source for that list

    You will now have all your customer ID#'s in a dropdown that you can choose from

    Here's a link for more info on Named Ranges: http://www.contextures.com/xlnames01.html

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Choose customer; only show non-blank boxes

    In B2:

    =INDEX(Sheet1!$B:$M,MATCH($B$1,Sheet1!$A:$A,0),MATCH($A2,Sheet1!$B$1:$M$1,0))

    copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Registered User
    Join Date
    03-26-2010
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Choose customer; only show non-blank boxes

    It is giving me formula errors. If I attach my spreadsheet, can you do it and send it back?

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Choose customer; only show non-blank boxes

    I fail to see how that would help you to learn.

    What error(s) are you getting and with what formula?

  8. #8
    Registered User
    Join Date
    03-26-2010
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Choose customer; only show non-blank boxes

    When I do the data validation, the only option from the drop down menu is "CUSTOMERS". Am I supposed to select the whole table (including column titles) or just the data?

    The formula errors is talking about circular references.

  9. #9
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Choose customer; only show non-blank boxes

    Post your worksheet and I will tell you what you have to correct.

  10. #10
    Registered User
    Join Date
    03-26-2010
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Choose customer; only show non-blank boxes

    Cutter, I didn't realize that NBVC posted that formula. I left that out and only did the data validation...but still not working.

    I will not reply for an hour...lunch break.
    Attached Files Attached Files

  11. #11
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Choose customer; only show non-blank boxes

    Here you go.
    Attached Files Attached Files

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Choose customer; only show non-blank boxes

    FYI, my formula did work based on the sample you posted... just need to add the &"" to the end, for those cells that have no matches to return.

  13. #13
    Registered User
    Join Date
    03-26-2010
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Choose customer; only show non-blank boxes

    Thank you both for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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