+ Reply to Thread
Results 1 to 12 of 12

[SOLVED] Link result of multiple text dropdowns to one cell

Hybrid View

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    hbg,pa
    MS-Off Ver
    Excel 2003
    Posts
    38

    [SOLVED] Link result of multiple text dropdowns to one cell

    I have a situation where I will have three or four different data validation text dropdown cells. I only expect that one will be selected but need to report the result of all in one cell linked on another page.

    I simplified what I am trying to do on the attached sample file.

    Thanks if you are able to help with this.

    Ken
    Attached Files Attached Files
    Last edited by Zooka; 10-01-2012 at 08:32 PM.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Link result of multiple text dropdowns to one cell

    Use

    =INDEX(A1:A3,MATCH(TRUE,A1:A3<>"",0))
    Confirm with Ctrl+Shift+Enter and not just Enter
    this will give you value on first populated cell from the top

    or the simpler
    =IF(A1="",IF(A2="",A3,A2),A1)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Link result of multiple text dropdowns to one cell

    Or with just ENTER,

    =INDEX(B1:B3,MATCH("*",A1:A3,0)) This will return the first value from B1:B3 even if multiple drop down are selected,

    =LOOKUP("zzzzz",A1:A3,B1:B3) This will return the last value from B1:B3 even if multiple drop down are selected.

    Assuming A1:A3 will be text entries.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Registered User
    Join Date
    06-07-2012
    Location
    hbg,pa
    MS-Off Ver
    Excel 2003
    Posts
    38

    Re: Link result of multiple text dropdowns to one cell

    Thanks both of you this helps alot. Will mark as SOLVED.

    Ken

  5. #5
    Registered User
    Join Date
    06-07-2012
    Location
    hbg,pa
    MS-Off Ver
    Excel 2003
    Posts
    38

    Re: Link result of multiple text dropdowns to one cell

    I just realized that my previous example did not include zero as a choice with my text drop downs. I hide the "0" with conditional formatting. How would this change the formulas?

    I have a revised example attached here.

    Changing from {solved} to unsolved.

    Thanks,

    Ken
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Link result of multiple text dropdowns to one cell

    So based on your last sample, what is your desired result?

  7. #7
    Registered User
    Join Date
    06-07-2012
    Location
    hbg,pa
    MS-Off Ver
    Excel 2003
    Posts
    38

    Re: Link result of multiple text dropdowns to one cell

    sorry for confusion, based on last example I would like to ignore zero and report first text drop down.

    Ken

  8. #8
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Link result of multiple text dropdowns to one cell

    This should work.

    =VLOOKUP("*",A1:B3,2,0)

  9. #9
    Registered User
    Join Date
    06-07-2012
    Location
    hbg,pa
    MS-Off Ver
    Excel 2003
    Posts
    38

    Re: Link result of multiple text dropdowns to one cell

    That works great!

    Thanks again! [SOLVED]

    Ken

  10. #10
    Registered User
    Join Date
    06-07-2012
    Location
    hbg,pa
    MS-Off Ver
    Excel 2003
    Posts
    38

    Re: Link result of multiple text dropdowns to one cell

    One more question...

    If all three dropdowns are selected to zero, I get an error #N/A . Is there a way to stop or hide this error?

    Thanks,

    Ken

  11. #11
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: [SOLVED] Link result of multiple text dropdowns to one cell

    One way is use IF,

    =IF(ISNA(VLOOKUP("*",A1:B3,2,0)),"",VLOOKUP("*",A1:B3,2,0))

  12. #12
    Registered User
    Join Date
    06-07-2012
    Location
    hbg,pa
    MS-Off Ver
    Excel 2003
    Posts
    38

    Re: [SOLVED] Link result of multiple text dropdowns to one cell

    You are awsome!

    I (we) finally have got this solved!

    Thanks again,

    Ken

+ 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