View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default Excel - If Forumula

=IF(AND(MONTH(A1)=8,YEAR(A1)=2008),B1,0)
or (if you put your date limits in D1 and E1)
=IF(AND(A1=D$1,A1<=E$1),B1,0)
--
David Biddulph


"Allison.S" wrote in message
...
We are attempting to create a formula to state whether a cell is between
two
dates.

eg.

Cell (A1) Information = 01/08/08
Cell (B1) information = £70

need IF instruction to state that if cell (A1) is between 01/08/08 and
31/08/08 then return the value of cell (B1), if not then return the value
of
£0

Is anyone able to provide the formular for this?

Thanks

Allison