+ Reply to Thread
Results 1 to 2 of 2

Vlookup

  1. #1
    Registered User
    Join Date
    02-09-2008
    Posts
    1

    Vlookup

    trying to explain this may tough, we have a speadsheet with 12k rows and 8k unique accounts numbers. We are assigning a rank to these account numbers
    The problem we are having is many of these are accounts are the same account number all in column A, and rank is in B... But we may have the same rank for differnt acount numbers... instead of all the copying and pasting does anyone have an idea for a formula that may work to solve this, so as long as I rank one of the accounts it will duplicate its rank all the way down the columns. your help would be much aprreaciated
    So i will have to rank 8k accounts individually, which is fine, i just need it to repeat itself if there are duplicate account numbers...which there are 4k duplicates

    account rank
    1234 1
    1256 2
    1234 1
    1298 1
    1234 1
    1298 1
    1256 2
    1865 3
    1865 3
    1865 3
    1234 1
    1234 1
    1298 1

  2. #2
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520
    Quote Originally Posted by MIKETPCC2
    So i will have to rank 8k accounts individually, which is fine, i just need it to repeat itself if there are duplicate account numbers...which there are 4k duplicates
    A vlookup would be one easy way.
    Assume you've got the 8k unique accounts/ranking
    listed in Sheet1's col A & B

    In Sheet2,
    Assume the 12k accts are listed in A2 down
    Put in B2:
    =IF(ISNA(MATCH(A2,Sheet1!A:A,0)),"",VLOOKUP(A2,Sheet1!A:B,2,0))
    Copy down as far as required.
    Max
    Singapore

+ 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