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
ABCDEFG
1Item NoNotificationDescriptionReported byPlanner groupMain work centerCreated on
211001condensate leak MSC lineTonyMechanicalC-MS12/6/2018
321003steam leak at 1003k columnTonyMechanicalC-MS12/7/2018
431007defective instrumentTonyInstrumentIT12/8/2018
541011pump leak at casingFredMechanicalC-MS12/9/2018
651015loose bolts ant nutsAliMechanicalC-MS12/10/2018
761019swpping of compressorsLeeMechanicalC-MS12/11/2018
871023missing indicatorAliInstrumentIT12/12/2018

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


SHEET 2
ABCDEFG
1Item NoNotificationDescriptionReported byPlanner groupMain work centerCreated on
211027oil leakAliMechanicalC-MS12/6/2018
321031flange leakAliMechanicalC-MS12/7/2018
431035defective valveAliInstrumentIT12/8/2018
541039detached barAliMechanicalC-MS12/9/2018
651043loose threadAliMechanicalC-MS12/10/2018

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


SHEET 3

ABCDEFG
1C-MS
211001condensate leak MSC lineTonyMechanicalC-MS12/6/2018
321003steam leak at 1003k columnTonyMechanicalC-MS12/7/2018
441011pump leak at casingFredMechanicalC-MS12/9/2018
551015loose bolts ant nutsAliMechanicalC-MS12/10/2018
661019swpping of compressorsLeeMechanicalC-MS12/11/2018
711027oil leakAliMechanicalC-MS12/6/2018
821031flange leakAliMechanicalC-MS12/7/2018
941039detached barAliMechanicalC-MS12/9/2018
1051043loose threadAliMechanicalC-MS12/10/2018

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
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,214,872
Messages
6,122,025
Members
449,060
Latest member
LinusJE

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