+ Reply to Thread
Results 1 to 2 of 2

Look up date & rank the corresponding value

  1. #1
    Registered User
    Join Date
    03-30-2014
    Location
    Australia
    MS-Off Ver
    Excel 2003 & 10
    Posts
    30

    Look up date & rank the corresponding value

    Hi - I am trying to write a function that will look up a date and rank the corresponding value as either 1, 2 or 3, depending on where that value sits within a range

    Basically I want the function to do the following…

    1, look up date in sheet & and compare it to the dates in sheet 2
    2, if the date matches ie 1992 = 1992, then compare the values in column B to the data in columns C, E & G in sheet 2 & rank the data in column B sheet 1lookup and rank.xlsx
    3, if the value is between 0 & the value in C then rank as 1, if the value is between C+1 and E, then rank as 2, if the value is between E+1 and G then rank as 3.

    Attached is an excel sheet that will hopefully clarify what I am trying to do. The values in red is what I would like the function to derive.

    Please let me know if you need me to clarify anything further.

  2. #2
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: Look up date & rank the corresponding value

    G'day and welcome to the forum,

    Try this copy and paste in cell C2 and copy drag down.

    Please Login or Register  to view this content.
    Note that there is a typo in A6 you have 1900, I think you mean 1990.
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

+ 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] Rank by date and type
    By daffodil11 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-13-2013, 06:20 PM
  2. Rank a column depending on date selected
    By john_london in forum Excel General
    Replies: 7
    Last Post: 09-12-2012, 07:58 AM
  3. Revenue Rank & Date Calculations
    By dlythgoe in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-12-2009, 06:22 AM
  4. Rank by value and date?
    By bobboy in forum Excel General
    Replies: 3
    Last Post: 02-20-2007, 08:48 PM
  5. Replies: 1
    Last Post: 08-15-2005, 05:05 PM

Tags for this Thread

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