+ Reply to Thread
Results 1 to 5 of 5

drop down w/ corresponding statement

  1. #1
    Registered User
    Join Date
    10-17-2007
    Posts
    2

    drop down w/ corresponding statement

    ok here goes, i have a drop down, and what im trying to do is for a specific statement to be filled in a cell depending on the drop down picked

    attached is an example
    Attached Files Attached Files

  2. #2
    Forum Contributor wmorrison49's Avatar
    Join Date
    09-25-2007
    Posts
    267
    Try putting this where you want the statement to appear:

    =IF(C4="Word 1",H3,(IF(C4="Word 2",H4,(IF(C4="Word 3",H5,(IF(C4="Word 4",H6,"")))))))

    Let me know if this what you wanted.

  3. #3
    Registered User
    Join Date
    10-17-2007
    Posts
    2
    awesome it works thank you

  4. #4
    Forum Contributor wmorrison49's Avatar
    Join Date
    09-25-2007
    Posts
    267
    If you don't want to put the statements in quotes, you can do this too:

    =IF(C4=F3,H3,(IF(C4=F4,H4,(IF(C4=F5,H5,(IF(C4=F6,H6,"")))))))

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Or a simple vlookup

    =VLOOKUP(C4,$F$3:$H$6,3,FALSE)
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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