C
CW
Ken -
Thanks for the solution you suggested on 3rd Jan but unforunately I can't
get this to work... I get #Error...
Any further suggestions, please?
Many thanks
CW
:
Try this:
=DateDiff("w",[FromDate], [ToDate]) + IIf(DateDiff("d",[FromDate], [ToDate])
Stafford, England
used as the chargeable period for the storage of goods.
We charge "per week or part", therefore I would like the result to be
rounded up.
My expression looks like this at the moment:
=DateDiff("w",[FromDate],[ToDate])
How should I modify this to get a rounded-up figure, please?
Many thanks
CW
Thanks for the solution you suggested on 3rd Jan but unforunately I can't
get this to work... I get #Error...
Any further suggestions, please?
Many thanks
CW
:
Try this:
=DateDiff("w",[FromDate], [ToDate]) + IIf(DateDiff("d",[FromDate], [ToDate])
Ken SheridanMod 7 > 0,1,0)
Stafford, England
I am using DateDiff with "w" to produce the result in weeks, which is then
used as the chargeable period for the storage of goods.
We charge "per week or part", therefore I would like the result to be
rounded up.
My expression looks like this at the moment:
=DateDiff("w",[FromDate],[ToDate])
How should I modify this to get a rounded-up figure, please?
Many thanks
CW