+ Reply to Thread
Results 1 to 12 of 12

Help with dropdown without using macro

Hybrid View

  1. #1
    Registered User
    Join Date
    05-30-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    38

    Help with dropdown without using macro

    Hi,

    Please look at attached document. I need help with dropdown-cell. Anyone who know how to do this without using macros?

    Thanks in advance

    JohnnyWalker
    Attached Files Attached Files

  2. #2
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Help with dropdown without using macro

    Create a drop down list in Col K1 to k...., In Col J1 put 1 & Put the following formula in Col J2 and drag it down
    Formula: copy to clipboard

    =IF(K2<>"",MAX(J1:J1)+1,"")


    Now select b2 and goto data validation under data, Choose "List" from setting validation criteria, and in Source put the following formula
    Formula: copy to clipboard
    =INDIRECT(ADDRESS(MATCH(A1,$K:$K,0)+1,11)&":"&ADDRESS(MATCH(MAX(J:J),$J:$J,0),11))


    It will create a drop down list depending in the text in col a1

    attached herewith your file for better understanding
    Attached Files Attached Files
    Rgd
    RT
    If my answer(s) helped you, please add me reputation by click on *

  3. #3
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Help with dropdown without using macro

    Sorry i think i misread your question.
    Create a drop down list in Col K1 to k.... (say one, two, three.....)
    Now in B2
    Formula: copy to clipboard
    =IFERROR(INDIRECT(ADDRESS(MATCH(A1,$K:$K,0)+1,11)),"")

    and in b3
    Formula: copy to clipboard
    =IFERROR(INDIRECT(ADDRESS(MATCH(B1,$K:$K,0)+1,11)),"")

    and drag it down as per required.

    Now if a1= "one", then b2>b6 shows "two, three, four...."
    If a1="Two", then b2>b6 shows "Three, Four, five..."
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-30-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Help with dropdown without using macro

    Hi,

    Thanks alot

    /Johnny

  5. #5
    Registered User
    Join Date
    05-30-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Help with dropdown without using macro

    Hi again.

    What if i don't have numbers? If i understand it correct this formula "translate" the text to numbers. In my case it is not sure it is numbers, but can be some other kind of text. See attachement.

    Kind Regards
    Johnny
    Attached Files Attached Files

  6. #6
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Help with dropdown without using macro

    In a2
    Formula: copy to clipboard
    =IFERROR(INDIRECT(ADDRESS(MATCH(A1,$A$14:$A$30,0)+14,1)),"")

    and drag it down
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-30-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Help with dropdown without using macro

    Hi again,

    I'm getting closer and closer
    Attached now is the actual document i need help with (sorry for not posting it at once). I almost manage this, but there are some errors

    Could anyone be so nice and help me?

    Kind Regards
    Johnny
    Attached Files Attached Files

  8. #8
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Help with dropdown without using macro

    try this

    Formula: copy to clipboard
    =IFERROR(IF(INDEX(A18:A36,MATCH($A$1,A18:A36,0)+ROW()-1,1)=0,"",INDEX(A18:A36,MATCH($A$1,A18:A36,0)+ROW()-1,1)),"")

    in A2 and copied to a6

  9. #9
    Registered User
    Join Date
    05-30-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Help with dropdown without using macro

    Hi! Tried this for 1/2 hour now, and cant make it work :/

  10. #10
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Help with dropdown without using macro

    A little correction will do your work
    You need to freeze the range

    Formula: copy to clipboard
    =IFERROR(IF(INDEX($A$14:$A$32,MATCH($A$1,$A$14:$A$32,0)+ROW()-1,1)=0,"",INDEX($A$14:$A$32,MATCH($A$1,$A$14:$A$32,0)+ROW()-1,1)),"")



    Its working for fine me. see the attachment
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    05-30-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Help with dropdown without using macro

    Thanks rajeshturaha

  12. #12
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Help with dropdown without using macro

    Glade it helped you.
    Plz click on the * to add to my reputation or rank this thread.

    If you get a solution to your problem, as per rule, plz mark this thread as solved
    Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes.

+ 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. VBA Macro for List Dropdown
    By AliceAyers292 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-24-2013, 03:14 AM
  2. Need a Macro code for Dropdown
    By chiru7963 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-14-2012, 12:30 AM
  3. DropDown List Macro
    By aftabn10 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-13-2009, 11:55 AM
  4. DropDown Menu Macro
    By alex1982 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2006, 03:05 PM
  5. Macro for Dropdown
    By ryan r in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2005, 09:05 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