Filter using mutiple sheets to create an array?

MiniFav

Board Regular
Joined
Mar 10, 2020
Messages
83
Office Version
  1. 365
Platform
  1. Windows
I am looking to colate a list of values which appear on multiple tabs in a work book.

Sheet 1 and 2 below have varying data but not all in the same columns.

Book1
ABC
1NumbersLettersColours
2123abcblue
3456defred
4789ghiyellow
Sheet1


Book1
ABCD
1ShapesNumbersLettersColours
2Circle123abcred
3Square456defyellow
4Triangle789ghiblue
Sheet2


I would like sheet 3 to then filter the number columns from sheets 1 and 2 and pull any with the colour blue through. to show the below.

Book1
A
1Show Blue numbers
2123
3789
Sheet3


I can do this one sheet at a time using =FILTER(Sheet1!A2:A4,Sheet1!C2:C4="blue","") but struggling to get the array to then also check the second sheet.

I am looking to do this without macros, only formulas. Any assistance would be appreciated.
 
It may be that one, or more, of the sheets doesn't have anything that meets the criteria. In which case you need to wrap the Rows(a) parts in iferror like
Excel Formula:
ra,IFERROR(ROWS(a),0),rb,ra+IFERROR(ROWS(b),0)
 
Upvote 0

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
It may be that one, or more, of the sheets doesn't have anything that meets the criteria. In which case you need to wrap the Rows(a) parts in iferror like
Excel Formula:
ra,IFERROR(ROWS(a),0),rb,ra+IFERROR(ROWS(b),0)
Fantastic! thanks again for all your help.
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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