Copy rows of data from master tab to subsequent tabs based on criteria in one master tab column

cjh75

New Member
Joined
Jan 11, 2017
Messages
9
Hi,

Would anyone be able to help me set up a second and third tab for the master spreadsheet listed below?

I want the second tab to only list the parishes in Store Category 'A' and the third tab to only list parishes in Store Category 'B'.

I tried using a formula like the one listed below, but it's kind of a manual process.
This formula is also flawed because I want excel to skip all of the rows related to Holly and Greg's Donut Shop (Category A) on the third tab (listing Category B stores).
I don't want excel to return blank rows on the third tab (I just want it not to show any Category A fields at all).
=IF(MASTER!D:D="A",MASTER!G3," ")

Because of the format of the master spreadsheet (some rows have been merged and I have to keep this format), I created columns B through D to get a unique action item returned for each field on the second tab.

I'm using Excel 2007.
Does anyone have any suggestions on a better formula or a macro I could use to get the second and third tabs to appear correctly?

Thank You,
CJH
STORE ID NUMBER
STORE NAME
STORE CATEGORY
ORIGINAL ACTION ITEM LIST
ACTION ITEMS
DEPARTMENT
ASSIGNED TO
STATUS
DATE COMPLETED
123
1
1231
A
Holly and Greg's Donut Shop
A
1) POWDER DONUTS
RE
123
3
1233
A
2) SUGAR DONUTS
DS
COMPLETED
123
4
1234
A
3) SPRINKLE DONUTS
DS
Holly
COMPLETED
11/29/2016
123
5
1235
A
4) BAKE DONUTS
DS
COMPLETED
123
6
1236
A
5) SELL DONUTS
CS
368
1
3681
Annie and Fatty's Donut Shop
B
1) CLEAN COUNTER
CS
368
2
3682
2) CHANGE REGISTER
CS

<tbody>
</tbody>
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Sorry the format of the spreadsheet got distorted in my original post.

the store name and store category columns contain merged rows.
Sugar donuts, sprinkle donuts, etc should be listed under powder donuts.
 
Upvote 0

Forum statistics

Threads
1,213,490
Messages
6,113,956
Members
448,535
Latest member
alrossman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top