+ Reply to Thread
Results 1 to 3 of 3

lookup text in a column and say if it exists

  1. #1
    Registered User
    Join Date
    01-17-2008
    Posts
    6

    lookup text in a column and say if it exists

    I have a spreadsheet that i am distributing that will be used to correct errors in customer info. I have a 6 characer alpha customer ID that I am giving my accounting office the option of changing BUT i want to put a flag up if that ID already exists in that column. example

    old id new id note
    ------------------------
    abcdef dfghij *ID Exists* (finds the id on the 5th line)
    bcdefg xvfghj
    cedfgh asdfer
    edfghi poilj1
    dfghij abcdef *ID Exists* (finds the id on the 1st line)

    this way they can choose another ID.

    i have tried using lookup, and hlookup but im aftraid im just not wrapping my brain around this problem.

    any help would be appreciated.

    thanks in advance!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    if your old id is in column A and the new in column B...

    then in C2,

    =IF(ISNUMBER(MATCH(B2,A:A,0)),"ID EXISTS","")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-17-2008
    Posts
    6

    perfect

    thanks! works great. i have yet to really use 'match' so i never think about it.

+ 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