PC Review


Reply
Thread Tools Rate Thread

Cross tab table

 
 
liem
Guest
Posts: n/a
 
      21st Feb 2009
I do not want to use Pivot function
I have a table of 5000 row with five column

Division District Salesman Factor result

If I want to recap the result by Saleman by District by division what is the
easy way to turn data to cross tabs .
How can i turn these data to Cross tab with the user be able pick a
Division-district it will show

Factor John Jeff Robin Diane Howard Scott ------------more salesman
sales R R G Y G G
profit G Y Y Y Y Y
GP% Y Y R R R R

--
thanks
liem
 
Reply With Quote
 
 
 
 
Shane Devenshire
Guest
Posts: n/a
 
      21st Feb 2009
Hi,

We probably should understand what problems arise when you use a pivot table
so we can address a solution that avoids those, because most alternates to a
pivot table will be more complex to set up and maintain then the pivot table
any problem you would have with the pivot table will probably be much more
severe with an alternate solution.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"liem" wrote:

> I do not want to use Pivot function
> I have a table of 5000 row with five column
>
> Division District Salesman Factor result
>
> If I want to recap the result by Saleman by District by division what is the
> easy way to turn data to cross tabs .
> How can i turn these data to Cross tab with the user be able pick a
> Division-district it will show
>
> Factor John Jeff Robin Diane Howard Scott ------------more salesman
> sales R R G Y G G
> profit G Y Y Y Y Y
> GP% Y Y R R R R
>
> --
> thanks
> liem

 
Reply With Quote
 
Fred Smith
Guest
Posts: n/a
 
      21st Feb 2009
The best advice is to use a pivot table. Why don't you want to?

Regards,
Fred.

"liem" <(E-Mail Removed)> wrote in message
news:F43E8354-4BDE-413E-AE66-(E-Mail Removed)...
>I do not want to use Pivot function
> I have a table of 5000 row with five column
>
> Division District Salesman Factor result
>
> If I want to recap the result by Saleman by District by division what is
> the
> easy way to turn data to cross tabs .
> How can i turn these data to Cross tab with the user be able pick a
> Division-district it will show
>
> Factor John Jeff Robin Diane Howard Scott ------------more salesman
> sales R R G Y G G
> profit G Y Y Y Y Y
> GP% Y Y R R R R
>
> --
> thanks
> liem


 
Reply With Quote
 
liem
Guest
Posts: n/a
 
      21st Feb 2009
Because I have to set up the validation list of 8 divisions , so the user
pick Florida division it will show the format cross tab
Division validation list
Factor District saleman 1 saleman 2 saleman 3 saleman 4 saleman 5------
to 20
Sales R Y G G Y
R
Profit Y G R Y R
R
GP% Y R Y R R
R

I have 20 factors and R/Y/R is the rating Red/Yellow/Green to indicated
they do a good job or bad job for each month.
Pivot table will not easy to set up on the location and format
thanks
liem

"Fred Smith" wrote:

> The best advice is to use a pivot table. Why don't you want to?
>
> Regards,
> Fred.
>
> "liem" <(E-Mail Removed)> wrote in message
> news:F43E8354-4BDE-413E-AE66-(E-Mail Removed)...
> >I do not want to use Pivot function
> > I have a table of 5000 row with five column
> >
> > Division District Salesman Factor result
> >
> > If I want to recap the result by Saleman by District by division what is
> > the
> > easy way to turn data to cross tabs .
> > How can i turn these data to Cross tab with the user be able pick a
> > Division-district it will show
> >
> > Factor John Jeff Robin Diane Howard Scott ------------more salesman
> > sales R R G Y G G
> > profit G Y Y Y Y Y
> > GP% Y Y R R R R
> >
> > --
> > thanks
> > liem

>
>

 
Reply With Quote
 
Fred Smith
Guest
Posts: n/a
 
      22nd Feb 2009
The alternative I see is to use data filtering. Autofilter will create a
dropdown on the District column where the user can choose the district he or
she wants.

Autofilter won't do any summaries, but it doesn't look like you need any.

Regards,
Fred.

"liem" <(E-Mail Removed)> wrote in message
news:F5BE626E-D0E7-4128-95F6-(E-Mail Removed)...
> Because I have to set up the validation list of 8 divisions , so the user
> pick Florida division it will show the format cross tab
> Division validation list
> Factor District saleman 1 saleman 2 saleman 3 saleman 4 saleman 5------
> to 20
> Sales R Y G G Y
> R
> Profit Y G R Y R
> R
> GP% Y R Y R R
> R
>
> I have 20 factors and R/Y/R is the rating Red/Yellow/Green to indicated
> they do a good job or bad job for each month.
> Pivot table will not easy to set up on the location and format
> thanks
> liem
>
> "Fred Smith" wrote:
>
>> The best advice is to use a pivot table. Why don't you want to?
>>
>> Regards,
>> Fred.
>>
>> "liem" <(E-Mail Removed)> wrote in message
>> news:F43E8354-4BDE-413E-AE66-(E-Mail Removed)...
>> >I do not want to use Pivot function
>> > I have a table of 5000 row with five column
>> >
>> > Division District Salesman Factor result
>> >
>> > If I want to recap the result by Saleman by District by division what
>> > is
>> > the
>> > easy way to turn data to cross tabs .
>> > How can i turn these data to Cross tab with the user be able pick a
>> > Division-district it will show
>> >
>> > Factor John Jeff Robin Diane Howard Scott ------------more salesman
>> > sales R R G Y G G
>> > profit G Y Y Y Y Y
>> > GP% Y Y R R R R
>> >
>> > --
>> > thanks
>> > liem

>>
>>


 
Reply With Quote
 
Herbert Seidenberg
Guest
Posts: n/a
 
      22nd Feb 2009
Excel 2007
For those who want to see a Pivot Table
with traffic lights:
http://www.mediafire.com/file/i5w3wm...02_21_09a.xlsx
 
Reply With Quote
 
Shane Devenshire
Guest
Posts: n/a
 
      22nd Feb 2009
Hi,

Based on your data it looks to me as though a pivot table with

1. Division in the page area (this would provide the pick list for the
division automatically)
2. Factor, District in the row area (you can remove subtotals since it
looks like you don't need them)
3. Saleman in the column area
4. Results to the data area (you can sum, count, average,... here depending
on your needs or you can switch between summary statistics in one step. Or
you can even display two or more summary stats at the same time.)
5. Apply conditional formatting to the data area (pivot table support
conditional formatting which will give you the G/Y/R coloring you want.

would do just what you want.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"liem" wrote:

> Because I have to set up the validation list of 8 divisions , so the user
> pick Florida division it will show the format cross tab
> Division validation list
> Factor District saleman 1 saleman 2 saleman 3 saleman 4 saleman 5------
> to 20
> Sales R Y G G Y
> R
> Profit Y G R Y R
> R
> GP% Y R Y R R
> R
>
> I have 20 factors and R/Y/R is the rating Red/Yellow/Green to indicated
> they do a good job or bad job for each month.
> Pivot table will not easy to set up on the location and format
> thanks
> liem
>
> "Fred Smith" wrote:
>
> > The best advice is to use a pivot table. Why don't you want to?
> >
> > Regards,
> > Fred.
> >
> > "liem" <(E-Mail Removed)> wrote in message
> > news:F43E8354-4BDE-413E-AE66-(E-Mail Removed)...
> > >I do not want to use Pivot function
> > > I have a table of 5000 row with five column
> > >
> > > Division District Salesman Factor result
> > >
> > > If I want to recap the result by Saleman by District by division what is
> > > the
> > > easy way to turn data to cross tabs .
> > > How can i turn these data to Cross tab with the user be able pick a
> > > Division-district it will show
> > >
> > > Factor John Jeff Robin Diane Howard Scott ------------more salesman
> > > sales R R G Y G G
> > > profit G Y Y Y Y Y
> > > GP% Y Y R R R R
> > >
> > > --
> > > thanks
> > > liem

> >
> >

 
Reply With Quote
 
Shane Devenshire
Guest
Posts: n/a
 
      22nd Feb 2009
Hi,

And here is the formula approach assuming your data is in the range A1:E6000
with titles on the first row and in the following order:
Person Division Factor District Result

In G1 I put the data validation drop down with the different Divisions, here
I have picked Florida.
G H I J ....
Florida

District Factor JM PQ
1 Sales 6 10
1 Profit 4 4
2 Sales 6 7
2 Profit 7 6

The title district is in cell G3 in the above layout. JM and PQ are two
salepersons, more would go to the right.

The formula in I4 is

=SUMPRODUCT(--($B$2:$B$6000=$G$1),--($C$2:$C$6000=$H4),--($D$2:$D$6000=$G4),--($A$2:$A$6000=I$3),$E$2:$E$6000)

This formula can be copied down and over as far as you need it.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"liem" wrote:

> Because I have to set up the validation list of 8 divisions , so the user
> pick Florida division it will show the format cross tab
> Division validation list
> Factor District saleman 1 saleman 2 saleman 3 saleman 4 saleman 5------
> to 20
> Sales R Y G G Y
> R
> Profit Y G R Y R
> R
> GP% Y R Y R R
> R
>
> I have 20 factors and R/Y/R is the rating Red/Yellow/Green to indicated
> they do a good job or bad job for each month.
> Pivot table will not easy to set up on the location and format
> thanks
> liem
>
> "Fred Smith" wrote:
>
> > The best advice is to use a pivot table. Why don't you want to?
> >
> > Regards,
> > Fred.
> >
> > "liem" <(E-Mail Removed)> wrote in message
> > news:F43E8354-4BDE-413E-AE66-(E-Mail Removed)...
> > >I do not want to use Pivot function
> > > I have a table of 5000 row with five column
> > >
> > > Division District Salesman Factor result
> > >
> > > If I want to recap the result by Saleman by District by division what is
> > > the
> > > easy way to turn data to cross tabs .
> > > How can i turn these data to Cross tab with the user be able pick a
> > > Division-district it will show
> > >
> > > Factor John Jeff Robin Diane Howard Scott ------------more salesman
> > > sales R R G Y G G
> > > profit G Y Y Y Y Y
> > > GP% Y Y R R R R
> > >
> > > --
> > > thanks
> > > liem

> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross checking a total from the parent table to the child table? Tina Marie Microsoft Access 6 5th Apr 2009 01:17 PM
Cross tab table =?Utf-8?B?NjI5OGRlcA==?= Microsoft Access Queries 1 7th Mar 2007 09:04 PM
VBA - CROSS TABLE Query Results in an existing or new table Paramasivan Microsoft Access VBA Modules 1 21st Sep 2005 03:44 PM
Cross Table =?Utf-8?B?TGluYSBNYW5qYXJyZXM=?= Microsoft Access Queries 10 15th Nov 2004 11:00 PM
Table cross referenced marked as changed when table contents change. Bruce V. Microsoft Word Document Management 0 5th Nov 2003 08:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:04 PM.