200,000 Lines of data, Searching and Displaying All relevant Data

Noobllianz

New Member
Joined
Jul 1, 2018
Messages
18
Hi Experts of Excel!

Please help me if you can! I am a complete Newbie and addicted to Excel.


There are 2 Components to my problem, and I think there is surely a better way to achieve it!

I will set out the Raw Data Template first!

Part 1
_________________________________________________________________________________________
MY SEARCH INPUT CELL IS Z1


YZAE
1SEARCH : John Doe
21ResultsAdjacent Results
32Results etcAdjacent Results

<tbody>
</tbody>



ABCDEF
1Customer NameCustomer No#Order #Order PriceOrder DateDescription
2John DoeCust0011000item$10002011/01/01Laptop
3Jane DoeCust0022000item$20002012/01/01Monitor
4John SmithCust0033000item$30002013/01/01Motherboard
5Jane SmithCust0044000item$40002014/01/01Keyboard
6Doe SmithCust0055000item$50002015/01/01Mouse
7John DoeCust0016000item$60002016/01/01SSD

<tbody>
</tbody>

I have around 200k Lines of raw data, and I would like to find items that the Customers have purchased by Name or Customer No# and display all relevant purchases in a list like above.

This is the forumla I have used to get the Order No# from a partial/full search of Name or Cust No#.

=IFERROR(VLOOKUP(SMALL(IF(IF(ISERROR(SEARCH($Z$1,$A2:$A7&" "&$B$2:$B$7)),FALSE,TRUE),ROW($C$2:$C$7)),$Y2),CHOOSE({1,2},ROW($C$2:$C$7),$A2:$A7),2,0),"")

This has been able to give me a result of all matches that relate to my SEARCH : John Doe.
Even if I were to use a partial SEARCH : John , all the John Doe, John Smith Order number will appear.

The problem is, I heard that using a double =vlookup(vlookup is a faster way to search through large data numbers. I have been trying to get the partial search to work with the vlookup and I have not been able to.
_________________________________________________________________________________________

Part 2

If I am able to get a whole list of Relevant info using the formula above, a single SEARCH: of John, or Jane will bring about information that is actually irrelevant to the information I need.

How can i compile and combine data from 2 different name searchs?

SEARCH : John Doe, SEARCH : Jane Doe.

How can i combine these 2 data lists together to fit in a dynamic table. Can the Tables function accommodate this feature?

Some Customers might have 10 or 100 purchases.
_________________________________________________________________________________________


Thank you in advance, If any of this doesn't make any sense, please let me know if you can help or guide me along the right way to research and study a feature of Excel.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,214,805
Messages
6,121,665
Members
449,045
Latest member
Marcus05

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