A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#Value



 
 
Thread Tools Display Modes
  #1  
Old July 25th, 2004, 08:15 PM
Steved
external usenet poster
 
Posts: n/a
Default #Value

Hello from Steved
Below gives me #Value

=IF(ISNA(IF(S60.6,S6-0.5,IF(S61/24,S5+0.5,S6)))&TEXT
(MINUTE(S6),"00"),"1200",HOUR(IF(S60.6,S6-0.5,IF
(S61/24,S6+0.5,S6)))&TEXT(MINUTE(S6),"00"))

But below works fine.

=HOUR(IF(S60.6,S6-0.5,IF(S61/24,S6+0.5,S6)))&TEXT(MINUTE
(S6),"00")

Please can you tell what is that I am missing to the first
formula that will get it to function, as my objective is
that wiil the cell value is 1200 it is to be blank.

Thankyou.
  #2  
Old July 25th, 2004, 08:52 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default #Value

Hi Steve
some questions:
- Why are you testing for 'ISNA'. Normally this error should not occur
(unless one of the cell references contain this error).
- what are the values in S6 and S5. any chance there're text values in
it?

In Addition. I would shorten the term
TEXT(MINUTE(S6),"00")

to
TEXT(S6,"mm")


--
Regards
Frank Kabel
Frankfurt, Germany


Steved wrote:
Hello from Steved
Below gives me #Value

=IF(ISNA(IF(S60.6,S6-0.5,IF(S61/24,S5+0.5,S6)))&TEXT
(MINUTE(S6),"00"),"1200",HOUR(IF(S60.6,S6-0.5,IF
(S61/24,S6+0.5,S6)))&TEXT(MINUTE(S6),"00"))

But below works fine.

=HOUR(IF(S60.6,S6-0.5,IF(S61/24,S6+0.5,S6)))&TEXT(MINUTE
(S6),"00")

Please can you tell what is that I am missing to the first
formula that will get it to function, as my objective is
that wiil the cell value is 1200 it is to be blank.

Thankyou.


  #3  
Old July 26th, 2004, 03:05 AM
Steved
external usenet poster
 
Posts: n/a
Default #Value

Hello Frank.

Firstly Changing TEXT(MINUTE(S6),"00")to TEXT(S6,"mm")
gives the wrong Cell value.

Below is the formula in S5 formatted as Time ie 1:30 p.m.
=((TRUNC(R5)*60+(R5-TRUNC(R5))*100)*60)/86400

Hence I was trying to have a blenk cell as it is
displaying 1200 which is Cell C5 displaying th formula
=IF(ISNA(IF(S60.6,S6-0.5,IF(S61/24,S5+0.5,S6)))&TEXT
(MINUTE(S6),"00"),"1200",HOUR(IF(S60.6,S6-0.5,IF
(S61/24,S6+0.5,S6)))&TEXT(MINUTE(S6),"00"))




-----Original Message-----
Hi Steve
some questions:
- Why are you testing for 'ISNA'. Normally this error

should not occur
(unless one of the cell references contain this error).
- what are the values in S6 and S5. any chance there're

text values in
it?

In Addition. I would shorten the term
TEXT(MINUTE(S6),"00")

to
TEXT(S6,"mm")


--
Regards
Frank Kabel
Frankfurt, Germany


Steved wrote:
Hello from Steved
Below gives me #Value

=IF(ISNA(IF(S60.6,S6-0.5,IF(S61/24,S5+0.5,S6)))&TEXT
(MINUTE(S6),"00"),"1200",HOUR(IF(S60.6,S6-0.5,IF
(S61/24,S6+0.5,S6)))&TEXT(MINUTE(S6),"00"))

But below works fine.

=HOUR(IF(S60.6,S6-0.5,IF(S61/24,S6+0.5,S6)))&TEXT

(MINUTE
(S6),"00")

Please can you tell what is that I am missing to the

first
formula that will get it to function, as my objective is
that wiil the cell value is 1200 it is to be blank.

Thankyou.


.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:31 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.