LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Splitting data from one spreadsheet into multiple spreadsheets

I have on master spreadsheet on Sheet1. Column A has categories (i.e.
vegetables, fruits, nuts, etc.). Columns B through F have data corresponding
to that date (sales, expenses, profits, etc.).

I am trying to get the data from Sheet1 to split into multiple sheets based
on the category that was listed in Column A. For example, any time time
column A said Vegetables, it would copy that row's data into Sheet2.
Anytime column A said Fruits, it would copy that row's data into Sheet 3.

I know I can simply do this by using an IF formula in sheet2 stating that if
Sheet1!ColumnA states "Vegetables", copy the data into the corresponding
cells. However, that would keep the format on sheet 2 the same as sheet1.
So all the rows that don't state Vegetables in sheet 1 columnA would be blank
in sheet 2. I do not want all these blank rows in sheet 2, sheet 3, etc.

Is there any way to write a formula in sheet 2 that will fill each row
consecutively every time it finds that category in sheet 1 column A? I hope
I made myself clear. For example:

Sheet 1
Row Category
1 Vegetable
2 Fruit
3 Vegetable
4 Nuts
5 Vegetable

I want sheet 2 to look like this
1 Vegetable
2 Vegetable
3 Vegetable
 
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
Splitting data from cells into multiple lines Igneshwara reddy[_2_] Excel Worksheet Functions 6 May 6th 09 08:15 PM
Splitting data in multiple cells Jeremy Excel Discussion (Misc queries) 5 October 30th 08 07:10 PM
Splitting data into multiple fields. DamselNTX Excel Worksheet Functions 3 April 18th 08 01:11 AM
print excel spreadsheet splitting cell contents on multiple pages vrm7620 Excel Discussion (Misc queries) 2 October 27th 06 05:25 PM
How to extract cells from multiple spreadsheets into one new spreadsheet Guy New Users to Excel 3 March 14th 05 02:14 PM


All times are GMT +1. The time now is 12:03 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"