+ Reply to Thread
Results 1 to 6 of 6

Vlookup, Match, Index Help

  1. #1
    Registered User
    Join Date
    04-23-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    50

    Vlookup, Match, Index Help

    I have two tables and each table has a list of states. One table has a list of shipping costs to various parts of each state - multiple entries for each state. The other table has a list of charges for each state. I want to be able to quickly take the costs of shipping to say AZ in table 1, and subtract the cost associated with charge for AZ in table 2.

    any help is appreciated.
    Attached Files Attached Files
    Last edited by chavez000; 08-29-2015 at 07:07 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: Vlookup, Match, Index Help

    Please post a sample file showing expected result(s).

  3. #3
    Registered User
    Join Date
    04-23-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Vlookup, Match, Index Help

    Hi John, I have attached a sample file.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Vlookup, Match, Index Help

    Try this...

    Entered in C3:

    =[@[Shipping Charges]]-VLOOKUP([@State],Table2,2,0)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    04-23-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Vlookup, Match, Index Help

    HI Tony, I am getting #ref return.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Vlookup, Match, Index Help

    Data Range
    A
    B
    C
    D
    1
    2
    State
    Shipping Charges
    Delta
    Column1
    3
    AZ
    153
    63
    63
    4
    AZ
    157
    67
    67
    5
    AZ
    185
    95
    95
    6
    CA
    121
    21
    21
    7
    CA
    136
    36
    36
    8
    TX
    145
    20
    20
    9
    TX
    180
    55
    55
    10


    I entered this formula in D3:

    =[@[Shipping Charges]]-VLOOKUP([@State],Table2,2,0)

    It was automatically copied down to D9.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 06-18-2015, 08:45 AM
  2. Replies: 2
    Last Post: 12-18-2014, 09:52 AM
  3. [SOLVED] Vlookup/index/match to return all values that match
    By Asil01 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-09-2014, 12:49 PM
  4. Replies: 3
    Last Post: 05-19-2014, 02:01 PM
  5. Replies: 4
    Last Post: 01-13-2014, 04:16 AM
  6. Replies: 13
    Last Post: 12-13-2012, 11:44 AM
  7. Replies: 2
    Last Post: 03-16-2012, 12:03 PM

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