#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Function not working

I'm trying to get a cell to work 3 different functions depending on it's value.
#1 If cell value is less than 10 the cell displays "GOOD"
#2 If cell value is more than 10 but less than 20 cell displays "FAIR"
#3 If cell value is more than 20 cell displays "POOR"
This is the function I have typed in now:
=IF(BF32="","",IF(BF32<10,"GOOD",IF(BF3210<20,"FA IR","POOR")))
What did I do wrong?
--
Thanks, Loren
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Function not working

Try the below. You cannot validate like BF3210<20

=IF(BF32="","",IF(BF32<10,"GOOD",IF(BF32<20,"FAIR" ,"POOR")))

If this post helps click Yes
---------------
Jacob Skaria


"Loren" wrote:

I'm trying to get a cell to work 3 different functions depending on it's value.
#1 If cell value is less than 10 the cell displays "GOOD"
#2 If cell value is more than 10 but less than 20 cell displays "FAIR"
#3 If cell value is more than 20 cell displays "POOR"
This is the function I have typed in now:
=IF(BF32="","",IF(BF32<10,"GOOD",IF(BF3210<20,"FA IR","POOR")))
What did I do wrong?
--
Thanks, Loren

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Function not working

This comparison is meaningless to Excel... BF3210<20. Try it this way...

=IF(BF32="","",IF(BF32<10,"GOOD",IF(BF32<20,"FAIR" ,"POOR")))

Note... this works because if BF32 is less than 10, the first IF handles it,
so you don't need to test to make sure BF32 is greater than or equal to
10... it has to be if it made it past the first IF statement, so all you
need to test in the second IF statement is that BF32 is less than 20.

--
Rick (MVP - Excel)


"Loren" wrote in message
...
I'm trying to get a cell to work 3 different functions depending on it's
value.
#1 If cell value is less than 10 the cell displays "GOOD"
#2 If cell value is more than 10 but less than 20 cell displays "FAIR"
#3 If cell value is more than 20 cell displays "POOR"
This is the function I have typed in now:
=IF(BF32="","",IF(BF32<10,"GOOD",IF(BF3210<20,"FA IR","POOR")))
What did I do wrong?
--
Thanks, Loren


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Function not working

Hi,

An alternative to IF

=LOOKUP(BF32,{1,10,20},{"Good","Fair","Poor"})

A may have the thresholds wrong because your question is unclear as to which
category 10 falls into

Mike

"Loren" wrote:

I'm trying to get a cell to work 3 different functions depending on it's value.
#1 If cell value is less than 10 the cell displays "GOOD"
#2 If cell value is more than 10 but less than 20 cell displays "FAIR"
#3 If cell value is more than 20 cell displays "POOR"
This is the function I have typed in now:
=IF(BF32="","",IF(BF32<10,"GOOD",IF(BF3210<20,"FA IR","POOR")))
What did I do wrong?
--
Thanks, Loren

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Function not working

Hi,

=IF(BF32="","",IF(BF32<10,"GOOD",IF(BF32<20,"FAIR" ,"POOR")))

"Loren" wrote:

I'm trying to get a cell to work 3 different functions depending on it's value.
#1 If cell value is less than 10 the cell displays "GOOD"
#2 If cell value is more than 10 but less than 20 cell displays "FAIR"
#3 If cell value is more than 20 cell displays "POOR"
This is the function I have typed in now:
=IF(BF32="","",IF(BF32<10,"GOOD",IF(BF3210<20,"FA IR","POOR")))
What did I do wrong?
--
Thanks, Loren



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Function not working

Hi,
=IF(BF32<10,"GOOD",IF(BF32<20,"FAIR","POOR"))

"Loren" wrote:

I'm trying to get a cell to work 3 different functions depending on it's value.
#1 If cell value is less than 10 the cell displays "GOOD"
#2 If cell value is more than 10 but less than 20 cell displays "FAIR"
#3 If cell value is more than 20 cell displays "POOR"
This is the function I have typed in now:
=IF(BF32="","",IF(BF32<10,"GOOD",IF(BF3210<20,"FA IR","POOR")))
What did I do wrong?
--
Thanks, Loren

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
ISBLANK function not working when cell is blank dut to function re mcmilja Excel Discussion (Misc queries) 9 May 7th 23 03:43 AM
IF function not working Soni Excel Worksheet Functions 3 November 10th 08 09:05 PM
IF function not working Loren Excel Discussion (Misc queries) 5 May 5th 08 05:36 PM
Sum function not working, help please! trickdigger Excel Worksheet Functions 2 April 9th 06 03:04 AM
IF(AND function is not working Access Newbie looking for help Excel Worksheet Functions 4 March 20th 06 06:47 PM


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

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

About Us

"It's about Microsoft Excel"