+ Reply to Thread
Results 1 to 3 of 3

Logic formula needed to look up a value and compare dates to return correct price

  1. #1
    Registered User
    Join Date
    09-18-2014
    Location
    Lansdale, Pa
    MS-Off Ver
    2007 and 2010
    Posts
    7

    Logic formula needed to look up a value and compare dates to return correct price

    Hi Everyone!

    Please see the attached excel sheet. So basically I need to figure out a way to find the appropriate price from the "Price List" tab that corresponds with the scan code on the "Data" tab given the timeframe noted to the left of the scan code. What makes this so tricky is all the duplicate scan codes in the data. A vlookup doesn't take into account the timeframe. The same scan code could have several different price changes throughout the year and the vlookup formula only pulls in the first match scan code. If the scan code on the "Data" tab does not exist on the price list than we can return a $0 value. I think there has to be multiple logic statements but I have yet to figure anything out. It's important for me to figure this out because I sometimes have to price out data with over 50,000 lines. Right now I have to manually check many of the duplicate price changes. I'd appreciate any help.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Logic formula needed to look up a value and compare dates to return correct price

    Please Login or Register  to view this content.
    Please note the named ranges.
    Attached Files Attached Files
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    09-18-2014
    Location
    Lansdale, Pa
    MS-Off Ver
    2007 and 2010
    Posts
    7

    Re: Logic formula needed to look up a value and compare dates to return correct price

    You are the best!

+ 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. Compare 2 columns and if they match return a price from a 3rd column
    By ClermontPrinting in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-11-2015, 04:38 PM
  2. Replies: 6
    Last Post: 10-09-2013, 03:08 PM
  3. Participant Data - calculations and logic formula help needed
    By bryden06 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-15-2013, 01:15 PM
  4. [SOLVED] Compare 1 price against multiple prices and change the price according to a formula
    By CharlieAziz in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-16-2012, 11:05 AM
  5. [SOLVED] Compare each cell and return the correct value
    By jackyong1985 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-11-2012, 10:00 AM
  6. [SOLVED] Formula Needed that will return a Supliers Lowest Total Price
    By LisaG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-02-2012, 12:39 PM
  7. Formula Needed to Compare Dates and return a running total
    By Cmonroe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-08-2006, 03:55 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