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.
 

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!
 

Forum statistics

Threads
1,081,518
Messages
5,359,236
Members
400,523
Latest member
ExcelNewbie98

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top