+ Reply to Thread
Results 1 to 3 of 3

Data Validation: Remove only one entry of multiple entries in list

Hybrid View

  1. #1
    Registered User
    Join Date
    06-24-2008
    Posts
    10

    Data Validation: Remove only one entry of multiple entries in list

    Hey all,

    I've searched and couldn't really find anything that was related to what I am looking for. I am writing a tracker for a game and am using drop-down lists to choose stats. One set of stats has multiples of the same number in it, however. I am using info found in a link from here, to create the dropdown menu and have the entry be removed.

    When I choose a number that has multiples, however, removes all the entries rather than just one. Is there a way to make it only remove one of the entries? Here's what I'm using:

    Formula: copy to clipboard

    Column A has numbers 4, 3, 3, 2, 2, 2, 1, 1, 1, 1 which are the master list contents.

    Column B has a formula to generate a number to tell whether or not that number has been used in that range. That formula is:

    =IF(COUNTIF('Character Tracker v1.0'!$B$25:$B$50,A12)>=1,"",ROW())

    Column C has a formula to remove used entries from the list. Column C itself is the list source. That formula is:

    =IF(ROW(A7)-ROW(A$7)+1>COUNT(B$7:B$16),"", INDEX(A:A,SMALL(B$7:B$16,1+ROW(A7)-ROW(A$7))))


    Any help would be appreciated. I just can't figure out what to do, since I'm sure I have to alter the formula in Column B but I'm not sure how.

    Thanks in advance!
    Last edited by elmerg; 09-13-2013 at 02:09 PM. Reason: Fixing an error

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,964

    Re: Data Validation: Remove only one entry of multiple entries in list

    To attach a Workbook
    (please do not post pictures of worksheets)
    • Click Advanced (next to quick post),
    • Scroll down until you see "Manage Attachments",
    • Click that then select "add files" (top right corner).
    • Click "Select Files" find your file, click "open" click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Click "Done" at bottom right to close the Attachment Manager.
    • Click "Submit Reply"
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    06-24-2008
    Posts
    10

    Re: Data Validation: Remove only one entry of multiple entries in list

    Let's try this again. Attached is the workbook I'm working in. The two sheets in question are:

    Character Tracker v1.0
    Data

    On the sheet Character Tracker, halfway down is a list of skills. In column B there is a dropdown list via data validation with a series of numbers. The numbers are repeated due to being starting points that can be assigned to a skill.

    On the sheet Data, starting with A7 is the list of all the starting points; B7 is the formula to determine whether an entry has been used; and C7 through C16 is the revised dropdown list for choosing numbers.

    The problem I'm having is when I choose a number with multiples, it removes all of that, not just a single one. So if I choose a 3, both 3s disappear rather than only one. I would definitely appreciate help remedying this problem.

    Thanks in advaance!
    Attached Files Attached Files

+ 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. Remove blank entries from data validation list
    By Icarus in forum Excel General
    Replies: 7
    Last Post: 11-08-2012, 01:56 AM
  2. Replies: 0
    Last Post: 10-06-2011, 07:03 AM
  3. Data Validation - List OR Any entry
    By Lassie in forum Excel General
    Replies: 1
    Last Post: 01-01-2011, 11:36 PM
  4. Data>Validation>List - Unique Entries
    By Rasheed Ahmed in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-10-2006, 07:00 AM
  5. [SOLVED] update data validation list with new entries??
    By cjtj4700 in forum Excel General
    Replies: 10
    Last Post: 12-11-2005, 09:10 PM

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