Results 1 to 2 of 2
  1. #1
    dastr is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    8

    Choose match index in access

    Hi all,



    I have a quite complicated formula that I run in excel and I am wondering whetehr there is an alternative to do this in access:

    =CHOOSE(MATCH(B1,INDEX(LARGE(INDEX($B$1:$B$65536*( $A$1:$A$65536=A1),0),COUNTIF(A:A,A1)-(ROW(INDIRECT("1:" & COUNTA(A:A)))-1)),0),0),"1st","2nd","3rd","4th") & " best"

    which gives me the belowname/ score/ peronal best) -> logic if participant has only one score - this remains his/her first best; if more than 1 scores - then the lowest gets 1st best, second lowest - 2nd best, etc....see below the output:

    Anna 2 1st best
    Luisa 4 2nd best
    Luisa 3 1st best
    Angel 1 1st best
    Angel 8 4th best
    Angel 7 3rd best
    Angel 5 2nd best
    Arlene 1 1st best
    Arlene 9 2nd best

    Thanks!!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 16
    Last Post: 03-13-2012, 03:47 PM
  2. Access 2010 - Tab Index problem
    By ldare2000 in forum Forms
    Replies: 2
    Last Post: 09-07-2011, 05:26 AM
  3. Replies: 12
    Last Post: 10-15-2010, 10:03 AM
  4. How does access match records?
    By johnmerlino in forum Access
    Replies: 4
    Last Post: 10-05-2010, 08:51 AM
  5. Msg-box - choose teamnumber
    By carstenhdk in forum Reports
    Replies: 5
    Last Post: 05-31-2010, 01:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums