Results 1 to 3 of 3
  1. #1
    crimedog is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    141

    Use Excel like Choose & Match

    I have everything working right so far - Variable reps with variable Quotas etc...
    Now I need to take their Quota achievement and evaluate it against ranges to determine the payout.


    So
    In Excel I would use:
    Code:
    =CHOOSE(MATCH(E4,G4:L4,1),0,0.6,0.75,0.85,1,1.25)
    the range G4:L4 have the gates to attain and E4 would be the raw number

    I could do it with a nested IIf statement but it would get too involved.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Need to know more about data structure.

    Might need DLookup() or join tables in query.

    Did you mean 'rates' instead of 'gates'?
    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.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Usually all sums,calcs, etc, are done with queries. Study queries.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-30-2012, 07:03 AM
  2. Which template to choose?
    By annietheque in forum Access
    Replies: 1
    Last Post: 04-10-2012, 06:47 PM
  3. Choose match index in access
    By dastr in forum Access
    Replies: 1
    Last Post: 03-19-2012, 03:36 PM
  4. Replies: 16
    Last Post: 03-13-2012, 03:47 PM
  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