finding data between sheets

diegorob24

New Member
Joined
Jun 6, 2013
Messages
2
Hi, I am working on a document and I need to do the following, If a value in sheet 1 exists on sheet 2, then i want the date of the value in sheet 2 (same row) to appear on a column in sheet 1 named date. how can you do this?
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
If the data in sheet 2 is all in 1 column, you can use a Vlookup

=Vlookup(lookup_Value,Table_Array,Col_Index_Num,Range_lookup)

Lookup_Value = The Value in Sheet 1
Table Array = The range in Sheet 2 (Starting with the first Column the information will appear in)
Col_Index_Num = the number of rows to the right the date appears (1 is the column you are looking up, so one right is 2)
Range_Lookup = False for Exact match
 
Upvote 0
What if the date is on the left of the value? and if the value does not exist does the cell remain blank or do i have to include that into the formula somehow.?
 
Upvote 0
If the data is on the left you will need to use an Index/Match combo, For missing info I usually put in an If statement

=If(ISERROR(Your Formula),"",Your Formula)
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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