+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : stop duplicate items in a range

  1. #1
    Registered User
    Join Date
    08-05-2010
    Location
    surrey
    MS-Off Ver
    Excel 2007
    Posts
    1

    stop duplicate items in a range

    I have a stock list of printer toners. They are labelled Axxx. eg

    1 A B C D
    2 HP 760a A12 A34 A136
    3 HP 11a A223 A333 A410

    I want, from the range B2:D3

    the current highest Axxx to be put a cell so I don't have to read all the range to get the next one

    or to be prompted for the next Axxx when I type it into a cell

    or be stopped from typing in an Axxx below the highest item.

    I've tried COUNTIF etc - works fine on numbers but not text and numbers. COUNTIF only seems to work on a column, not a range.

    I don't want to use a macro.

    Thanks.

    Paul McLaughlin

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: stop duplicate items in a range

    See if this is what you intended. Based on your example data, which occupies the range of A2:E3 (after deleting the simulated row/column headers), this formula in C1:

    {=MAX(MID(C2:C3,2,LEN(C2:C3)-1)+0)}

    This is an array formula and must be committed using the Ctrl + Shift + Enter keys in combination.

    BTW, your thread content has absolutely nothing to do with your thread title (which you should revise to make it agree with the thread content).
    I suggest you change it to something along the lines of: Find max number in list of alphanumeric values
    Attached Files Attached Files
    Last edited by Palmetto; 08-05-2010 at 07:15 PM.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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