Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
CountIF and Sum in one formula?
Hello,
I am trying to sun up all of the costs in one column if it was done by a specific person. Example: A B Prsn Contracts 1 JG $8000.00 2 JG $1200.00 3 SA $10000.00 4 TS $6000.00 5 TS $4500.00 What I am looking for is a formula that will tell me how much is the total value of all of the contracts sold by JG. Can anyone help? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
CountIF and Sum in one formula?
Hi Scott
Try this =SUMIF(A2:5,"JG",B2:B5) HTH John "Scott A" wrote in message ... Hello, I am trying to sun up all of the costs in one column if it was done by a specific person. Example: A B Prsn Contracts 1 JG $8000.00 2 JG $1200.00 3 SA $10000.00 4 TS $6000.00 5 TS $4500.00 What I am looking for is a formula that will tell me how much is the total value of all of the contracts sold by JG. Can anyone help? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
CountIF and Sum in one formula?
Correction
=SUMIF(A2:A5,"JG",B2:B5) "John" wrote in message ... Hi Scott Try this =SUMIF(A2:5,"JG",B2:B5) HTH John "Scott A" wrote in message ... Hello, I am trying to sun up all of the costs in one column if it was done by a specific person. Example: A B Prsn Contracts 1 JG $8000.00 2 JG $1200.00 3 SA $10000.00 4 TS $6000.00 5 TS $4500.00 What I am looking for is a formula that will tell me how much is the total value of all of the contracts sold by JG. Can anyone help? |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
CountIF and Sum in one formula?
Hi,
Put JG in a cell, say H1 then use the formula =SUMIF(A$2:A$6,H1,B$2:B$6) This way you can copy the formula down so if H2 has "SA" then the second formula sum his/her numbers and so on. -- If this helps, please click the Yes button. Cheers, Shane Devenshire "Scott A" wrote: Hello, I am trying to sun up all of the costs in one column if it was done by a specific person. Example: A B Prsn Contracts 1 JG $8000.00 2 JG $1200.00 3 SA $10000.00 4 TS $6000.00 5 TS $4500.00 What I am looking for is a formula that will tell me how much is the total value of all of the contracts sold by JG. Can anyone help? |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
CountIF and Sum in one formula?
Hi,
You can also create a simple pivot table with "Prsn" in the row filed area and "Contracts" in the Data area -- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "Scott A" wrote in message ... Hello, I am trying to sun up all of the costs in one column if it was done by a specific person. Example: A B Prsn Contracts 1 JG $8000.00 2 JG $1200.00 3 SA $10000.00 4 TS $6000.00 5 TS $4500.00 What I am looking for is a formula that will tell me how much is the total value of all of the contracts sold by JG. Can anyone help? |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
CountIF and Sum in one formula?
I have another part that I totally forgot about. I have a second formula that
is needed and it includes another variable. I need it to narrow the sum total to only projects of a certain type of contract by the same person. example: A B C Prsn Type Contracts 1 JG MP $8000.00 2 JG DV $1200.00 3 JG MP $10000.00 4 SA MP $6000.00 5 SA DV $4500.00 I need it to calculate the total contract amount for JG and only the MP types of contracts. Is that possible without using a pivot table? "Shane Devenshire" wrote: Hi, Put JG in a cell, say H1 then use the formula =SUMIF(A$2:A$6,H1,B$2:B$6) This way you can copy the formula down so if H2 has "SA" then the second formula sum his/her numbers and so on. -- If this helps, please click the Yes button. Cheers, Shane Devenshire "Scott A" wrote: Hello, I am trying to sun up all of the costs in one column if it was done by a specific person. Example: A B Prsn Contracts 1 JG $8000.00 2 JG $1200.00 3 SA $10000.00 4 TS $6000.00 5 TS $4500.00 What I am looking for is a formula that will tell me how much is the total value of all of the contracts sold by JG. Can anyone help? |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
CountIF and Sum in one formula?
I have another part that I totally forgot about. I have a second formula that
is needed and it includes another variable. I need it to narrow the sum total to only projects of a certain type of contract by the same person. example: A B C Prsn Type Contracts 1 JG MP $8000.00 2 JG DV $1200.00 3 JG MP $10000.00 4 SA MP $6000.00 5 SA DV $4500.00 I need it to calculate the total contract amount for JG and only the MP types of contracts. Is that possible without using a pivot table? "John" wrote: Correction =SUMIF(A2:A5,"JG",B2:B5) "John" wrote in message ... Hi Scott Try this =SUMIF(A2:5,"JG",B2:B5) HTH John "Scott A" wrote in message ... Hello, I am trying to sun up all of the costs in one column if it was done by a specific person. Example: A B Prsn Contracts 1 JG $8000.00 2 JG $1200.00 3 SA $10000.00 4 TS $6000.00 5 TS $4500.00 What I am looking for is a formula that will tell me how much is the total value of all of the contracts sold by JG. Can anyone help? |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
CountIF and Sum in one formula?
Thank you Ashish. My problem is that i can't use a pivot table because this
spreadsheet will be stored on Google Docs and pivot tables do not work. Thanks again! "Ashish Mathur" wrote: Hi, You can also create a simple pivot table with "Prsn" in the row filed area and "Contracts" in the Data area -- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "Scott A" wrote in message ... Hello, I am trying to sun up all of the costs in one column if it was done by a specific person. Example: A B Prsn Contracts 1 JG $8000.00 2 JG $1200.00 3 SA $10000.00 4 TS $6000.00 5 TS $4500.00 What I am looking for is a formula that will tell me how much is the total value of all of the contracts sold by JG. Can anyone help? |
#9
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
CountIF and Sum in one formula?
=sumproduct((A1:A5="JG")*(B1:B5="MP"),C1:C5)
-- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "Scott A" wrote in message ... I have another part that I totally forgot about. I have a second formula that is needed and it includes another variable. I need it to narrow the sum total to only projects of a certain type of contract by the same person. example: A B C Prsn Type Contracts 1 JG MP $8000.00 2 JG DV $1200.00 3 JG MP $10000.00 4 SA MP $6000.00 5 SA DV $4500.00 I need it to calculate the total contract amount for JG and only the MP types of contracts. Is that possible without using a pivot table? "Shane Devenshire" wrote: Hi, Put JG in a cell, say H1 then use the formula =SUMIF(A$2:A$6,H1,B$2:B$6) This way you can copy the formula down so if H2 has "SA" then the second formula sum his/her numbers and so on. -- If this helps, please click the Yes button. Cheers, Shane Devenshire "Scott A" wrote: Hello, I am trying to sun up all of the costs in one column if it was done by a specific person. Example: A B Prsn Contracts 1 JG $8000.00 2 JG $1200.00 3 SA $10000.00 4 TS $6000.00 5 TS $4500.00 What I am looking for is a formula that will tell me how much is the total value of all of the contracts sold by JG. Can anyone help? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formula Help (countif, I think....) | Excel Discussion (Misc queries) | |||
Countif formula | Excel Discussion (Misc queries) | |||
Formula Countif | Excel Discussion (Misc queries) | |||
CountIf formula results in the formula itself being displayed. | Excel Worksheet Functions | |||
Another Countif Formula | Excel Discussion (Misc queries) |