showing the most recent date comparing 2 cells

trixy

New Member
Joined
Sep 2, 2014
Messages
4
I have a sheet like below, I need to be able to see which cell contain the most recent date.

A B
1 12/12/2019 01/01/2008 true
2 05/12/2018 02/03/2009 true
3 09/03/2009 09/12/2020 false

I've tried using the =if(a2>b2),true)

but, in my excel sheet I am getting mixed results. My exported excel sheet works for some cells - but when I look at it more closely, its saying (for example) False for row 1, then if I click in the cell A1, it automatically alters the formula to show true (as it should).

I've tried selecting the full column to format it to date - but its not working.

1, is there a better way to find the most recent date (comparing two dates) ideally a formula?

Thank you in advance,
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Sounds like it could be a formatting issue with the source data, see if this works any better.

=(A2+0)>(B2+0)
 
Upvote 0

Forum statistics

Threads
1,215,217
Messages
6,123,675
Members
449,116
Latest member
HypnoFant

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