Vlookup with specific row count

Shaza

New Member
Joined
Jan 3, 2018
Messages
11
Hi, is it possible to combine vlookup with get value in specific row. Do i need to do macro behind or it can be done with cell formula only. When using vlookup only value in first row retrieve.Example as
=VLOOKUP(B4,B3:C9,2,FALSE)
In scenario below, i want to get payment date result based on payment received, such for example for ID 123 which suppose go to cell second payment date instead of first date payment.

Any help is appreciated.


DATA

Sheet1
Name ID Payment Date
Mike12301/01/2002
Jason11102/01/2002
Mike12305/02/2002
Suzy22216/03/2002
Mike12325/03/2002
Suzy22208/04/2002
Sheet2
Name IDPayment Received
Mike1232
Jason1111
Suzy2222

<colgroup><col span="2"><col></colgroup><tbody>
</tbody>

OUTCOME

Report
12301/01/2002

<colgroup><col span="2"></colgroup><tbody>
</tbody>
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
this will work if the payment dates are in order as shown


Book1
ABC
1Sheet1
2NameIDPayment Date
3Mike12301/01/2002
4Jason11102/01/2002
5Mike12305/02/2002
6Suzy22216/03/2002
7Mike12325/03/2002
8Suzy22208/04/2002
9
10Sheet2
11NameIDPayment Received
12Mike1232
13Jason1111
14Suzy2222
15
16
17OUTCOME
18
19Report
2012305/02/2002
2111102/01/2002
2222208/04/2002
Sheet1
Cell Formulas
RangeFormula
B20{=SMALL(IF($B$3:$B$8=A20,$C$3:$C$8),C12)}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

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