#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMJ JMJ is offline
external usenet poster
 
Posts: 11
Default Sumproduct

I have a list of clients in A1:A30
Then in

Column B Column C Column D
Client's Name #Hrs $/Hr
1 Client1 5 100
2 Client 2 2 200
3 Client 3 1 50
4 Client 1 3 200
5 Client 3 1 100

I need to multiply Column C and Column D to get the total for the row, for
the client and then sum the results, by client.

Could any one please give me a light on how to do this?
Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Sumproduct

Make a list of the unique clients in a range of cells, say, G2:G4 -
Client1, Client2, Client3

Enter this formula in F2 and copy down as needed:

=SUMPRODUCT(--(B$2:B$6=G2),C$2:C$6,D$2:D$6)


--
Biff
Microsoft Excel MVP


"JMJ" wrote in message
...
I have a list of clients in A1:A30
Then in

Column B Column C Column D
Client's Name #Hrs $/Hr
1 Client1 5 100
2 Client 2 2 200
3 Client 3 1 50
4 Client 1 3 200
5 Client 3 1 100

I need to multiply Column C and Column D to get the total for the row, for
the client and then sum the results, by client.

Could any one please give me a light on how to do this?
Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Sumproduct

Insert a new column B. In column F use this formula:

=E2*D2

and copy down. Then, assuming your list of clients from A1:A30 is unique (no
duplicates), put this in B1:

=SUMIF(C$2:C$6,A1,F$2:F$7)

and copy this down to B30.

Hope this helps.

Pete

"JMJ" wrote in message
...
I have a list of clients in A1:A30
Then in

Column B Column C Column D
Client's Name #Hrs $/Hr
1 Client1 5 100
2 Client 2 2 200
3 Client 3 1 50
4 Client 1 3 200
5 Client 3 1 100

I need to multiply Column C and Column D to get the total for the row, for
the client and then sum the results, by client.

Could any one please give me a light on how to do this?
Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMJ JMJ is offline
external usenet poster
 
Posts: 11
Default Sumproduct


Great! Thanks.

"T. Valko" wrote:

Make a list of the unique clients in a range of cells, say, G2:G4 -
Client1, Client2, Client3

Enter this formula in F2 and copy down as needed:

=SUMPRODUCT(--(B$2:B$6=G2),C$2:C$6,D$2:D$6)


--
Biff
Microsoft Excel MVP


"JMJ" wrote in message
...
I have a list of clients in A1:A30
Then in

Column B Column C Column D
Client's Name #Hrs $/Hr
1 Client1 5 100
2 Client 2 2 200
3 Client 3 1 50
4 Client 1 3 200
5 Client 3 1 100

I need to multiply Column C and Column D to get the total for the row, for
the client and then sum the results, by client.

Could any one please give me a light on how to do this?
Thanks.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Sumproduct

You're welcome!

--
Biff
Microsoft Excel MVP


"JMJ" wrote in message
...

Great! Thanks.

"T. Valko" wrote:

Make a list of the unique clients in a range of cells, say, G2:G4 -
Client1, Client2, Client3

Enter this formula in F2 and copy down as needed:

=SUMPRODUCT(--(B$2:B$6=G2),C$2:C$6,D$2:D$6)


--
Biff
Microsoft Excel MVP


"JMJ" wrote in message
...
I have a list of clients in A1:A30
Then in

Column B Column C Column D
Client's Name #Hrs $/Hr
1 Client1 5 100
2 Client 2 2 200
3 Client 3 1 50
4 Client 1 3 200
5 Client 3 1 100

I need to multiply Column C and Column D to get the total for the row,
for
the client and then sum the results, by client.

Could any one please give me a light on how to do this?
Thanks.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
Sumproduct Naraine Ramkirath Excel Worksheet Functions 3 May 17th 07 04:58 PM
If and Sumproduct ronnomad Excel Discussion (Misc queries) 2 May 10th 07 07:50 PM
Sumproduct? imjustme Excel Discussion (Misc queries) 1 September 7th 05 03:43 AM
Like Sumproduct, But Different ericsh Excel Worksheet Functions 6 August 11th 05 05:49 PM


All times are GMT +1. The time now is 08:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"