Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default How to create a crosstab in Excel

Hi everyone! Need help ASAP!

I have a simple spreadsheet that looks like this:

Origin State Dest State Company
AL AL A
AL AR A
AL AZ B
AZ AL A
AZ AR C

....and so on. Basically, the first 2 columns have all states/provinces and
column 3 has the company we use. I need to create one matrix with all
states/provinces in Row 1 and in Column 1, and all the cells in between are
populated with the company. (I hope this makes sense).

How can I do this? Please help, I have to get this published TODAY!
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: How to create a crosstab in Excel

Creating a Pivot Table in Excel

1.
  1. Select all the data in your spreadsheet, including the headers.
  2. Go to the Insert tab in the ribbon at the top of the screen.
  3. Click on PivotTable in the Tables section.
  4. In the Create PivotTable dialog box, make sure the range of your data is correct and choose where you want to place the pivot table (either in a new worksheet or in an existing one).
  5. Click OK.
  6. You should now see a blank pivot table and a PivotTable Fields pane on the right side of the screen.
  7. Drag the Origin State field to the Rows area in the PivotTable Fields pane.
  8. Drag the Dest State field to the Columns area in the PivotTable Fields pane.
  9. Drag the Company field to the Values area in the PivotTable Fields pane.
  10. You should now see a matrix with all the states/provinces in the rows and columns, and the cells populated with the company names.

You can customize the pivot table further by adding filters, changing the calculation type, and formatting the table to your liking.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 527
Default How to create a crosstab in Excel

Crosstabs are called Pivot Tables in Excel.

Make sure that your active cell is in the data,

In xl 2003 choose Data, Pivot Table

In xl 2007 choose Insert, Pivot Table

Your list must have Headings preferably emboldened. Excel uses the Heading
as fields just grab the fields until you find a suitable layout. Say Dest
stae as row headings, Origin State as column Headings and companies as data.


"Jeanne" wrote:

Hi everyone! Need help ASAP!

I have a simple spreadsheet that looks like this:

Origin State Dest State Company
AL AL A
AL AR A
AL AZ B
AZ AL A
AZ AR C

...and so on. Basically, the first 2 columns have all states/provinces and
column 3 has the company we use. I need to create one matrix with all
states/provinces in Row 1 and in Column 1, and all the cells in between are
populated with the company. (I hope this makes sense).

How can I do this? Please help, I have to get this published TODAY!

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
Summing a crosstab dysolomon Excel Worksheet Functions 7 March 18th 10 08:30 AM
Transpose Crosstab Data in Excel 2000 to flat file for use in MS A Syak Excel Discussion (Misc queries) 4 August 23rd 06 06:05 PM
Need crosstab function in excel patrick Excel Worksheet Functions 2 October 27th 05 01:33 AM
Vlookup "crosstab" Deeds Excel Worksheet Functions 5 September 23rd 05 07:02 PM
How do I create a crosstab process to determine patterns in surve. trmzr Excel Worksheet Functions 1 October 27th 04 10:20 PM


All times are GMT +1. The time now is 08:02 AM.

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

About Us

"It's about Microsoft Excel"