Thread
:
Excel - If Forumula
View Single Post
#
5
Posted to microsoft.public.excel.misc
Sandy Mann
external usenet poster
Posts: 2,345
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
Reply With Quote
Sandy Mann
View Public Profile
Find all posts by Sandy Mann