Client List with most recent contact

FormulHuh

New Member
Joined
Jun 7, 2018
Messages
1
Hi, I am having trouble with INDEX and MATCH, I have an appointments "all appointments" report from a CRM that I am trying to determine last contact date. I have already created the new table and created a unique member ID list but I'm stuck on the formula for identifying most recent attended appointment. I have the following data:

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1234[/TD]
[TD]01/06/2018[/TD]
[TD]Attended[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1234[/TD]
[TD]20/05/2018[/TD]
[TD]Failed to attend[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1234[/TD]
[TD]01/05/2018[/TD]
[TD]Attended[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]3456[/TD]
[TD]02/05/2018[/TD]
[TD]Attended[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]3456[/TD]
[TD]02/06/2018[/TD]
[TD]Attended[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]3456[/TD]
[TD]02/03/2018[/TD]
[TD]Attended[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]7890[/TD]
[TD]03/03/2018[/TD]
[TD]Failed to Attend[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]7890[/TD]
[TD]03/04/2018[/TD]
[TD]Attended[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]7890[/TD]
[TD]03/05/2018[/TD]
[TD]Failed to attend[/TD]
[/TR]
</tbody>[/TABLE]

I Have a new table and I have used the following formula to determine unique ID Numbers:
=IFERROR(INDEX($A$1:$A$33,MATCH(0,INDEX(COUNTIF($F$1:F2,$A$1:$A$33),),0)),"")

Where I am having trouble is using Index and Match to try and calculate the nearest "Attended" appointment to Today().

Any help will be greatly appreciated.
Mike
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
This is an array formula and must be entered with CTRL-SHIFT-ENTER.
Drag formula down as needed.
Excel Workbook
ABC
112346/1/2018Attended
212345/20/2018Failed to attend
312345/1/2018Attended
434565/2/2018Attended
534566/2/2018Attended
634563/2/2018Attended
778903/3/2018Failed to Attend
878904/3/2018Attended
978905/3/2018Failed to attend
10
11
1212346/1/2018
1334566/2/2018
1478904/3/2018
Sheet
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

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