How do I do this??

wolfster

New Member
Joined
Oct 29, 2005
Messages
6
Hi All

I have the following problem and hope that you can help me.
I have a list of data in sheet 1

col1=name,col2=month,col3=totalsold,col4=totalreturned,col5=return%


abe jan 100 10 10%
abe jan 200 5 2.5%
abe feb 100 3 3%
bob jan 35 6 17.1%
bob jan 200 100 50%
colin mar 75 25 33%
colin apr 300 200 67%
colin mar 100 75 75%

1)Is it possible in sheet2 to have the following layout via a pivot table - before the pivot is created, I need the salesman who had the greatest number of returns (col4) - this is achieved by adding up all the months horizontally, to be displayed first, followed by the second salesman etc.


jan feb mar apr total
colin totalsold 175 300 475
totalreturn 100 200 300
% returned 57.14% 66.67% 63.15%


bob totalsold 10000 10000
totalreturn 106 106
% returned 1.06% 1.06%

abe totalsold 300 100 400
totalreturn 15 3 18
% returned 5% 3% 4.5%

2)In another sheet, I also need the salesman who had the highest return % for the period (jan - april) displayed first, followed by the salesman who had the second highest percentage return etc.

Thank you all.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
Perhaps, if you offer to send the workbook to whoever thinks can help you, someone will be willing to help you. However, to me, it seems as ifthere is a lot of work to be done!
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,990
Messages
5,834,761
Members
430,318
Latest member
ZackChua95

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top