How To Extract Multiple Matches Into Separate Rows In Excel || Excel Tips & Tricks || dptutorials
Channel: dptutorials
Date: 2019-12-06

In this tutorial let us see how to extract multiple matches into separate rows in Excel
Here we will be using an array formula with a combination of Index and small functions

Let us consider an example like this now.

Link to download the exercise file: ➡️ https://bit.ly/3acq3Pf

Best Laptops to use for better speed: 
1️⃣ https://amzn.to/3lf8zYU
2️⃣ https://amzn.to/3xejpAW
3️⃣ https://amzn.to/379OqeL

Best Equipment & Tools for YouTube Channel : ➡️ https://bit.ly/3inKa1P

I have categories in column B and names in column C

And let us try to extract the names into these rows from E5 to G8, which are matching with the categories of E4 to G4.

So I enter the formula in E5 as 
=INDEX($C$4:$C$13,
we will be using the SMALL function here to get a row number that corresponds to an "nth match".

So continue the formula by typing as 
SMALL(IF($B$4:$B$13=E$4,ROW($C$4:$C$13)-MIN(ROW($C$4:$C$13))+1),1))

Press Ctrl+Shift+Enter, to see the result as “Apple” which is our first fruit name in the data range.

To make the k value more dynamic, we replace this 1 by typing ROWS($E$5:E5)
So this is our final formula
=INDEX($C$4:$C$13,SMALL(IF($B$4:$B$13=E$4,ROW($C$4:$C$13)-MIN(ROW($C$4:$C$13))+1),ROWS($E$5:E5)))

Press Ctrl+Shift+Enter again to see the result and now drag this formula to the end and to the right side to see results in all cells, you will see errors like this if there are no matches.

To avoid errors like this we cover this formula by iferror function like this

=IFERROR(INDEX($C$4:$C$13,SMALL(IF($B$4:$B$13=E$4,ROW($C$4:$C$13)-MIN(ROW($C$4:$C$13))+1),ROWS($E$5:E5))),””)

Got it friends.

So, friends this is how you can extract multiple matches into separate rows in Excel

I hope you have enjoyed this tutorial, If yes, please do give me a like, share and comment.

For further more interesting videos, please do subscribe dptutorials.

Our Recommendations
***************************************************************
Oracle Primavera Tutorials : https://bit.ly/3fn9PFH
Microsoft Excel Tutorials : https://bit.ly/2V5de5l
Microsoft Project Tutorials : https://bit.ly/37guNl7

For Personalized detail learning, write to dptutorials15@gmail.com

If you found this video valuable, give it a like. If you know someone who needs to see it, share it. Leave a comment below with your thoughts. Add it to a playlist if you want to watch it later.

***********************************************
★ My Online Tutorials ► https://www.dptutorials.com

⚡️LEARNING RESOURCES I Recommend: https://www.dptutorials.com/resources

⚡️Subscribe for more Awesome Tutorials: http://goo.gl/NyAtg2 

⚡️Support the Channel via shopping: https://amzn.to/2ZRfTOZ   http://ift.tt/2jH38PR   

⚡️Tools for YouTube vlogging:
***********************************************
•  Laptop:  https://amzn.to/2CaLFxJ 
•  Canon 200D Camera: https://amzn.to/3d7jDR4 
•  Benro Tripod:  https://amzn.to/3exQoax
•  Microphone:  https://amzn.to/3c5lEvS 
•  Collar Microphone: https://amzn.to/2X8DWrS 
•  Screen recorder:  https://techsmith.pxf.io/2BMjA  
•  Boom Arm Stand:  https://amzn.to/3extb87
•  Zoom H1 Audio Recorder:  https://amzn.to/2TNdHFj 
•  Harison Softbox Studio Lights:  https://amzn.to/3caGbzg 
•  Chroma Key Green Screen:  https://amzn.to/2M60mn4
•  Background Support Stand:  https://amzn.to/3dbACSv  
•  Acoustic Foam Background:  https://amzn.to/3gzFtyC 
•  USB RGB LED Strip:  https://amzn.to/36BpCLF
•  Wireless Mouse:  https://amzn.to/2TPIrW7
***********************************************

⚡️You Can Connect with Me at:
***********************************************
YouTube: http://www.youtube.com/c/dptutorials
Instagram: https://www.instagram.com/dptutorials/
G+: http://ift.tt/2kAOpa6
Twitter: https://twitter.com/dptutorials15
Facebook: http://ift.tt/2kfRnDi
BlogSpot: http://ift.tt/2kB14dh
Websites: http://www.dptutorials.com & http://www.askplanner.blogspot.com

#dptutorials #Exceltraining #Extractmultiplematches #ExcelTips #ExcelFreeTraining #ExcelFreeLearning

⚡️Tags: -
excel formulas in English, excel in English, excel tutorial in English,ms excel in english,ms excel tutorial in English, learn excel in English,vlookup in excel in English, learn ms excel in English, excel training, excel tutorial, Microsoft Excel 2007, learn excel,tutorial excel, ms excel tutorial, excel tutorials,ms excel 2007,Microsoft Excel training,learn excel online,learning excel,free excel training,online excel training,advanced excel tutorial,excel tutorial, excel formulas and functions, excel formulas, excel tutorial in Hindi, excel formulas and functions in Hindi, excel tricks, excel in Hindi, excel shortcut keys, excel vlookup, excel formulas in Hindi, excel for beginners

⚡️Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!