compare dates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

=IF(('Input Sheet'!$B$8>0),'Input Sheet'!$B$8,0)
I'm currently using the formula above to confirm there is data to be copied,
but I would also like to make sure the date governing a column is less than
or equal to the departure date which lives on a data entry page call Input
Sheet...

I tried the following where D8 is a calculated date field and 'Input
Sheet'!B6 is an entered date.

=IF(AND(('Input Sheet'!$B$8>0),D8<'Input Sheet'!B6)),'Input Sheet'!$B$8,0)

Any thoughts...
 
Just lose some of your brackets:

=IF(AND('Input Sheet'!$B$8>0,D8<'Input Sheet'!B6),'Input Sheet'!$B
$8,0)

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top