[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

Author Message
acidblue
General User

Joined: 24 Apr 2012
Posts: 7

 Posted: Fri Apr 27, 2012 1:09 pm    Post subject: [Solved] Help with IF..Then I'm having a heck of a time trying to figure out the IF..THEN statement. I have a cell that is a percentage if that percentage is over 75% I want to print in another cell 100%. Been trying this: =IF(F3>=75,100,1) Which doesn't work. IF the cell F3 is equal to or over 75% I want the to print 100% in cell H3. If F3 isn't over or equal to 75% I want it to stay the same original value. I've different variations of the above formula but can't get right. Tagged as solved - floris v, moderator
Villeroy
Super User

Joined: 04 Oct 2004
Posts: 10106
Location: Germany

 Posted: Fri Apr 27, 2012 1:15 pm    Post subject: 75% is just another way to write 0.75 or 75/100 75 is equivalent to 7500%_________________Rest in peace, oooforum.org Get help on https://forum.openoffice.org
JohnV

Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

 Posted: Fri Apr 27, 2012 1:20 pm    Post subject: A percentage is just a format of a cell but the under lying value is .75 for 75%. =IF(F3>=0.75;100;1) Note that I'm using OOo so my formula uses semi-colons instead of commas.
acidblue
General User

Joined: 24 Apr 2012
Posts: 7

 Posted: Fri Apr 27, 2012 1:22 pm    Post subject: AHA! Thanks, I didn't realize I had to change 75 to 0.75.
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 8 Hours Page 1 of 1

 Jump to: Select a forum OpenOffice.org Forums----------------Setup and TroubleshootingOpenOffice.org WriterOpenOffice.org CalcOpenOffice.org ImpressOpenOffice.org DrawOpenOffice.org MathOpenOffice.org BaseOpenOffice.org Macros and APIOpenOffice.org Code Snippets Community Forums----------------General DiscussionSite Feedback
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