Compare date of a transaction against a range of dates

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

Guest

The formula I'm using is "=if(datevalue("08/10/2005")
<=$c3<=datevalue("09/09/2005"),$E3,0)". I have a transaction date of
09/05/2005 in cell c3 and a transaction amount of $3,500 in cell e3. My
formula is not returning a value of $3,500. The logical test from the
formula is returning false. There are no other add-in tools to include in
the Excel start up.
 
One way

=IF(AND(C3>=DATE(2005,8,10),C3<=DATE(2005,9,9)),E3,0)

--
Regards,

Peo Sjoblom

(No private emails please)
 

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