Formula help

bflan0524

Board Regular
Joined
Oct 7, 2016
Messages
193
Office Version
  1. 2010
hello, looking for some help, hope i explain this clearly. i have two sheets of data, what i would call a landing page where i am populating the data form the 2nd sheet titled DATA

the first sheet has primary keys as an identifier in column A, which pulls from the corresponding primary keys on the data page. the data page could has two columns Called Biz Sites, and officer codes, a biz site could be listed more than once with a different officer code assigned to it. if the sites have different owners there would be a column listed with the dates of the ownership. on the landing page i need to be able to pull the dates attributed with the officer code

for example data page
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Primary Key[/TD]
[TD]Officer Code[/TD]
[TD]Biz Site[/TD]
[TD]Start Date[/TD]
[TD]End Date[/TD]
[/TR]
[TR]
[TD]BMU5[/TD]
[TD]BMU[/TD]
[TD]A0001234[/TD]
[TD]1/1/2019[/TD]
[TD]3/31/2019[/TD]
[/TR]
[TR]
[TD]BX08[/TD]
[TD]BX0[/TD]
[TD]A0001234[/TD]
[TD]4/1/2019[/TD]
[TD]12/31/2019[/TD]
[/TR]
</tbody>[/TABLE]

Landing Page
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Primary Key[/TD]
[TD]Officer Code[/TD]
[TD]Biz Site[/TD]
[TD]Start Date[/TD]
[TD]End Date[/TD]
[/TR]
[TR]
[TD]BMU5[/TD]
[TD]BMU[/TD]
[TD]A0001234[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

so i need a formula for the landing page, column D(start date) that will identify the primary key from column A go to the data page and get the start date (column D) for that primary key

hopefully that makes sense..ty
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Maybe this on the Landing page
you may need to change the cell and column references in the formula to suit your data locations

Code:
=VLOOKUP(A2,Data!A2:E3,4,0)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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