Mark a cell based on latest date (Excel 2013)

krllb

New Member
Joined
Jun 10, 2013
Messages
16
Hello Excel Guru's,

I need your help on how to do this in Excel 2013.
I have 2 tabs, 1 for details (source data) and 1 for my summary (target).
In the summary tab, I need to mark the Name of the animal with X if in the Remarks column the cell value is blank based on the latest End date.
Hope you can help me out. Thanks in advance.
https://drive.google.com/drive/folders/1F6ctu1MZP_QCfCnTTSySRR7buSsbXyx6?usp=sharing
Summary tab
C:\Users\C8878~1.BOR\AppData\Local\Temp\msohtmlclip1\01\clip_image002.jpg

Details tab
C:\Users\C8878~1.BOR\AppData\Local\Temp\msohtmlclip1\01\clip_image004.jpg
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Try this

<table border="1" cellspacing="0" style="font-family:Arial,Arial; font-size:11pt; background-color:#ffffff; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:95.05px;" /><col style="width:127.37px;" /><col style="width:135.92px;" /><col style="width:138.77px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td><td >D</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td > </td><td > </td><td > </td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td > </td><td > </td><td colspan="2" style="background-color:#deeaf6; font-weight:bold; text-align:center; ">NAME</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td > </td><td style="background-color:#2f5496; color:#ffffff; font-weight:bold; font-size:10pt; ">Animal</td><td style="background-color:#2f5496; color:#ffffff; font-weight:bold; font-size:10pt; text-align:center; ">AW-AW</td><td style="background-color:#2f5496; color:#ffffff; font-weight:bold; font-size:10pt; text-align:center; ">MEOW</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td > </td><td >DOG</td><td style="text-align:center; ">X</td><td > </td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td > </td><td >CAT</td><td > </td><td > </td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b></b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >C4</td><td >=IF(SUMPRODUCT((Details!$B$2:$B$6=$B4)*(Details!$C$2:$C$6=C$3)*(Details!$G$2:$G$6="")*(Details!$E$2:$E$6=MAX((Details!$B$2:$B$6=$B4)*(Details!$C$2:$C$6=C$3)*(Details!$E$2:$E$6))))>=1,"X","")</td></tr></table></td></tr></table>
 
Upvote 0
Try this

ABCD
1
2 NAME
3 AnimalAW-AWMEOW
4 DOGX
5 CAT

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:95.05px;"><col style="width:127.37px;"><col style="width:135.92px;"><col style="width:138.77px;"></colgroup><tbody>
</tbody>

CellFormula
C4=IF(SUMPRODUCT((Details!$B$2:$B$6=$B4)*(Details!$C$2:$C$6=C$3)*(Details!$G$2:$G$6="")*(Details!$E$2:$E$6=MAX((Details!$B$2:$B$6=$B4)*(Details!$C$2:$C$6=C$3)*(Details!$E$2:$E$6))))>=1,"X","")

<tbody>
</tbody>

<tbody>
</tbody>
Wow it worked. Thanks a lot!
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,566
Messages
6,120,262
Members
448,953
Latest member
Dutchie_1

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