Results 1 to 2 of 2
  1. #1
    CUCKOO is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Posts
    5

    Post Access formula equivalent to index, match in excel

    PRODUCT VALUE A VALUE B
    WW 10 100
    XX 20 200
    YY 30 300
    ZZ 40 400


    I have above table in access. I want to use this table in query to find value of any product using a formula (Value A*X)+Value B. The product and X query picks up from another table. The same can be done easily in Excel using Index, Match formula but how in Access.

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    You will need to build a query joining the two tables and then doing a simple calculation in the query. Here is a SQL statement for that

    SELECT Table1.product, ([ValueA]*[ValueX])+[ValueB] AS Expr
    FROM Table1 INNER JOIN Table2 ON Table1.product = Table2.Product;
    Attached Files Attached Files

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

Similar Threads

  1. Replies: 10
    Last Post: 08-29-2012, 06:45 AM
  2. Replies: 11
    Last Post: 07-28-2012, 03:55 AM
  3. Excel Formula into Access Query
    By dr4ke in forum Queries
    Replies: 7
    Last Post: 06-25-2012, 06:46 AM
  4. Choose match index in access
    By dastr in forum Access
    Replies: 1
    Last Post: 03-19-2012, 03:36 PM
  5. Excel Formula Needed in Access
    By bmschaeffer in forum Queries
    Replies: 4
    Last Post: 01-18-2012, 01:13 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