+ Reply to Thread
Results 1 to 5 of 5

If Column A contains X and Column B contains 'Date', add Column C??

  1. #1
    Registered User
    Join Date
    09-10-2012
    Location
    Sheffield
    MS-Off Ver
    Excel 2007
    Posts
    17

    If Column A contains X and Column B contains 'Date', add Column C??

    Hi,

    I've trying to work out monthly expenses for all staff, however each expense has to be put into the spreadsheet individually.

    I currently have column A with employees name, Column B with date, and Column C with cost.

    I've created a table on another worksheet with employee name along the top, and Monthly along the side.

    I am able calculate total expenses for each employee by using 'SUMIF', but wanting to further split the expenses by month.

    Am I able to do this?

    Thanks,

    Dan

  2. #2
    Registered User
    Join Date
    09-10-2012
    Location
    Sheffield
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: If Column A contains X and Column B contains 'Date', add Column C??

    I think I didn't explain this well, sorry.

    I have attached the document which also shows the table I want to populate. Hopefully this will help people understand better.

    For example, I want all column C data added where column B is KD and column A is dated 01/08/2012- 31/08/2012.

    Thanks,

    Dan
    Attached Files Attached Files

  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: If Column A contains X and Column B contains 'Date', add Column C??

    Dan,

    Attached is a modified version of your provided workbook. In cell G2 and copied over and down to S13 is this formula:
    Please Login or Register  to view this content.

    Then in cell G14 and copied over to S14 is a simple sum formula:
    Please Login or Register  to view this content.

    Does that work for you?
    Attached Files Attached Files
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    09-10-2012
    Location
    Sheffield
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: If Column A contains X and Column B contains 'Date', add Column C??

    Tigeravatar,

    That's exactly what I wanted, Thanks. Your help is greatly appreciated.

    Dan

  5. #5
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: If Column A contains X and Column B contains 'Date', add Column C??

    You're very welcome

+ 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