Filtering from more than 1 sheets

its_me_renan

Board Regular
Joined
Dec 18, 2011
Messages
70
I have a series of worklist written in sheet 1 and sheet 2 as indicated below. What I want to happen is that at Sheet 3, I will have an input cell which is designated at A1 which when I type any word from column F of sheet 1 and 2, it will filter out that word and all information on the worlist can be seen at sheet 3. Example, I have a word "C-MS" at A1 of sheet3 then all worklist with C-MS will be filter out as indicated below. Thank you.

SHEET 1
[TABLE="width: 511"]
<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]Item No[/TD]
[TD]Notification[/TD]
[TD]Description[/TD]
[TD]Reported by[/TD]
[TD]Planner group[/TD]
[TD]Main work center[/TD]
[TD]Created on[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]1[/TD]
[TD="align: right"]1001[/TD]
[TD]condensate leak MSC line[/TD]
[TD]Tony[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/6/2018[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]2[/TD]
[TD="align: right"]1003[/TD]
[TD]steam leak at 1003k column[/TD]
[TD]Tony[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/7/2018[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]3[/TD]
[TD="align: right"]1007[/TD]
[TD]defective instrument[/TD]
[TD]Tony[/TD]
[TD]Instrument[/TD]
[TD]IT[/TD]
[TD="align: right"]12/8/2018[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD]4[/TD]
[TD="align: right"]1011[/TD]
[TD]pump leak at casing[/TD]
[TD]Fred[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/9/2018[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD]5[/TD]
[TD="align: right"]1015[/TD]
[TD]loose bolts ant nuts[/TD]
[TD]Ali[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/10/2018[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD]6[/TD]
[TD="align: right"]1019[/TD]
[TD]swpping of compressors[/TD]
[TD]Lee[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/11/2018[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD]7[/TD]
[TD="align: right"]1023[/TD]
[TD]missing indicator[/TD]
[TD]Ali[/TD]
[TD]Instrument[/TD]
[TD]IT[/TD]
[TD="align: right"]12/12/2018[/TD]
[/TR]
</tbody>[/TABLE]


SHEET 2
[TABLE="width: 511"]
<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]Item No[/TD]
[TD]Notification[/TD]
[TD]Description[/TD]
[TD]Reported by[/TD]
[TD]Planner group[/TD]
[TD]Main work center[/TD]
[TD]Created on[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]1[/TD]
[TD="align: right"]1027[/TD]
[TD]oil leak[/TD]
[TD]Ali[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/6/2018[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]2[/TD]
[TD="align: right"]1031[/TD]
[TD]flange leak[/TD]
[TD]Ali[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/7/2018[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]3[/TD]
[TD="align: right"]1035[/TD]
[TD]defective valve[/TD]
[TD]Ali[/TD]
[TD]Instrument[/TD]
[TD]IT[/TD]
[TD="align: right"]12/8/2018[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD]4[/TD]
[TD="align: right"]1039[/TD]
[TD]detached bar[/TD]
[TD]Ali[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/9/2018[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD]5[/TD]
[TD="align: right"]1043[/TD]
[TD]loose thread[/TD]
[TD]Ali[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/10/2018[/TD]
[/TR]
</tbody>[/TABLE]


SHEET 3

[TABLE="width: 406"]
<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]C-MS[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]1[/TD]
[TD="align: right"]1001[/TD]
[TD]condensate leak MSC line[/TD]
[TD]Tony[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/6/2018[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]2[/TD]
[TD="align: right"]1003[/TD]
[TD]steam leak at 1003k column[/TD]
[TD]Tony[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/7/2018[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]4[/TD]
[TD="align: right"]1011[/TD]
[TD]pump leak at casing[/TD]
[TD]Fred[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/9/2018[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD]5[/TD]
[TD="align: right"]1015[/TD]
[TD]loose bolts ant nuts[/TD]
[TD]Ali[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/10/2018[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD]6[/TD]
[TD="align: right"]1019[/TD]
[TD]swpping of compressors[/TD]
[TD]Lee[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/11/2018[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD]1[/TD]
[TD="align: right"]1027[/TD]
[TD]oil leak[/TD]
[TD]Ali[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/6/2018[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD]2[/TD]
[TD="align: right"]1031[/TD]
[TD]flange leak[/TD]
[TD]Ali[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/7/2018[/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD]4[/TD]
[TD="align: right"]1039[/TD]
[TD]detached bar[/TD]
[TD]Ali[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/9/2018[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD]5[/TD]
[TD="align: right"]1043[/TD]
[TD]loose thread[/TD]
[TD]Ali[/TD]
[TD]Mechanical[/TD]
[TD]C-MS[/TD]
[TD="align: right"]12/10/2018[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi Renan,

I put data validation on sheet 3 A1 for C-MS & IT and the following filters between both sheets.

You will need to extend the ranges to suit your data, copy across then down how many total rows you'll need;


Book1
ABCDEFG
1Item NoNotificationDescriptionReported byPlanner groupMain work centerCreated on
211001condensate leak MSC lineTonyMechanicalC-MS12-06-18
321003steam leak at 1003k columnTonyMechanicalC-MS12-07-18
431007defective instrumentTonyInstrumentIT12-08-18
541011pump leak at casingFredMechanicalC-MS12-09-18
651015loose bolts ant nutsAliMechanicalC-MS12-10-18
761019swpping of compressorsLeeMechanicalC-MS12-11-18
871023missing indicatorAliInstrumentIT12-12-18
Sheet1



Book1
ABCDEFG
1Item NoNotificationDescriptionReported byPlanner groupMain work centerCreated on
211027oil leakAliMechanicalC-MS12-06-18
321031flange leakAliMechanicalC-MS12-07-18
431035defective valveAliInstrumentIT12-08-18
541039detached barAliMechanicalC-MS12-09-18
651043loose threadAliMechanicalC-MS12-10-18
Sheet2



Book1
ABCDEFG
1C-MSD Validation
2C-MS
3IT
4
5Item NoNotificationDescriptionReported byPlanner groupMain work centerCreated on
611001condensate leak MSC lineTonyMechanicalC-MS12-06-18
721003steam leak at 1003k columnTonyMechanicalC-MS12-07-18
841011pump leak at casingFredMechanicalC-MS12-09-18
951015loose bolts ant nutsAliMechanicalC-MS12-10-18
1061019swpping of compressorsLeeMechanicalC-MS12-11-18
1111027oil leakAliMechanicalC-MS12-06-18
1221031flange leakAliMechanicalC-MS12-07-18
1341039detached barAliMechanicalC-MS12-09-18
1451043loose threadAliMechanicalC-MS12-10-18
Sheet3
Cell Formulas
RangeFormula
A6{=IF(ROWS($A$6:A6)>COUNTIFS(Sheet1!$F$2:$F$8,Sheet3!$A$1)+COUNTIFS(Sheet2!$F$2:$F$6,Sheet3!$A$1),"",IFERROR(INDEX(Sheet1!A$2:A$8,SMALL(IF(Sheet1!$F$2:$F$8=Sheet3!$A$1,ROW(Sheet1!$F$2:$F$8)-ROW(Sheet1!$F$2)+1),ROWS($A$6:A6))),INDEX(Sheet2!A$2:A$8,SMALL(IF(Sheet2!$F$2:$F$8=Sheet3!$A$1,ROW(Sheet2!$F$2:$F$8)-ROW(Sheet2!$F$2)+1),ROWS($A$6:A6)-COUNTIF(Sheet1!$F$2:$F$8,Sheet3!$A$1)))))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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