+ Reply to Thread
Results 1 to 7 of 7

Formulae Correction Required - Date

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    38

    Formulae Correction Required - Date

    Hi,

    I am using this formulae IF(F5<=TODAY()+30,F5-TODAY()&" days left!","")

    but for date
    i) 06/02/2015 result is : Blank Bcoz it exceeds 30 days limit
    ii) 04/02/2015 result is : 29 days left!
    iii) 04/02/2014 result is : -336 days left!

    But i want the result blank if more than -30 days left! .... example iii) must come blank bcoz its more than -30 days left!

    so result should be blank in both i) & iii)

    Thanks
    Jon
    Last edited by jon112211; 01-06-2015 at 12:48 PM.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formulae Correction Required - Date

    Try changing the = to <=

    Also, that's a 60 day difference in your formula
    You subtracted 30 from E11, but Added 30 to Today

    So a difference of 60 or less would trigger the text, blank for more than 60.


    You probably should remove either the -30 from E11, or the +30 on Today.

  3. #3
    Registered User
    Join Date
    04-19-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    38

    Re: Formulae Correction Required - Date

    oops...sorry dear.. i corrected it... still not getting the result i wanted...

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formulae Correction Required - Date

    What formula do you have now?
    What date is actually in F5
    What results do you expect with what dates in F5 ?

    Maybe post a sample book
    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,939

    Re: Formulae Correction Required - Date

    =IF(AND(F5>=TODAY()-30,F5<=TODAY()+30),F5-TODAY()&" days left!","")
    TRY THIS
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Registered User
    Join Date
    04-19-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    38

    Re: Formulae Correction Required - Date

    check attachment
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-19-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    38

    Re: Formulae Correction Required - Date

    Thanks nflsales & Jonmo1
    its done

+ 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. Counting if data falls on date between Start Date, End Date or Possible End Date
    By JessHasQuestions in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 07-26-2014, 08:01 AM
  2. macro or formalae to do soend bucketization
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-09-2013, 09:48 AM
  3. Replies: 1
    Last Post: 10-02-2012, 02:42 PM
  4. Replies: 1
    Last Post: 09-28-2012, 08:52 AM
  5. Replies: 7
    Last Post: 11-16-2008, 05:48 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