OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

a weird formula problem

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
deqwan22
General User
General User


Joined: 09 May 2007
Posts: 15

PostPosted: Mon Jun 18, 2007 6:19 pm    Post subject: a weird formula problem Reply with quote

hye
i have this formula
=IF(U202>V205;"*";"")
but unfortunately, when the statement is true, the * didn't appear.

ive tried many ways to make it appear and i found out that the problem is with the V205
cell formula which is
=IF($D$21<A202;"";FIXED(VLOOKUP(C202;$sheet2.$B$45:$C$60;2);$sheet1l.$D$26;1))
V205 cell display a correct value but
i think the upper formula cannot read the value from the V205 cell.
Has anyone ever encounter this kind of problem before?
Any help is appreciated..
thanks
Back to top
View user's profile Send private message
contender
General User
General User


Joined: 25 Sep 2006
Posts: 6

PostPosted: Mon Jun 18, 2007 8:55 pm    Post subject: Reply with quote

I have encountered this kind of problem and I'm sure we are not alone. What current values do you get for U202 and V205?
Back to top
View user's profile Send private message
keme
Moderator
Moderator


Joined: 30 Aug 2004
Posts: 2910
Location: Egersund, Norway

PostPosted: Mon Jun 18, 2007 10:28 pm    Post subject: Reply with quote

The FIXED() function returns a number as text. Even though it displays correctly, the numerical value of textual content is always 0. For formatting decimals, use cell formatting instead. For adjusting precision, use the ROUND...() functions.
Back to top
View user's profile Send private message
deqwan22
General User
General User


Joined: 09 May 2007
Posts: 15

PostPosted: Mon Jun 18, 2007 11:18 pm    Post subject: Thanks.. Reply with quote

i replaced the fixed function with round and it works..
thanks Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group