+ Reply to Thread
Results 1 to 2 of 2

Sumif() help

  1. #1
    Registered User
    Join Date
    08-08-2005
    Posts
    12

    Sumif() help

    Hey all,

    I've got a list of cost codes the amount charged and the person who charged them. The cost code can change. I'm wanting to sum the amount that each person charged for each cost code.

    I've attached a sample file. I was trying to use a sumif but that has me looking at two variables in a single variable function.

    Thanks for the help.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by jhorsley
    Hey all,

    I've got a list of cost codes the amount charged and the person who charged them. The cost code can change. I'm wanting to sum the amount that each person charged for each cost code.

    I've attached a sample file. I was trying to use a sumif but that has me looking at two variables in a single variable function.

    Thanks for the help.
    Hi again jhorsley

    Looking at your data in book 3, the best way to get the result you want would be with a pivot table, but to do this you would need to add headers to each column, column A = Code, B = Cost & C = Person

    or

    =SUM(IF($A$2:$A$26=43218,IF($C$2:$C$26="Don D Donaldson",$B$2:$B$26,0),0)) enterred as an array (CTRL/SHIFT/ENTER)
    Last edited by Paul Sheppard; 10-27-2005 at 01:37 PM.
    Paul

+ 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