Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Lookup, Sum or Calculate

Have a spreadsheet with users and their commissions. Would like to create a
function to find all commissions for each user in one column and calculate a
total commission for that user. looks like this

Data Calculated Fields
User Comm User Comm Tot
ABC001 250 ABC001 550
ABC001 300
BBD000 150 BBD000 825
BBD000 200
BBD000 175
BBD000 300

Do I have to use more that one function?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Lookup, Sum or Calculate

You can do this with one formula - SUMIF. Assume your data is in
A2:B50, and your unique list of users is in D2:D10. Put this formula in
E2:

=SUMIF(A$2:A$50,D2,B$2:B$50)

and copy down to E10.

Hope this helps.

Pete

Franko wrote:
Have a spreadsheet with users and their commissions. Would like to create a
function to find all commissions for each user in one column and calculate a
total commission for that user. looks like this

Data Calculated Fields
User Comm User Comm Tot
ABC001 250 ABC001 550
ABC001 300
BBD000 150 BBD000 825
BBD000 200
BBD000 175
BBD000 300

Do I have to use more that one function?


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
Calculate the average using the Lookup function or similar Lars F Excel Discussion (Misc queries) 2 November 22nd 05 11:40 AM
Spreadsheet Won't Calculate Scott Excel Discussion (Misc queries) 0 September 29th 05 05:37 PM
lookup more than one cell andrewm Excel Worksheet Functions 20 June 14th 05 05:33 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 02:39 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"