Search Engine without using Macros or VBA

Macacidic

New Member
Joined
May 30, 2017
Messages
2
Hi All

I have a large list of data that I would like to add a search function to, what I am trying to do is type some or all information in the "Search for" boxes and have a list of results returned in the "Search results". I would prefer a formula rather than VBA/Macros.

Thanks for your help.

Mac

Search For
Item 1Item 2Item 3Item 4Item 5
Orange Monday
Search Results
OrangeCreamMondayRed2
OrangeCreamMondayBlue
Table of Information
Item 1Item 2Item 3Item 4Item 5
OrangeCreamMondayRed2
AppleIce CreamMondayRed5
PearJuiceThursday 6
AppleJuiceFridayGreen9
OrangeCreamMondayBlue
AppleIce CreamFridayPink4
<colgroup><col width="101" style="width: 76pt; mso-width-source: userset; mso-width-alt: 3232;" span="5"> <tbody> </tbody>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Search For
Item 1Item 2Item 3Item 4Item 5
OrangeMonday
Search Results
OrangeCreamMondayRed2
OrangeCreamMondayBlue
Table of Information
Item 1Item 2Item 3Item 4Item 5helper
OrangeCreamMondayRed21a simple formula in a helper column
AppleIce CreamMondayRed50labels selected rows with a 1
PearJuiceThursday60
AppleJuiceFridayGreen90a fairly simple formula with large function
OrangeCreamMondayBlue1and offset then lists the rows below
AppleIce CreamFridayPink40
although the 2 1's look identical they have a tiny fraction
OrangeCreamMondayBlue01of the row number added to them to make them unique
OrangeCreamMondayRed22otherwise the large function would return the same row twice
3
4
5formula for the first Orange
6
#num !#num !#num !#num !#num !7=IF(LARGE($F$13:$F$18,$F20)=0,"",OFFSET($F$12,MATCH(LARGE($F$13:$F$18,$F20),$F$13:$F$20,0),-5))
#num !#num !#num !#num !#num !8
#num !#num !#num !#num !#num !9the -5 at end is reduced by 1 across the row of course
#num !#num !#num !#num !#num !10
the #num ! Are because 7 to 10 are greater than the 6 rows of original data
the numbers 1 to 10 on the right can be hidden
if the 0 in item 5 column is a nuisance it can be error trapped out

<colgroup><col span="19"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,436
Messages
6,124,869
Members
449,192
Latest member
MoonDancer

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