Using =MAX() to find most recent date

kmayhew

New Member
Joined
Jul 12, 2011
Messages
7
I am using Excel 2010 on Win7.

I have a list of short dates (dd-mmm-yy) in a single column, A2:A20.

On the same tab, I am using
Code:
=MAX(A2:A20)
to find the most recent date in the list (so that I can know the most recent invoice date for that project). It works just fine here and I do indeed get the most recent date and in the proper format.

In a different workbook being used as a summary overview for multiple projects, I am using
Code:
=MAX('[another_worksheet.xlsm]Invoice Record'!$A$2:$A$20)
. The result here is *always* the date one day and four years before the correct date.

Example: if the correct most recent date is June 1, 2011; the result displayed by the above formula is May 31, 2007.

My attempt to correct: on the original worksheet, I created a cell of =MAX(A2:A20) and the result is correct. On Summary Worksheet, I enter "=" and then go click on that result cell in the original spreadsheet. My thinking was that perhaps if all I want to do is *see* the result, then maybe there won't be an error.

But the displayed result in the summary worksheets is still one day + four years before the actual result shown in the original file. It works fine from another tab in the same file, but not across files.

Pulling other data into the summary page works fine. The only error is in this date.

Ideas?
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Aha! Thank you! I was beating my head against the wall on this and had completely forgotten about that issue. Granted I had to adjust several documents and correct dates, but now that the template is corrected I should be good from here on out.

Thank you!!
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,480
Members
452,915
Latest member
hannnahheileen

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