+ Reply to Thread
Results 1 to 7 of 7

Multiple function not performing

  1. #1
    Registered User
    Join Date
    03-13-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    7

    Multiple function not performing

    Can anyone help me with a formula? Here's what I have and need:
    J2 contains amount ($10).
    K2 contains current year fees due amount ($120)
    L2 contains new balance ($130) (by formula sum=J2+K2
    M2 contains last payment amount ($10)
    N2 contains last mayment date, always changing, can be 2010 or 2011.

    Here's where I need the formula...

    O2 If the date in N2 is after 1/1/2011 then sum:L2-M2. If not, then give sum (or total) in L2

    Sample workbook attached
    Attached Files Attached Files
    Last edited by Emcadams7; 03-16-2011 at 03:03 PM. Reason: attachment

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Multiple function not performing

    Hello, thanks for changing the title.

    according to the brief, maybe


    O2 If the date in N2 is after 1/1/2011 then sum:L2-M2. If not, then give sum (or total) in L2

    =if(N2>1/1/2011,L2-M2,L2)

    If that does not help, please post a workbook.

    cheers,

  3. #3
    Registered User
    Join Date
    03-13-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Multiple function not performing

    That's changing all the totals in O regardless of the date. I think it may be looking at the first number in the date the 03 in 03/10/10, even though it's 2010, and still changing the total. Should I change the date Format to read the full date, as in March 10, 2010 and then it will look at only the year???
    Last edited by Emcadams7; 03-13-2011 at 08:50 PM.

  4. #4
    Registered User
    Join Date
    03-13-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Multiple function not performing

    Sample workbook attached
    Attached Files Attached Files

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Multiple function not performing

    Hello,

    this should do it in N2, copied down

    =IF(N2>DATEVALUE("1/1/2011"),L2-M2,L2)

    cheers,

  6. #6
    Registered User
    Join Date
    03-13-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Multiple function not performing

    Thank you!

    I can also use

    =IF(N2>DATE(2011,1,1),L2-M2,L2)
    Last edited by Emcadams7; 03-16-2011 at 03:03 PM.

  7. #7
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Multiple function not performing

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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.6.0 RC 1