DATE FORMAT

1AG

New Member
Joined
Apr 8, 2020
Messages
25
Office Version
  1. 2011
Platform
  1. Windows
I have a formula that will return latest date if cells match criteria, however because the column that contains the formula is formatted as (Date), if criteria does not match, 1/0/1900 is being returned rather than specified text in formula. (Hope I explained well enough) This is the formula.


MAX(IF(($D:$D=$B2)*($H:$H=$G2),$E:$E,"X"))

MAX Date(IF((Customer=Customer)*(City=City), Latest Billing Date,"X" )) returning "X" if no billing date- "X" is not being returned, 1/0/1900 is. Thank you for your help!!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
How about
Excel Formula:
=IFERROR(1/(1/MAX(IF(($D:$D=$B2)*($H:$H=$G2),$E:$E,"X"))),"X")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
You're welcome & thanks for the feedback.
Very Welcome! This is an EXCELLENT site, saving soo much time and increasing productivity, I am very grateful for everyone's time and effort who are able to help!!
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,539
Members
449,088
Latest member
RandomExceller01

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