On Sun, 16 Jul 2006 04:14:01 -0400, craig@help
<craighelp.2b13z1_1153037704.8502@excelforum-nospam.com> wrote:
>
>how do we get the date count? I'm aware that this you could use this
>05/05/05 - 01/05/05= 4days
>
>*BUT* i need to work out the date to count on day one e.g 01/05/05
>including weekend so i tried this 05/05/05 -01/05/05+1=5, works well
>but im hoping +1 can be avoid. I have tried WEEKDAY function but only
>count in the week apart from weekend.
=EndDate - StartDate + 1
You will need the +1.
>
>Secondly, the information I required to work but i can't seem to get it
>to work (sorry can't seem to get the attachment) :-
That's good. Better to not post attachments. Many will not download them.
>
>(In column A1) 01/04/2005 (date start from)
>(In column A2) 31/03/2006 (date end)
>
>
>(In column E1) 04/07/2005
>(In column F1) 00/01/1900
>(In column G1) 04/07/2005
>
>(In column G1 =E1+F1)
>(In column H1 =IF(OR(G1<A1,G1<A2),"X","Y")
>
>If no date has been input or 00/01/1900, it will come up an "X", how do
>we stop this, only for when a date is input?
>
=IF(OR(A1="",A2="",E1="",F1="",F1=0),"",IF(OR(G1<A1,G1<A2),"X","Y"))
--ron
Bookmarks