romeo16

New Member
Joined
Jul 20, 2016
Messages
21
I have two sheets , one is for repaired car and another one is for returned car so I am trying to create an index formula that returns the returned car's brand name , Mechanic name and the problem but the information isn't accurate

Note: there is only one car per brand name , which means if you see a repeated brand name it means it has been returned and repaired again with a different mechanic

1. repaired car sheet

CAR NAMESMECHANICDATE/TIME
ChevyArnold06/10/15 07:00 AM
BMWmaroon06/25/15 09:00 AM
Hondagreen06/26/15 1:07 PM
ToyotaBruce07/07/15 10:00 AM
Hondaeddy07/09/15 08:00 AM
ChevyMike07/09/15 08:30 AM
ToyotaAndy07/25/15 10:00 AM
HondaWilliam08/29/15 5:28 PM
Chevyjames09/17/15 10:00 AM
Toyotajulie09/20/15 09:40 AM
BMWApril10/20/15 09:09 AM<strike></strike>
ChevyCharlie10/25/15 06:05 AM
HondaAndy_210/30/15 08:10 AM
HondaMike_206/01/16 05:00 AM
ToyotaSantos07/02/16 06:24 AM

<tbody>
</tbody>


2. Returned car sheet

CAR NAMESPROBLEMDATE/TIME
HondaEngine07/07/15 10:00 AM<strike></strike>
ChevySecurity_lock07/05/15 9:00 PM
ToyotaWindow07/24/15 1:07 PM
HondaFront door08/27/15 6:18 AM
ChevyMirror09/16/15 11:00 AM<strike></strike>
ToyotaPaint09/18/15 4:30 PM
BMWHeadLight10/17/15 5:50 AM
ChevyTrunk10/23/15 8:00 AM
HondaSeats10/27/15 4:20 AM
HondaTrunk05/31/16 5:20 AM
ToyotaWindshield07/01/16 07:18 AM<strike></strike>

<tbody>
</tbody>

My formula is only picking the first match's information
ex: for Honda is returning This:

Car namesMechanicProblemTime repairedTime returned
Hondagreen<strike></strike>Engine06/26/15 1:07 PM<strike></strike>07/07/15 10:00 AM<strike></strike><strike></strike>
Hondagreen<strike></strike>Engine<strike></strike>06/26/15 1:07 PM<strike></strike>07/07/15 10:00 AM<strike></strike><strike></strike><strike></strike>
Hondagreen<strike></strike>Engine<strike></strike>06/26/15 1:07 PM<strike></strike>07/07/15 10:00 AM<strike></strike><strike></strike><strike></strike>
Hondagreen<strike></strike>Engine<strike></strike>06/26/15 1:07 PM<strike></strike>07/07/15 10:00 AM<strike></strike><strike></strike><strike></strike>

<tbody>
</tbody>

I want to return from all Cars not for Honda only , Thank you in Advance!! :( :(
 

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).
Use a helper column in both sheets (as in here) so that Honda1 corresponds to the first Honda, Honda2 to the second Honda,BMW1 to the first BMW etc. This will allow you to merge the two sheets together with a simple vlookup (assuming that the first Honda in sheet1 corresponds the the first Honda in sheet2 etc.).
Finally, just add a filter to your merged table by the car name you want and you should be getting the desired result.
 
Upvote 0
Use a helper column in both sheets (as in here) so that Honda1 corresponds to the first Honda, Honda2 to the second Honda,BMW1 to the first BMW etc. This will allow you to merge the two sheets together with a simple vlookup (assuming that the first Honda in sheet1 corresponds the the first Honda in sheet2 etc.).
Finally, just add a filter to your merged table by the car name you want and you should be getting the desired result.

Thanks for that but what if we have a huge data set?
 
Upvote 0

Forum statistics

Threads
1,215,521
Messages
6,125,306
Members
449,218
Latest member
Excel Master

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