+ Reply to Thread
Results 1 to 2 of 2

Lookup Based on difference between cell values

Hybrid View

  1. #1
    Registered User
    Join Date
    09-03-2014
    Location
    South Africa
    MS-Off Ver
    MS Office 2010
    Posts
    40

    Lookup Based on difference between cell values

    Good Day,

    I am having trouble with finding a formula to assist me with my workbook.

    I am guessing that I need to use vlookup together with a if or match or sum. I am stuck, any help would gladly be appreciated. Please see uploaded workbook as reference to my question
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,203

    Re: Lookup Based on difference between cell values

    E3:
    Formula: copy to clipboard
    =INDEX($K$2:$K$9,MATCH($D2,$H$2:$H$9))



    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    1
    Total Employees
    Actual Employees
    Total Employees
    Price Indication
    2
    Company A
    1
    6
    6
    $20
    0
    0 – 5 Employees
    $10
    3
    Company B
    7
    4
    4
    $10
    6
    6 – 10 Employees
    $20
    4
    Company C
    50
    70
    70
    $50
    11
    11 – 25 Employees
    $30
    5
    26
    26-50 Employees
    $40
    6
    I need a formula to check if Column D2:D4 increased from its old value for example B1
    51
    51 – 150 Employees
    $50
    7
    changed to 6 in D2, therefor it will need a price increase from $10 to $20 as indicated in
    151
    151 – 500 Employees
    $60
    8
    I2:I9. If is did increase/Decrease I want the entire row copied to a new sheet.
    501
    501 – 999 Employees
    $70
    9
    Any help would gladly be appreciated
    1000
    1000 + Employees
    $80
    10



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. [SOLVED] vba lookup using multiple criteria based no cell values
    By rakeshr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2013, 07:11 AM
  2. Calculating difference based on specific cell values
    By thelegazy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2013, 05:36 PM
  3. Revising cell values based upon v-lookup.
    By E Bauscher in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-27-2012, 06:12 AM
  4. Retrieve values from table based on lookup of another cell
    By StarHunter in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-07-2012, 05:25 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