+ Reply to Thread
Results 1 to 8 of 8

How to get aging days from the dates for attached format

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-21-2009
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    292

    Lightbulb How to get aging days from the dates for attached format

    Dear all,


    Could any one help how to get the result of attached format.

    I m looking the aging of my invoice date for attached format.

    I have tried many formulas, but i think format is different or what?

    Thanks for advance
    Attached Files Attached Files
    Last edited by tariqnaz2005; 05-26-2015 at 09:02 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: How to get aging days from the dates for attached format

    hi tariqnaz. the dates in column E are not recognized as dates in Excel.

    you can select the range E1:E2 & press CTRL + SHIFT + ~
    you should see all of them become numbers if they are real dates. Undo it to revert to normal.

    select the range again. go to Data -> Text to Column -> Delimited -> Next -> Next -> Date: MDY -> Finish.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: How to get aging days from the dates for attached format

    It looks like the formulas are returning the correct values. They are subtracting the earlier date from the later date.
    What values are you expecting to see?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,082

    Re: How to get aging days from the dates for attached format

    Column E is text not a date, and even if it was a date it is in a different format to column G, though that doesnt really matter.

    Use this:
    in J1
    =G1-DATE(RIGHT(E1,4),LEFT(RIGHT("0"&E1,10),2),MID(RIGHT("0"&E1,10),4,2))
    and copy down
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: How to get aging days from the dates for attached format

    OR,

    Try the following formula in J1:

    =TODAY()-DATE(RIGHT(E1,4),LEFT(E1,SEARCH("/",E1,1)-1),MID(E1,SEARCH("/",E1,1)+1,2))
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    07-21-2009
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    292

    Re: How to get aging days from the dates for attached format

    Thank you very much all of you for your quick reply,

    @Ron Coderre.. I want days (from invoice date till today)

    @Special-K - your formula worked but its giving me error if the date format of column is "4/5/2015" but if the format is 4/15/2015 than answer is correct

    @CBatrody - same issue like special_K

    pls help again.

  7. #7
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: How to get aging days from the dates for attached format

    Is the date format dd/mm/yyyy or mm/dd/yyyy?

  8. #8
    Forum Contributor
    Join Date
    07-21-2009
    Location
    Kuwait
    MS-Off Ver
    Excel 2019
    Posts
    292

    Re: How to get aging days from the dates for attached format

    @cBATRODAY... sir, it is text not date format.. you can see my first attachment.

    any way, the formual =TODAY()-DATE(RIGHT(E1,4),LEFT(E1,SEARCH("/",E1,1)-1),MID(E1,SEARCH("/",E1,1)+1,2)) is working for me.

    i have to just change =TODAY()-DATE(RIGHT(E1,4),LEFT(E1,SEARCH("/",E1,1)-1),MID(E1,SEARCH("/",E1,1)+1,1)) like this.

    thanks for your help.

    This thread is closed.

+ 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] Aging analysis (i.e., how many days did it take to close a case?)
    By bearligirl89 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2014, 09:18 AM
  2. Change dates to UK format in the first 12 days of the month
    By portucale in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-21-2012, 07:33 AM
  3. aging formula with network days from start to today
    By eddienole in forum Excel General
    Replies: 2
    Last Post: 08-30-2011, 10:43 AM
  4. Aging Data in terms of days
    By William Okumu in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-23-2008, 12:13 PM
  5. number of days between two dates in european format
    By manan in forum Excel General
    Replies: 3
    Last Post: 05-22-2006, 06:45 AM

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