+ Reply to Thread
Results 1 to 3 of 3

Combo boxs

  1. #1
    DenisN
    Guest

    Combo boxs


    Is it possisble to pick an item from a comb box and instead of a value
    appearing in one cell hav three different values appear in three
    different cells.

    Pick a ward from combo box and in three different cells
    hav

    Breakfast lunch Tea


    --
    DenisN

  2. #2

    Re: Combo boxs

    I don't know if there is a way to directly accomplish this with a combo
    box, but you could achieve the same effect easily enough, if there are
    only a few possibilities, Lunch and Tea could be responses from an IF
    statement.

    =IF(A1="Breakfast","Lunch",IF(A1="Another combo result","Something
    different"))

    Nest a few of those if you have more alternatives.

    If its more than a few IFs, I'd use vlookup, take the cell A1 (which in
    this case is "Breakfast") and look up breakfast in the table to see
    what goes next to it. So B1 and C1 would use the following formulae:

    =vlookup(A1,[range with a few options corresponding to the combo
    items],2,false)
    =vlookup(A1,[range with a few options corresponding to the combo
    items],3,false)

    Travis


  3. #3
    paul
    Guest

    Re: Combo boxs

    you would have to use travis's approach where the combo box triggers a lookup
    or if statement
    --
    paul
    remove nospam for email addy!



    "[email protected]" wrote:

    > I don't know if there is a way to directly accomplish this with a combo
    > box, but you could achieve the same effect easily enough, if there are
    > only a few possibilities, Lunch and Tea could be responses from an IF
    > statement.
    >
    > =IF(A1="Breakfast","Lunch",IF(A1="Another combo result","Something
    > different"))
    >
    > Nest a few of those if you have more alternatives.
    >
    > If its more than a few IFs, I'd use vlookup, take the cell A1 (which in
    > this case is "Breakfast") and look up breakfast in the table to see
    > what goes next to it. So B1 and C1 would use the following formulae:
    >
    > =vlookup(A1,[range with a few options corresponding to the combo
    > items],2,false)
    > =vlookup(A1,[range with a few options corresponding to the combo
    > items],3,false)
    >
    > Travis
    >
    >


+ 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