How to automate searching certain values and moving them to another sheet?

filido

New Member
Joined
Jun 7, 2019
Messages
21
Hi all,

I have in one column values (red, white) and in another column values (Jack, Marie David etc.) There are several hundreds of rows so that there are different names once but for each name a color (red or white) is assigned. So for example:

Sheet 1
ColorName
redJack
redMarie
whiteDavid
redAshley
whiteTom
whiteMatt

<tbody>
</tbody>


And I am trying to search all names with color white and make a list of names to Sheet 2 like this:

Sheet 2
ColorName
whiteDavid
whiteTom
whiteMatt

<tbody>
</tbody>







I would like to do this either with Excel functions and formulas (to automate this) or with VBA but I have no idea how. And the reason I can't use filter and then COPY+PASTE because the process must be automatic so that the user just inserts the data once into Sheet 1 and then Sheet 2 automatically gets updated.

I really hope someone can help me with this!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
First format the sheet1 data as Table. You can then Create pivot table for sheet1 Table in every new sheet and filter by specific color name. This way you can refresh the data everytime new data set is added.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,397
Members
448,957
Latest member
Hat4Life

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