Jump to content

COUNT/SUM of each DISTINCT value


kamal213

Recommended Posts

Hi guys,

 

Please could you tell me how you would calculate the sum of a column..but of each distinct value in a a table?

 

So for example if the distinct values of a salesman in your table are: John, Bill and Bob how would you calculate there total sales without manually typing "count where salesman =John" etc

 

Please let me know if you need more information.

 

Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.