Search 1 information and getting multiple results from various sheets

Farley12

New Member
Joined
Jun 13, 2018
Messages
1
Hi,

I would like to search for Item 001, I need the search to be carried out on multiple sheets.
Then, the results will be displayed in tables including the other related information.

I watched several videos but still had errors in my excel:
Currently i'm still searching information from 1 sheet only

=IF(ROWS(B$6:B6)<=$C$3,INDEX('2018'!A$2:A$11,SMALL(IF('2018'!$A$2:$A$11=$B$3,ROW('2018'!$A$2:$A$11)-ROW('2018'!$A$2)+1),ROWS(B6:B6))),"")

(Bracket showing the row and column)
[TABLE="width: 314"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Search: Item 1 (Multiple data from various sheets)

[TABLE="width: 250"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD] Item[/TD]
[TD]Count[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]4 (C3)[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 568"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD](A2)[/TD]
[TD]1[/TD]
[TD]ABC[/TD]
[TD]Results[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]A3[/TD]
[TD]2[/TD]
[TD]123[/TD]
[TD]Multiple[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]A4[/TD]
[TD]3[/TD]
[TD]DEF[/TD]
[TD]Excel[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]A5[/TD]
[TD]1[/TD]
[TD]987[/TD]
[TD]Error[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5[/TD]
[TD] JBG [/TD]
[TD]Results[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]6[/TD]
[TD] ABD [/TD]
[TD]Multiple[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]435[/TD]
[TD]Excel[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]543[/TD]
[TD]Error[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]DSW[/TD]
[TD]Results[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]A11[/TD]
[TD]1[/TD]
[TD]#$%[/TD]
[TD]Multiple[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]


Results that I want:

[TABLE="width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl68, width: 64"]B6[/TD]
[TD="class: xl68, width: 64"]1[/TD]
[TD="class: xl66, width: 64"]ABC[/TD]
[TD="class: xl66, width: 64"]Results[/TD]
[TD="class: xl66, width: 64"]4[/TD]
[/TR]
[TR]
[TD="class: xl69"]B7[/TD]
[TD="class: xl69"]1[/TD]
[TD="class: xl67"]987[/TD]
[TD="class: xl67"]Error[/TD]
[TD="class: xl66"]4[/TD]
[/TR]
[TR]
[TD="class: xl68"]B8[/TD]
[TD="class: xl68"]1[/TD]
[TD="class: xl66"]543[/TD]
[TD="class: xl67"]Error[/TD]
[TD="class: xl66"]4[/TD]
[/TR]
[TR]
[TD="class: xl68"]B9[/TD]
[TD="class: xl68"]1[/TD]
[TD="class: xl66"]#$%[/TD]
[TD="class: xl66"]Multiple[/TD]
[TD="class: xl66"]4[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody></tbody>[/TABLE]



Results that I get:

[TABLE="width: 568"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]B6[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]B7[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]B8[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]B9[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
How to fix it or how to do it in different way?
Any links or videos that suits my situations?

Thank you.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Sheet: 2018


Book1
ABCD
1
21ABCResults4
32123Multiple4
43DEFExcel2
51987Error4
65JBGResults4
76ABDMultiple4
82435Excel4
91543Error4
102DSWResults4
111#$%Multiple4
2018


Sheet: Sheet1


Book1
ABCDE
1Item1
2Count4
3
411ABCResults4
541987Error4
681543Error4
7101#$%Multiple4
8
Sheet1


In B2 just enter:

=COUNTIFS('2018'!A2:A11,B1)

In A4 control+shift+enter, not just enter, and copy down:

=IF(ROWS($A$4:A4)>$B$2,"",SMALL(IF('2018'!$A$2:$A$11=$B$1,ROW('2018'!$A$2:$A$11)-ROW(INDEX('2018'!$A$2:$A$11,1,1))+1),ROWS($A$4:A4)))

In B4 just enter, copy across, and down:

=IF($A4="","",INDEX('2018'!A$2:A$11,$A4))


Note. This set up does not apply for an across multiple sheets setting.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

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