1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Hlookup in Excel converting to Access

Discussion in 'Business Applications' started by Cooker2k, Mar 24, 2015.

Thread Status:
Not open for further replies.
  1. Cooker2k

    Cooker2k Thread Starter

    Mar 9, 2015
    How do I convert this to Access?

    In excel I have a formula which takes production levels for an individual an applies them to the table below to get their rate. =IF(BE6>0,VLOOKUP(BL6,Grids!$G$23:$J$34,4),0) How do I convert that to Access? Do I do it in a query or do I create multiple tables? Here's another formula -- =IF(CS6="Yes",VLOOKUP(CP6,Grids!$G$3:$L$9,HLOOKUP(CR6,Grids!$G$3:$L$9,2)),0). If needed, I can provide that grid as well.

    Here's the table called "Grids" used in the EXCEL formula below. The rep table has one row per individual rep with their values stored in BE6 and BL6. (argh! I can't copy/paste the grid into this forum post!)


    Column G H I J
    Production LevelYear 1Year 2Year 3
    <$200,0000NANANA$200,000-$299,999 200000NANANA$300,000-$399,999300000NANANA$400,000-$499,99940000028%34%36%$500,000 - 599,99950000036%37%39%$600,000 - 699,99960000037%38%40%$700,000 - 799,99970000038%39%41%$800,000 - 899,99980000039%40%41%$900,000 - 999,99990000039%40%41%$1,000,000 - 1,499,999100000040%41%42%$1,500,000 - 1,999,999150000041%42%42%$2,000,000+200000042%42%43%
  2. OBP


    Mar 8, 2005
    You use one or more Queries to do what you want. If you can explain in words what the lookup does I can advise you how to do it in a query.
    From what you have already written it suggests that the Individuals "rates" would be in a separate table, in which case the query only needs to link the 2 tables to provide the data.
    If the rates are in the same table a query will provide them anyway.
    You can attach a copy of a Screen shot of the Table by pasting it in to Excel or word and the zipping it and attaching it to your post and then using the "Go Advanced" & "Manage Attachments" Buttons below where you type.

    I can provide you with examples if required.
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1145391

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice