View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Sandy Mann Sandy Mann is offline
external usenet poster
 
Posts: 2,345
Default Excel - If Forumula

Just another option, with 1/8/08 in A1 and 31/8/08 in B2:

=IF((MEDIAN(A2,B2,A1)=A1),B1,"Not in range")

or

=(MEDIAN(A2,B2,A1)=A1)*B1


--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"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