+ Reply to Thread
Results 1 to 2 of 2

formula help - if / and statements

  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    des moines, ia
    MS-Off Ver
    Excel 2010
    Posts
    1

    Angry formula help - if / and statements

    I am looking for a formula to do the following:
    Agent has points for each year, 2010, 2011, 2012.
    Agent can cash in those points for a trip – 1000 total points used
    I want a formula to show me how many points are left for 2012 when using the oldest points first.

    Ex:
    2010 points 2011 points 2012 points
    100 200 300
    Agent uses 450 points on a trip. The 2010 points would all be used up, 2011 points would all be used, and 150 points would be used from the 2012 points.

    I have used this formula and it works on some of the equations but not all.
    =IF(points used=0,2012 points,(IF((points used-2010 points-2011 points-2012 points)>0,0,(-1*( points used-2010 points-2011 points-2012 points)))))

    Ex: that’s not working correctly
    2010 points 2011 points 2012 points
    300 200 300
    Agent uses 450 points on a trip. The 2010 points would all be used up, 150 of the 2011 points would be used, and 300 points would remain from the 2012 points. Using the formula above, it is showing 350.

    Any advice would be greatly appreciated!

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: formula help - if / and statements

    Its probably easier to change the layout and have very simple formulas vs some formula that might be difficult for you to audit.

    Also you are much more likely to get a response with a sample data set.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

+ 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. Formula with multiple IF statements and IF AND statements
    By lottidotti in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-14-2013, 08:03 AM
  2. IF statements:Need some help with a formula.
    By adray13 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2012, 03:45 PM
  3. do I have too many IF statements in formula?
    By RegLook in forum Excel General
    Replies: 1
    Last Post: 08-09-2010, 09:06 AM
  4. if/then formula containing and/or statements
    By Caboose in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2009, 06:32 PM
  5. Replies: 12
    Last Post: 05-15-2009, 08:38 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