Copy date for specific job Number

shbilalcom

New Member
Joined
Aug 17, 2014
Messages
13
[TABLE="class: grid, width: 400, align: left"]
<tbody>[TR]
[TD]No.[/TD]
[TD]Date[/TD]
[TD]Job. No.[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]3/5/2016[/TD]
[TD]456[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4/5/2016[/TD]
[TD]454[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]5/5/2016[/TD]
[TD]455[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]6/5/2016[/TD]
[TD]457[/TD]
[/TR]
</tbody>[/TABLE]










2nd Sheet

[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD]Job. No.[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]454[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]455[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]457[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I want to copy cell value from date column of 1st sheet if another cell in same row have "sample" value
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Yes, with index/match or vlookup(choose())


Excel 2010
ABC
1No.DateJob. No.
213/5/2016456
324/5/2016454
435/5/2016455
546/5/2016457
6
7Job. No.Date
84544/5/2016
94555/5/2016
104563/5/2016
114576/5/2016
Sheet9
Cell Formulas
RangeFormula
B8=INDEX($B$2:$B$5,MATCH(A8,$C$2:$C$5,0))
 
Last edited:
Upvote 0
Thank you so much, i have one more issue now, if the date is blank it shows 9Jan1900 date, is it possible to keep it also blank if the date is blank on 1st page
 
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,711
Members
453,748
Latest member
akhtarf3

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