Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Tabulating a large list

So here is my problem. I am supposed to create a tabulated table comprising
multiple different criteria for multiple people. Here is an abbreviated
version of what I am working with:
Bob 1 Cars January
Bob 2 Trucks January
Bob 1 Cars February
Jack 2 Cars January
Jack 2 Trucks February
Jack 1 Cars February
Bob 4 Trucks February
Jack 5 Cars January

Trying to get it into this format:

Employee Month Cars Trucks
Bob January
Jack January
Bob February
Jack February

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Tabulating a large list

That is easy to do with a pivot table...

Select the data you want to summarize in a table (make sure the source data
has headers for each column). Select Data |Pivot Table and Pivot Chart...
When the wizard opens just select Finish. For a simple pivot like this XL
will make the correct choices on your behalf.

A new sheet will be created with a pivot table on it. Each of your column
headings will show up on a Field List. Drag the Employee Names to the left
hand column. Drag the Months also to the left hand column next to the
employees. Drag the numbers to the data area. Drage the Cars/Trucks to the
top row.

You can also apply an outo format to the table to make it all pretty like.
It will amaze and impress your friends.
--
HTH...

Jim Thomlinson


"phd4212" wrote:

So here is my problem. I am supposed to create a tabulated table comprising
multiple different criteria for multiple people. Here is an abbreviated
version of what I am working with:
Bob 1 Cars January
Bob 2 Trucks January
Bob 1 Cars February
Jack 2 Cars January
Jack 2 Trucks February
Jack 1 Cars February
Bob 4 Trucks February
Jack 5 Cars January

Trying to get it into this format:

Employee Month Cars Trucks
Bob January
Jack January
Bob February
Jack February

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default Tabulating a large list

Pivot tables are the best approach to such tabulation. I'd probably put the
month first, then the employee...put them in the row area, then put Cars and
Trucks in the Data area. Just remember that pivot tables don't refresh
automatically, so as you work on your list throughout the year, you'll want
to hit the red exlamation mark to refresh your pivot table.

If you prefer a different approach, set up the table like you've shown below
(let's say Sheet2, A1 has the word "Employee" and they are listed starting in
A2, then B1 has the word "Month", etc.). Use this formula in C2 (under
"Cars"):
=SUMPRODUCT((Sheet1!$A$1:$A$100=$A2)*(Sheet1!$D$1: $D$100=$B2)*(Sheet1!$C$1:$C$100=C$1)*(Sheet1!$B$1: $B$100))

Change the Sheet1!1:100 range to what you need, just leave the dollar signs
in there.

Now use your fill handle (bottom right corner of C2, your mouse becomes a
cross) to drag that formula to D2, then with C2:D2 still highlighted use that
fill handle to drag down as far as you need.

The pivot table is much better, though, and your file will be much smaller
and faster.
--
Please remember to indicate when the post is answered so others can benefit
from it later.


"phd4212" wrote:

So here is my problem. I am supposed to create a tabulated table comprising
multiple different criteria for multiple people. Here is an abbreviated
version of what I am working with:
Bob 1 Cars January
Bob 2 Trucks January
Bob 1 Cars February
Jack 2 Cars January
Jack 2 Trucks February
Jack 1 Cars February
Bob 4 Trucks February
Jack 5 Cars January

Trying to get it into this format:

Employee Month Cars Trucks
Bob January
Jack January
Bob February
Jack February

Thanks

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
tabulating interview questions MyMy Excel Worksheet Functions 1 April 24th 07 01:30 AM
Tabulating Multiple Surveys in Excel Chuck Excel Discussion (Misc queries) 0 March 28th 07 02:46 AM
Tabulating Multiple Surveys in Excel Gary''s Student Excel Discussion (Misc queries) 0 March 28th 07 01:50 AM
tabulating and analyzing survey data bob Excel Discussion (Misc queries) 1 February 1st 05 11:45 PM
Tabulating Survey Results Tabulatin Survey results Excel Discussion (Misc queries) 3 December 13th 04 09:56 PM


All times are GMT +1. The time now is 05:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"