+ Reply to Thread
Results 1 to 2 of 2

spending and budget list

  1. #1
    Registered User
    Join Date
    04-26-2007
    Posts
    2

    spending and budget list

    I want it to only add up the things that are in their individual categories. For instance, below I have a portion of my spendings. When applied to all of my spending, I want a formula that I can apply to each category that says: IF a specifc row has has the Apartment category listed in column E, then place its cost in a cell that adds up all the apartment costs. This way i can add up all the costs for apartment. The trouble is how to do that so when I place each of the categories when uploading my daily spending, they automatically add up in the correct field:

    6/8/07 DEPOSIT 250 1497.52
    6/8/07 WITHDRAWL -40 1457.52
    6/6/07 TARGET -88.31 969.05 APARTMENT
    6/6/07 STARBUCKS -4.06 964.99 DRINK/FOOD
    6/5/07 ATM Withdrawl -62 1128.8
    6/5/07 JCPENNEY STORE -43.98 1084.82 CLOTHING
    6/5/07 LOWERY'S -25.46 1059.36 BEER/WINE/OTHER
    6/5/07 ATM FEE -2 1057.36
    6/4/07 AMERICAN EXPRESS -100 1308.75 CREDIT CARD
    6/4/07 CHECKCARD 0601 MTA MVM*40TH ST./LOWERY 1232.75 BEER/WINE/OTHER
    6/4/07 GREAT DRAGON RESTAURANT -23.45 1209.3 DINING OUT
    6/4/07 THE COURTYARD BAR -18.5 1190.8 BEER/WINE/OTHER
    6/1/07 Rent -625 1472.81 RENT
    6/1/07 WITHDRAWL -60 1412.81
    6/1/07 STARBUCKS -4.06 1408.75 DRINK/FOOD
    5/31/07 DEPOSIT 858.07 2069.16
    5/31/07 Target -121.35 2097.81 APARTMENT
    5/30/07 Commerce Bank Credit Card -100 1211.09 CREDIT CARD


    So the formula would help add up all the apartment costs, credit card costs, and so on INDIVIDUALLY.

    Example: APARTMENT= $$$, DRINK/FOOD=$$$... and so on. But i want it to be so when i add new costs, they are automatically updated once I place the category in the corresponding row in colum E.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =SUMIF(E:E,"Apartment",D:D)

    or ref a cell with the word apartment say F1

    =SUMIF(E:E,F1,D:D)

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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