VLOOKUP or INDEX/MATCH Question

rigeljr

New Member
Joined
Jul 5, 2021
Messages
17
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am looking for some help with the below table today. This is sample data that represents some real data that I have. The dollar amounts represent payments that have been made and $0 amounts indicate that no payment was made. What I want to do is be able to find the date of the last payment made for each of the people. So for example, Ted would be 1-Aug-21, Fred would be 1-Oct-21, Buddy would be 1-Jul-21 and so on...

Would appreciate any help with this, thank you!


1-May-21​
1-Jun-21​
1-Jul-21​
1-Aug-21​
1-Sep-21​
1-Oct-21​
1-Nov-21​
Ted
$50.00​
$0.00​
$0.00​
$50.00​
$0.00​
$0.00​
$0.00​
Fred
$24.00​
$0.00​
$0.00​
$0.00​
$0.00​
$24.00​
$0.00​
Buddy
$36.00​
$36.00​
$36.00​
$36.00​
$0.00​
$0.00​
$0.00​
Joe
$78.00​
$78.00​
$78.00​
$78.00​
$78.00​
$78.00​
$78.00​
Jeff
$100.00​
$0.00​
$0.00​
$0.00​
$0.00​
$0.00​
$0.00​
John
$200.00​
$0.00​
$100.00​
$150.00​
$200.00​
$0.00​
$0.00​
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
In that case how about
+Fluff 1.xlsm
ABCDEFGHI
101/05/202101/06/202101/07/202101/08/202101/09/202101/10/202101/11/2021
2Ted50005000001/05/2021
3Fred24000024001/05/2021
4Buddy3636363600001/07/2021
5Joe7878787878787801/07/2021
6Jeff100500000001/06/2021
7John20001001502000001/07/2021
Done
Cell Formulas
RangeFormula
I2:I7I2=INDEX($B$1:$H$1,AGGREGATE(14,6,(COLUMN($B$1:$H$1)-COLUMN($B$1)+1)/($B$1:$H$1<=TODAY())/($B2:$H2>0),1))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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