+ Reply to Thread
Results 1 to 9 of 9

IF formula for budget purposes

  1. #1
    Registered User
    Join Date
    06-17-2012
    Location
    Arlington, VA, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Question IF formula for budget purposes

    Hello all,

    I am setting up a personal budget spreadsheet to track my monthly income and expenses and there are a couple of dynamic features I would like to add, if possible.

    First, under each category (Housing, Transportation, etc), I have 2 columns; 1 for actual expenditures, 1 for my budget limit for each item for that month. I would like to set up a formula that affects the actual expenditure column in relation to the budget limit column. For instance, under Transportation, I am budgeting $50 per month for taxis. When the actual expenditure for taxis is between 0-90% of that $50 budget (so, $0-45), I would like the cell to be green. When the actual expenditure is between 91-100%, I would like the cell to turn yellow. And, when the actual expenditure goes over my monthly budget, I would like the cell to turn red.

    Second, I would like the monthly spreadsheets to work with one other. I would like the difference between the actual expenditure for an item and its budget to roll over to the next month's budget for the same item. So, say I budget $20 every month for gifts. If I spend $10 on gifts in June, I'd like the budget for gifts in July to bump up to $30, to include the $10 that wasn't spent in June. Conversely, if I overspend on gifts, say $30 in June, I'd like that to affect the following month's budget, so that July would be $10.

    If anybody can help with either or both, I'd greatly appreciate it. Also, if anyone knows of another thread or two that offer really useful tips for building out a dynamic budget with great features, I'd love to be put onto that as well.

    Thanks in advance for your help,
    Brett
    Last edited by sacricketer; 06-20-2012 at 11:27 PM.

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: IF formula for budget purposes

    try to see if any of the templates available through MS Office Online. i have see a few that cater to Home Budgets; you may be able to reuse and expand on some of those.

    with your Excel 2007 open:

    ALT + F + N > Microsoft Office Online > Budgets > Home Budgets

    sometimes it is best not to reinvent the wheel :-).
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: IF formula for budget purposes

    for the 1st part, you can use conditional formatting to getthe cells to change color based on the value of another cell.

    for the 2nd part, do you have anything set up yet for your workbook? what you want sounds simple enough, but it will help greatly if you have a sample workbook to upload for us to work with.

    in the mean time, take a look at the attached. its not a budget sheet, its a vehicle mileage log, but would work on the same principles, and might get you started in the right direction
    Attached Files Attached Files
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    06-17-2012
    Location
    Arlington, VA, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: IF formula for budget purposes

    ice, thanks for the advice. i will definitely look through the higher rated templates to see how i can combine the best features of each.

    FDibbins, thank you too. i googled Conditional Formatting and was able to work with it a bit. however, i came across a new issue that i would like to address. attached is the bare bones budget that i've put together - much more formatting to come, but hopefully it'll be something we can work off of to address these issues.

    so, as you can see under the Jul worksheet, i played with Conditional Formatting and you can see the rules i came up with. however, i'd like to set up rules based off of percentages of the budgeted figures so that i can use just 1 rule that is applicable to all of the actual line items instead of having to adjust them using for each different number.

    i'd appreciate the help with the Conditional Formatting and with the other issue of rolling over values from month to month.

    cheers,
    Brett
    Attached Files Attached Files

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: IF formula for budget purposes

    probably better to take this a step at a time, so here if the CF that you want. you were almostthere with what you had, you just needed to use "use formula" for the CF

    btw, are you from SA and did you play cricket?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-17-2012
    Location
    Arlington, VA, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: IF formula for budget purposes

    ahhh ok, i see what you did. thank you for solving that little mystery for me. but how did you know the lettering for the formula? i didn't see a drop-down with options or anything of the sort. is it just something you've learned over time? is there a good list out there of basic formulas that one would commit to memory after using several times?

    and yeah, i grew up in SA and loved playing cricket, wish it was more prevalent here in the US. have you been to SA or played cricket?

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: IF formula for budget purposes

    the formulas that i used were standard excel formulas. if you type them into a worksheet cell, just the way i did in the CF, they will return a TRUE or FALSE anwer, and thats how CF works. it just checks for a TRUE or FALSE to do its thing. if i am working on a complex CF formula, i often do it IN the worksheet, since its easier to edit and play with rgere, and then copy it to the CF when it works.

    did the vehicle log file i sent you offer any insights on how to set up the rest of your file?

    i grew up in SA (PE and klerksdorp), didnt play cricket much, preferred rugby. always good to meet another ex-pat

    shout if you need any other help/advice

  8. #8
    Registered User
    Join Date
    06-17-2012
    Location
    Arlington, VA, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: IF formula for budget purposes

    shot FDibbins, i got it now. think it's time to take an excel course or two to get some of this stuff under my belt. i do appreciate your help. however, i'm not quite sure what i was supposed to glean from the vehicle log file. i scrolled over all of the boxes and just think i'm missing the boat on what i'm supposed to be picking up. does it have to do with the roll over function i'd brought up before?

    spent a bit of time in PE, enjoyed it there, really good people. but most of our time in SA was in Pretoria. big Bulls supporter, even bigger Boks supporter. especially when they play like they have the last couple weekends against England, go Bokke!!

    cheers again for your help!

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: IF formula for budget purposes

    sometimes all the courses in the world cant replace hands on practice, so if you have any questions, just shout

    the only reason i sent you the log was to give you an idea of how a monthly "system" could work for you.

    and i got turned off the blou bulle from when nasty naas played for them (bet that takes you back some huh?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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