+ Reply to Thread
Results 1 to 3 of 3

LOOKUP value based on date and category!!

  1. #1
    Registered User
    Join Date
    08-02-2009
    Location
    Lancashire, England
    MS-Off Ver
    Excel 2007
    Posts
    84

    LOOKUP value based on date and category!!

    Hi
    Can anyone help with a function / formula for a home accounting spreadsheet.

    Im trying to calculate my monthly spend on each category i.e Car Maintenance / Diesel etc.

    I have a running total in a sheet named '2010' and is set out as follows :-

    Column A = Date, Column C = Category, Column E = Value.

    This lists all purchases

    i wish to display sum total of the data for a particular month against the corresponding category in my 'Monthly spend' sheet, i.e the data for Car Maintenance would be in 'Monthly spend'!B3

    I've tried VLOOKUP / COUNTIFS / SUMIFS but cannot get to work.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: LOOKUP value based on date and category!!

    Hi Si902,
    A Pivot table will do the trick.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: LOOKUP value based on date and category!!

    Hi Si902;

    Here's how I do the same thing.

    On Sheet("2010")
    F1 : =$C1&Month($A1)
    F2 : =$C2&Month($A2)
    and copy down the column
    Then hide column F (optional)

    On Sheet("Monthly Spend")
    A1 : =6/1/10
    A3 : "Car Maintenance"
    B3 : =SumIf(2010!$F:$F,$A3&Month($A$1),2010!$C:$C)
    B4 : =SumIf(2010!$F:$F,$A4&Month($A$1),2010!$C:$C)

    didn't test this, but you should get the idea.
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

+ 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