vlookup a value for a certain date

SColyn

New Member
Joined
May 12, 2016
Messages
19
Good day,

Please assist, I would like to lookup a value for a certain date.

Below is a sample of my data. The one sheet will have the contract data e.g. Machine no, date, contract data (is machine in contract for the specific month)
Machine NoDateContract
12356701.01.2018Yes
12345601.01.2018No
12356701.02.2018Yes
12345601.02.2018Yes

<tbody>
</tbody>

The other sheet will have data relating to our machines. I would like to add the contract data for the specific month to the sheet below.
Machine No

<tbody>
</tbody><colgroup><col></colgroup>
Machine DescDate Machine Hours
123567

<tbody>
</tbody><colgroup><col></colgroup>
Machine B01.01.20181000
123456

<tbody>
</tbody><colgroup><col></colgroup>
Machine C01.01.20185000

<tbody>
</tbody>
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
What do you mean by "add the contract data" ?
There are no figures to add.

What's the significance of the Contract data?
It doesnt appear in the second table so how does it relate to the second table?
 
Upvote 0
My sample data my not be very clear.

I have one set of data showing the number of services we are suppose to do on a certain machine (Potential services) and the number of services we actually do (Completed services) with the hours of each machines. The hours are important as we have to do a service every 1000 hours. Then I have another set of data showing which of our equipment is in contract.

I have to report the machine services on contract seperately from the ones without a contract and the contract data can differ each month. Our contracts do not run from Jan to Dec, the contract might start in March and run for only 6 months. This is why I would like to include the contract data for the particular month. The contract data set already has the dates in it.
 
Upvote 0

Forum statistics

Threads
1,214,905
Messages
6,122,174
Members
449,071
Latest member
cdnMech

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