Hi Pandora,
I think this works
=IF(AND(B2="",C2="",A2=""),"",IF((AND(B2="",C2="",A2<>"")),TODAY()-A2+1,IF(AND(A2<>"",C2<>"",B2=""),C2-A2+1,IF(AND(A2<>"",B2<>"",C2=""),B2-A2+1,IF(AND(A2<>"",B2<>"",C2<>""),C2-A2+1)))))
It's basically nested If statements that read that comes back with a
true or flase statement e,g
To help you read it examine what the first part is doing
IF(AND(B2="",C2="",A2=""),"",
It checks to see if A2, B2 and C2 are all blank, If they are it comes
back blank and so
Hope this helps
VBA Noob

Signature
VBA Noob
Pandora - 18 Jun 2006 14:53 GMT
Fantastic!!!! I really can't say how grateful I am, really!

Signature
Pandora
> Hi Pandora,
>
[quoted text clipped - 15 lines]
>
> VBA Noob
=IF(AND(B2="",C2=""),TODAY()-A2,IF(C2<>"",C2-A2,B2-A2))
--
HTH
Bob Phillips
(replace xxxx in the email address with gmail if mailing direct)
> My problem is that I am trying to set up a spreadsheet that wiil be used by
> different groups of people who historically have recored data in different
[quoted text clipped - 67 lines]
> > > --
> > > Pandora
VBA Noob - 17 Jun 2006 22:28 GMT
Hi Bob,
If say the hire was made today 17th June and returned today then your
formula would return 0.
Also if the start date is blank it still returns a value so I suggest
the following
=IF(AND(A2="",B2="",C2=""),"",IF(AND(B2="",C2=""),TODAY()-A2+1,IF(C2<>"",C2-A2+1,B2-A2+1)))
VBA Noob

Signature
VBA Noob
Pandora - 18 Jun 2006 14:55 GMT
Thank you so much!!! I really appreciate the trouble you guys go to to answer
queries here. Thank you!!!!

Signature
Pandora
> =IF(AND(B2="",C2=""),TODAY()-A2,IF(C2<>"",C2-A2,B2-A2))
>
[quoted text clipped - 88 lines]
> > > > --
> > > > Pandora