Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2007

Tip: Looking for answers? Try searching our database.

#VALUE due to wrong entry

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
S - 01 Nov 2007 21:36 GMT
This formula represents dates   dd  mm  yyyy  over 3 seperate cells and
deducted from a similar formula to work out how many weeks at £s per week.
=IF(DATE(K7,J7,I7)-DATE(G7,F7,E7)>=6,229,0

It is used as part of a spreadsheet to work out a monetry deposit for
rental.
However when `renters` complete this all is ok unless they dont complete as
mm (07) but instead type the month as in `July`
This then returns #VALUE in the destination cell .
Is there a way to change the formula to allow for the `renters` not
completing as requested (mm), but still return £s rather than #VALUE

I hope I have explained clearly.
thanks
Ron Rosenfeld - 01 Nov 2007 21:55 GMT
>This formula represents dates   dd  mm  yyyy  over 3 seperate cells and
>deducted from a similar formula to work out how many weeks at £s per week.
[quoted text clipped - 10 lines]
>I hope I have explained clearly.
>thanks

If your Windows/Control Panel/Regional Settings for Short Date is MDY, then
try:

=DATEVALUE(J7&"-"&I7&"-"&K7)

Note that I,J and K are in the MDY order

--ron
Peo Sjoblom - 01 Nov 2007 22:06 GMT
Maybe something like

=IF(COUNT(E7:G7,I7:K7)<>6,0,IF(DATE(K7,J7,I7)-DATE(G7,F7,E7)>=6,229,0))

You might to look up data > validation, there you can make sure that you
cannot type in text in those cells
Signature


Regards,

Peo Sjoblom

> This formula represents dates   dd  mm  yyyy  over 3 seperate cells and
> deducted from a similar formula to work out how many weeks at £s per week.
[quoted text clipped - 10 lines]
> I hope I have explained clearly.
> thanks
S - 01 Nov 2007 22:17 GMT
Thanks to both for a quick reponse.
I have used the `validation` route that should hopefully sort it or at least
alert them that its not correct.

thank you

> Maybe something like
>
[quoted text clipped - 17 lines]
>> I hope I have explained clearly.
>> thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.