View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike Mike is offline
external usenet poster
 
Posts: 3,101
Default IF Formula - Help!

Try this in a cell formatted as date,

=IF(AND(ISNUMBER(AA3),ISNUMBER(AB3)),MIN(AA3,AB3), "")

Mike

"hjm" wrote:

I am trying to write a formula to show the 'soonest' date out of 2 columns,
but if both the columns are blank then show blank.

So far I have:

=IF(AA3AB3, AA3, AB3)

Which correctly shows the date, but where there is blanks it is dragging
through a date of 00/01/1900.

Can anyone help me extend my formula?

Many Thanks

Helen