+ Reply to Thread
Results 1 to 12 of 12

Thread: YTD formula

  1. #1
    Registered User
    Join Date
    10-25-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    YTD formula

    Hello all, first time posting. trying to figure out this YTD formula for work, could anyone help me.

    Thanks
    Attached Files Attached Files

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

    Re: YTD formula

    It is not clear to me where the problem is? Which sheet and what is the logic you are looking for?
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    10-25-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: YTD formula

    on the first page in L7 we need the YTD to calculate.

  4. #4
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: YTD formula

    Based on a monthly pay...

    try:

    =O5*MONTH(C7)
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  5. #5
    Registered User
    Join Date
    10-25-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: YTD formula

    Sorry in i7 i need to figure out YTD based off of Jan 1 and the date we put in C7

  6. #6
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: YTD formula

    Did you test my formula?

    Is it what you need?
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  7. #7
    Registered User
    Join Date
    10-25-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: YTD formula

    sorry, i was under the assumption of something else by an employee, what we are looking for is in L6 if it is the 10th month we need it to say 10 but we have to have an exact YTD so if it is the 27th day we need that cell to be 10.27 to give us the correct output of the YTD. if that makes sense.

  8. #8
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: YTD formula

    To get the 10 in L7, simply: =MONTH(C7)

    To get the YTD Gross, if you use similar logic to your calc of monthly rate in O5, then try:

    =I5*L5*52/365*(C7-DATE(YEAR(TODAY()),1,1))
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  9. #9
    Registered User
    Join Date
    10-25-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: YTD formula

    didnt work.. :/ hmmmm

  10. #10
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: YTD formula

    What does that mean?

    Error? Wrong answer? Please elaborate and also provide expected result for sample data.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  11. #11
    Registered User
    Join Date
    10-25-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: YTD formula

    Sorry, wrong answer.

    If C7 is 10/20/10 and I7 is 38,999.97 O7 should be 4,037.26 L7 should be 9.66

  12. #12
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: YTD formula

    I think your sample date should have been 9/20/10 not 10/20/10 for those results, yes?

    If so, then in L7, try:

    =MONTH(C7)+DAY(C7)/DAY(EOMONTH(C7,0))
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0