+ Reply to Thread
Results 1 to 19 of 19

I need an excel file which allow user to select Category, Subcategory and subCategory1

  1. #1
    Registered User
    Join Date
    04-25-2014
    Location
    Mohali
    MS-Off Ver
    Excel 2003
    Posts
    9

    Post I need an excel file which allow user to select Category, Subcategory and subCategory1

    I need an excel file which allow user to select Category, Subcategory and subCategory1 fro
    For example below data:
    Category Test1 Test1.1 Test2 Test2.1 Test3 Test3.1 Test4 Test4.1 Test5 Test5.1 Test6 Test6.1.1
    Test1 Test1.1 Test1.1.1 Test2.1 Test2.1.1 Test3.1 Test3.1.1 Test4.1 Test4.1.1 Test5.1 Test5.1.1 Test6.1 Test6.1.1
    Test2 Test1.2 Test1.1.2 Test2.2 Test2.1.2 Test3.2 Test3.1.2 Test4.2 Test4.1.2 Test5.2 Test5.1.2 Test6.2 Test6.1.2
    Test3 Test1.3 Test1.1.3 Test2.3 Test2.1.3 Test3.3 Test3.1.3 Test4.3 Test4.1.3 Test5.3 Test5.1.3 Test6.3 Test6.1.3
    Test4 Test1.4 Test1.1.4 Test2.4 Test2.1.4 Test3.4 Test3.1.4 Test4.4 Test4.1.4 Test5.4 Test5.1.4 Test6.4 Test6.1.4
    Test5 Test1.5 Test1.1.5 Test2.5 Test2.1.5 Test3.5 Test3.1.5 Test4.5 Test4.1.5 Test5.5 Test5.1.5 Test6.5 Test6.1.5
    Test6 Test1.6 Test1.1.6 Test2.6 Test2.1.6 Test3.6 Test3.1.6 Test4.6 Test4.1.6 Test5.6 Test5.1.6 Test6.6 Test6.1.6

    I need dropdown on below heading :

    Category SubCategory SubCategory1
    Test1 Test1.1 Test1.1.1



    Dropdown three.xlsx


    when first dropdown select displays all value of Category Column and on the basis of this Subcategory dropdown fill while choosing and soon.


    PFA and help if any body know
    Last edited by Jaidutt; 04-25-2014 at 05:18 AM. Reason: spelling

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    Hello Jaidutt,

    first select all your data. Go to formulas --> name manager and click create from selection. Once you do that a window will open click Top Row.

    click Ok and close the window.

    select O2 then go to data tab ---> data validation. IN allow select List and in source type = categories
    select P2 then go to data tab ---> data validation. IN allow select List and in source type = if(O2="","",indirect(O2))

    copy paste below in Q2 then hold control and shift together and hit enter to make it array formula and release all three keys
    =INDIRECT(TEXT(MAX(IFERROR(IF(SEARCH(P2,$B$2:$M$7)>0,ROW($B$2:$M$7)*100+COLUMN($B$2:$M$7))+1,0)),"R00C00"),0)
    Attached Files Attached Files
    Last edited by hemesh; 04-25-2014 at 06:22 AM. Reason: **corrected formula
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    04-25-2014
    Location
    Mohali
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    Thanks for help, but
    third drop-down not working on basis of second

    Category SubCategory SubCategory1
    Test1 Test1.1 Test2.6

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    copy paste below in Q2 hold control and shift and then hit enter to make it array formula
    =INDIRECT(ADDRESS(SMALL(IFERROR(IF($B$2:$M$7=$P2,ROW($B$2:$M$7)),FALSE),1),SMALL(IFERROR(IF($B$2:$M$7=$P2,COLUMN($B$2:$M$7)+1),FALSE),1)))

  5. #5
    Registered User
    Join Date
    04-25-2014
    Location
    Mohali
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    Hello Hemesh,

    I need as displays in below image when select :

    Dropdown.png
    Last edited by Jaidutt; 04-25-2014 at 07:30 AM.

  6. #6
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    select Q2 then go to data validation select list in source copy paste below
    =IF($O2="","",INDIRECT($O2&".1"))
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-25-2014
    Location
    Mohali
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    Thanks, i believe we are very close, i need to apply on all rows of a sheet, should i need this in separate sheet?

  8. #8
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    what actually you want to do ?

  9. #9
    Registered User
    Join Date
    04-25-2014
    Location
    Mohali
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    PFA

    in Excel sheet 1(Result) in need to drop down in column (Category,SubCategory) on basis of sheet 2(All Cat). Please help
    Attached Files Attached Files
    Last edited by Jaidutt; 04-25-2014 at 07:53 AM. Reason: changes

  10. #10
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    Jaidutt, can you upload a sample book!
    with what you are seeking

  11. #11
    Registered User
    Join Date
    04-25-2014
    Location
    Mohali
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    PFA

    in Excel sheet 1(Result) in need to drop down in column (Category,SubCategory) on basis of sheet 2(All Cat). Please help
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    what are the item for subcatagory1 for crafting

  13. #13
    Registered User
    Join Date
    04-25-2014
    Location
    Mohali
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    Thanks for quick reply.

    Please make it for category and Subcategory only, will provide you details tommorow

  14. #14
    Registered User
    Join Date
    04-25-2014
    Location
    Mohali
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    PFA for details for 3 level category and reply
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    04-03-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    75

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    You have all of your lists nicely laid out so that will make your life easy. Obviously I can tell that your sub categories are incomplete, but so long as you continue setting them up as you have you should have no problems. For this method to work the titles of your lists and their content along with the titles of the subsequent categories must be identical. i.e. if your initial category list has an item called Boxes, you must make sure the Sub category list for this item is titled "Boxes", not "Crates" or "Boxez" etc.

    1.
    Go to your All Cat worksheet>> click Formulas tab at the top>> Highlight one of your lists INCLUDING the title>> In the formulas tab click "Define Name" (The name entered automatically should be the same as the title of the list you highlighted; if it's not change it manually) and click OK>> Do this for EVERY LIST.

    2.
    Go to Results worksheet>> click Data tab>> Select cell you want first dropdown to appear (in your case it looks like K2)>> click "Data Validation" in the Data tab>> select "List from the "Allow" dropdown and adjust settings to your preference (allow blanks?)>> in the Source line type =Category (Assuming that is the first list you want people to select from>> For each subsequent dropdown (so all the ones to the right) repeat this process but for the source type =INDIRECT($ COL. ROW), making the Column letter the same as the column to the LEFT of the one you are creating a new drop box in and the row number the same as the drop box before it. e.g. in your case it looks like cell K2 is going to have source =Category, cell L2 has source =INDIRECT($K2) and cell M2 has source =INDIRECT($L2)>> Drag down as far as you want.

    NOTE: An error message will appear saying "The source currently evaluates to an error etc etc etc" That's fine, just say "Yes".

    Hope that all makes sense and helps.

  16. #16
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    Here's a solution to your first question.
    Attached Files Attached Files

  17. #17
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    Hello Jaidutt! Find attached.

    I have just separated your sub category and child category.


    I have used name formulas which you can check in the formula Tab-----> Name Manager

    Just drag the list down to the desired number of rows for each category/Sub category or child Category.


    Hope this helps.
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    04-25-2014
    Location
    Mohali
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    Thanks All, I will try it and if found any issue will update here.

    Thanks again for reply!

  19. #19
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: I need an excel file which allow user to select Category, Subcategory and subCategory1

    When your query is solved, On that time mark this thread as Solved

+ 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. Let user select file to open
    By a94andwi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-13-2014, 10:32 AM
  2. [SOLVED] How to prompt user to select file to attach to an E-Mail (Excel to Outlook)
    By TheLittlePrince in forum Outlook Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2013, 05:33 AM
  3. [SOLVED] Populating subcategory cells with adjacent text from category cells
    By MrRed in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2012, 08:21 AM
  4. How do i code a VBA to ask the user to select which file to use
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 05-16-2012, 07:26 PM
  5. [SOLVED] How do I select all values within a category in Excel?
    By dmz_asdf in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-12-2006, 12:50 AM

Tags for this Thread

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