Combining Two Data Sets

AbdulMoix

New Member
Joined
Oct 28, 2020
Messages
2
Hi Folks,

I'm in need of your expertise here:giggle:

I have two data sets as follows :

1- Data containing all kinds of movements of fleet vehicles (including Business Trips, To/from workshops, test drives etc.)
2- Containing the info. on Business Trips with Locations (for business Trips only)

I am looking for a way to segregate or identify business trips (only) in first data set with the help of 2nd one, so that I may fetch (lookup) the exact movement (location i.e. pickup and drop off) points in 1st data set.
The common factors in both data sets are the date and vehicles #.

I have created a dummy data, by proxying the numbers and locations in the data sets for your ready referencing.... Wondering if anyone could assist in this regard. Thank you !

PS | Uploading the images, as I can not find the option to upload the file here. Data file can be access here
 

Attachments

  • 2nd Data Set.PNG
    2nd Data Set.PNG
    63.8 KB · Views: 4
  • 1st Data Set.PNG
    1st Data Set.PNG
    74.4 KB · Views: 5

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Cross posted Combining Two Data Sets

While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered elsewhere.
 
Upvote 0
maybe
Thanks for trying .

But I think you looked up simply by Vehicle # ... which is not serving the objective here. I actually need to, let say "MARK/TAG", the particular Business Trip against the same Trip Start date through to Trip End Date as in 2nd Data set. (May be we'll have to give each business trip a code here from its start till end date)



Hope I'm able to explain myself here.
 
Upvote 0
so you want to use Date from the first and Trip End Date from the second?

refresh thread and check my link again
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,582
Members
449,089
Latest member
Motoracer88

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