Hi all,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o></o>
Can any of you excel genius’s help? I have been struggling with what seemed at first like a very simple formula. I have the sample data as shown below and I am trying to work out a formula that provides the latest value in sheet 2 from sheet 1 column AF based on a number of conditions.<o></o>
<o></o>
If Sheet2 A1:A500 = Sheet1 F1:F500<o></o>
And Sheet1 G1:G500 = max & Sheet1 AF1:AF500 doesn’t = blank (i.e. last value in column AF)<o></o>
Then return adjacent value from Sheet1 AF1:AF500<o></o>
<o></o>
<o></o>
Sheet 1<o></o>
F-----G-----AF<o></o>
127--1-----15.6<o></o>
127--2------3.1<o></o>
128--1------2.0 <o></o>
128--2-----<o></o>
129--1------2.5<o></o>
129--2------1.6<o></o>
129--3------2.7<o></o>
130--1------3.3<o></o>
130--2------3.1<o></o>
130--3------1.6<o></o>
130--4------5.4<o></o>
130--5------<o></o>
130--6------
Sheet 2<o></o>
A--------B (desired results)<o></o>
127-----3.1<o></o>
128-----2.0<o></o>
129-----2.7<o></o>
130-----5.4
<o></o>
<o></o>
<o></o>
Does anybody have any suggestions?<o></o>
<o></o>
Many many eternal thanks for any help<o></o>
<o></o>
Can any of you excel genius’s help? I have been struggling with what seemed at first like a very simple formula. I have the sample data as shown below and I am trying to work out a formula that provides the latest value in sheet 2 from sheet 1 column AF based on a number of conditions.<o></o>
<o></o>
If Sheet2 A1:A500 = Sheet1 F1:F500<o></o>
And Sheet1 G1:G500 = max & Sheet1 AF1:AF500 doesn’t = blank (i.e. last value in column AF)<o></o>
Then return adjacent value from Sheet1 AF1:AF500<o></o>
<o></o>
<o></o>
Sheet 1<o></o>
F-----G-----AF<o></o>
127--1-----15.6<o></o>
127--2------3.1<o></o>
128--1------2.0 <o></o>
128--2-----<o></o>
129--1------2.5<o></o>
129--2------1.6<o></o>
129--3------2.7<o></o>
130--1------3.3<o></o>
130--2------3.1<o></o>
130--3------1.6<o></o>
130--4------5.4<o></o>
130--5------<o></o>
130--6------
Sheet 2<o></o>
A--------B (desired results)<o></o>
127-----3.1<o></o>
128-----2.0<o></o>
129-----2.7<o></o>
130-----5.4
<o></o>
<o></o>
<o></o>
Does anybody have any suggestions?<o></o>
<o></o>
Many many eternal thanks for any help<o></o>