Problem trying to identify latest date

sharky12345

Well-known Member
Joined
Aug 5, 2010
Messages
3,421
Office Version
  1. 2016
Platform
  1. Windows
I'm using this to try to find the latest date with the following formula;

=MAX(IF('121Save'!A2:A1000=D8,'121Save'!C2:C1000))

The criteria applied is a value in column A that matches D8, with the dates being in column C. The result gives me a zero, which isn't correct, but my dates are formatted as text so will that make a difference and if so is there any way around it because I need the dates to remain as text?
 
Last edited:

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
MAX needs to be numeric, so dates as text will be an issue.
Try this which is an array formula that needs to be entered with CTRL-SHIFT-ENTER.

Code:
[TABLE="width: 515"]
<colgroup><col width="515"></colgroup><tbody>[TR]
   [TD="class: xl63, width: 515"]=MAX(IF('121Save'!A2:A1000=D8,('121Save'!C2:C1000)*1))[/TD]
 [/TR]
</tbody>[/TABLE]
 
Upvote 0
=SUMPRODUCT(LARGE((121Save'!A2:A1000=D8)*'121Save'!C2:C1000,1))
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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