Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default greater than, less than, and in between

Hi! Thanks in advance for the help! I am attempting to make a snapshot of a
report and I am having problems with a simple formula. In cells A1 and A2 I
have a formula that determines a percentage and then a conditional format
based on what the answer is-no problem with this part. Then in cells B1 and
B2 I want to look at the answer in the cell above and get one of these
answers greater than 100% HIGH, between 100% and 94% WARNING and anything
below 94% GOOD then I also have a conditional format this is color coded
based on that answer. My problem is on some of the answers I get a false
value return. Here is the formula I am using
=IF(C6100%,"HIGH",IF(C6=95%,"WARNING",IF(C6<=94% ,"GOOD")))
I also tried
=IF(c6100%,"HIGH",IF(C6<=100=95%,WARNING",IF(C6< =94%,"GOOD")))
as well as many others. I know it is just me and I am not thinking over the
formula clear enough or should I take my decimals out further.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 342
Default greater than, less than, and in between

You would get "False" on values between 94 and 95. Try this:

=IF(C6100%,"HIGH",IF(C6=95%,"WARNING","GOOD"))

Tom
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default greater than, less than, and in between

Let's reduce your question to its bare essentials:
In C6 you have a number;
In another cell you have
=IF(C6100%,"HIGH",IF(C6=95%,"WARNING",IF(C6<=94% ,"GOOD")))

This works for me.
What do you mean by "false result"?
Give us some examples of the value in C6 and the result of the formula
Then tell use what you want to happen
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Dena" wrote in message
...
Hi! Thanks in advance for the help! I am attempting to make a snapshot of
a
report and I am having problems with a simple formula. In cells A1 and A2
I
have a formula that determines a percentage and then a conditional format
based on what the answer is-no problem with this part. Then in cells B1
and
B2 I want to look at the answer in the cell above and get one of these
answers greater than 100% HIGH, between 100% and 94% WARNING and anything
below 94% GOOD then I also have a conditional format this is color coded
based on that answer. My problem is on some of the answers I get a false
value return. Here is the formula I am using
=IF(C6100%,"HIGH",IF(C6=95%,"WARNING",IF(C6<=94% ,"GOOD")))
I also tried
=IF(c6100%,"HIGH",IF(C6<=100=95%,WARNING",IF(C6< =94%,"GOOD")))
as well as many others. I know it is just me and I am not thinking over
the
formula clear enough or should I take my decimals out further.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default greater than, less than, and in between

You don't need the third condition (<=94% will cover everything
else...assuming C6 does have a value and not #N/A)
Try
=IF(C6100%,"HIGH",IF(C6=95%,"WARNING","GOOD"))

btw which values are giving you a problem...
"Dena" wrote:

Hi! Thanks in advance for the help! I am attempting to make a snapshot of a
report and I am having problems with a simple formula. In cells A1 and A2 I
have a formula that determines a percentage and then a conditional format
based on what the answer is-no problem with this part. Then in cells B1 and
B2 I want to look at the answer in the cell above and get one of these
answers greater than 100% HIGH, between 100% and 94% WARNING and anything
below 94% GOOD then I also have a conditional format this is color coded
based on that answer. My problem is on some of the answers I get a false
value return. Here is the formula I am using
=IF(C6100%,"HIGH",IF(C6=95%,"WARNING",IF(C6<=94% ,"GOOD")))
I also tried
=IF(c6100%,"HIGH",IF(C6<=100=95%,WARNING",IF(C6< =94%,"GOOD")))
as well as many others. I know it is just me and I am not thinking over the
formula clear enough or should I take my decimals out further.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default greater than, less than, and in between

Thanks it worked!!!!!.

"TomPl" wrote:

You would get "False" on values between 94 and 95. Try this:

=IF(C6100%,"HIGH",IF(C6=95%,"WARNING","GOOD"))

Tom

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
greater than.. Eclaires Excel Discussion (Misc queries) 5 July 9th 07 05:45 PM
If sum greater than 12 use 12 Smudge Excel Discussion (Misc queries) 7 April 26th 07 12:22 PM
I have Greater than, I need less than also rlee1999 Excel Worksheet Functions 3 December 12th 06 07:52 PM
if value is greater than # * by 20% if less * by 40 sypher New Users to Excel 1 November 9th 06 06:10 PM
if greater then 99 then 1 if greater then 199 then two N.R. Excel Worksheet Functions 2 June 23rd 05 06:14 PM


All times are GMT +1. The time now is 01:59 AM.

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

About Us

"It's about Microsoft Excel"