+ Reply to Thread
Results 1 to 3 of 3

Formula if an item from a list is selected in cell 1, then don't display in cell 2

Hybrid View

Silenz Formula if an item from a... 05-26-2013, 12:28 PM
benishiryo Re: Formula if an item from a... 05-26-2013, 08:47 PM
Tony Valko Re: Formula if an item from a... 05-26-2013, 09:51 PM
  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    Bucuresti
    MS-Off Ver
    Excel 2010
    Posts
    3

    Red face Formula if an item from a list is selected in cell 1, then don't display in cell 2

    Hello everyone !

    My problem is the following:

    I have a list of items (ex: cells C1:C10) and named that list -> "list1"

    In cell 1 I introduced that list with data validation, so in cell 1 it appears items from 1 to 10.

    What formula should I use in cell 2 to display the items from list1, but when in cell 1 item 1 is selected, then in cell 2 to appear items from 2 to 10, or if item5 is selected in cell 1, in cell 2 to appear items from 1 to 4 and from 6 to 10, etc.

    So basically when an item is selected in cell 1 from that list, in cell 2 to appear the other items, without the item selected in cell 1

    Can anyone help me?

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Formula if an item from a list is selected in cell 1, then don't display in cell 2

    hi Silenz, this video might help.

    http://www.youtube.com/watch?v=1t4yl7P7-9A

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula if an item from a list is selected in cell 1, then don't display in cell 2

    Try this...

    Let's assume C1:C10=

    Item1
    Item2
    Item3
    Item4
    Item5
    Item6
    Item7
    Item8
    Item9
    Item10

    Enter this array formula** in D1 and copy down to D10:

    =IFERROR(INDEX(C:C,SMALL(IF(COUNTIF(A$1:A$10,C$1:C$10)=0,ROW(C$1:C$10)),ROWS(D$1:D1))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    This new list in D1:D10 will be the source for the drop down lists.

    Now, setup the drop down lists...

    Select the range A1:A10
    Data Validation
    Allow: List
    Source: =OFFSET(D$1,,,COUNTIF(D$1:D$10,"?*"))
    OK out
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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