+ Reply to Thread
Results 1 to 3 of 3

IF and Index formulas with Dates

  1. #1
    Registered User
    Join Date
    05-28-2013
    Location
    Orange County, CA
    MS-Off Ver
    Excel 2010
    Posts
    9

    IF and Index formulas with Dates

    Hey all,

    I am creating an cascading dashboard. It goes by month, driver and then dates. I am having trouble with a formula. I have used it before but it doesn't seem to work right when dates are involved. When a certain driver is selected, I want the formula to look up the certain dates of the driver under that specific month. This is the formula:

    =IF(G2<=$D$55,INDEX(dates, $E$1+$G$1,1),"")

    Instead of it recognizing the date (which is in form mm/dd/yy), it creates a value of 41337 and so fourth. how do I get it to get the date to show up in the cell?

    Thanks,

    Erica

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF and Index formulas with Dates

    You just need to format the cell as Date (from Format|Cells >> Number tab)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: IF and Index formulas with Dates

    Simply format the cell as

    mm/dd/yy
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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: 18
    Last Post: 03-24-2013, 04:20 PM
  2. [SOLVED] Formulas that contain dates and hidden formulas
    By rowena229 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 03-22-2013, 12:51 PM
  3. Replies: 4
    Last Post: 12-27-2012, 06:18 PM
  4. Index & Match Formulas
    By Fatnslow in forum Excel General
    Replies: 2
    Last Post: 10-08-2009, 02:14 AM
  5. worksheet shows dates as number and formulas as formulas
    By baneVader in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2008, 01:36 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