-
Why won't this function work?
This function works:
=IF(B71="","",IF(B71<=330,"Standard","Below Standard"))
But when I change "330" to "R4" it doesn't work. R4 is a number field that
has 330 in it. It doesn't seem to be recognizing the Value_if_False
statement. Any number will make it show "Standard."
=IF(B71="","",IF(B71<=R4,"Standard","Below Standard"))
Your help is appreciated. -
Re: Why won't this function work?
It works fine on v2007.
"Angelsnecropolis" <Angelsnecropolis@discussions.microsoft.com> wrote in
message news:508AD6C7-C831-4FAC-9A85-2EE1CB8165C2@microsoft.com...
> This function works:
> =IF(B71="","",IF(B71<=330,"Standard","Below Standard"))
>
> But when I change "330" to "R4" it doesn't work. R4 is a number field that
> has 330 in it. It doesn't seem to be recognizing the Value_if_False
> statement. Any number will make it show "Standard."
> =IF(B71="","",IF(B71<=R4,"Standard","Below Standard"))
>
> Your help is appreciated. -
Re: Why won't this function work?
Does R4 contain a formula?
If R4 contains a *text* number and B71 contains a numeric number then
B71<=R4 will *always* be TRUE because in Excel text has a higher value than
numeric numbers.
A1 = X
A2 = 1,000,000
=A1>A2 = TRUE
A1 formatted as TEXT
A1 = 1 (a text number)
A2 = 1,000,000
=A1>A2 = TRUE
--
Biff
Microsoft Excel MVP
"Angelsnecropolis" <Angelsnecropolis@discussions.microsoft.com> wrote in
message news:508AD6C7-C831-4FAC-9A85-2EE1CB8165C2@microsoft.com...
> This function works:
> =IF(B71="","",IF(B71<=330,"Standard","Below Standard"))
>
> But when I change "330" to "R4" it doesn't work. R4 is a number field that
> has 330 in it. It doesn't seem to be recognizing the Value_if_False
> statement. Any number will make it show "Standard."
> =IF(B71="","",IF(B71<=R4,"Standard","Below Standard"))
>
> Your help is appreciated. -
Re: Why won't this function work?
It's likely that the "330" in R4 is text. What formula is used to produce
it?
Regards,
Fred
"Angelsnecropolis" <Angelsnecropolis@discussions.microsoft.com> wrote in
message news:508AD6C7-C831-4FAC-9A85-2EE1CB8165C2@microsoft.com...
> This function works:
> =IF(B71="","",IF(B71<=330,"Standard","Below Standard"))
>
> But when I change "330" to "R4" it doesn't work. R4 is a number field that
> has 330 in it. It doesn't seem to be recognizing the Value_if_False
> statement. Any number will make it show "Standard."
> =IF(B71="","",IF(B71<=R4,"Standard","Below Standard"))
>
> Your help is appreciated. Similar Threads -
By Neal Carron in forum Worksheet Functions
Replies: 2
Last Post: 01-26-2010, 01:12 AM -
By capt c in forum Worksheet Functions
Replies: 1
Last Post: 03-31-2009, 12:33 AM -
By new.microsoft.com in forum Programming (VBA, VB, C# etc)
Replies: 1
Last Post: 01-24-2009, 10:28 PM -
By bestmom in forum Worksheet Functions
Replies: 3
Last Post: 01-04-2009, 05:31 PM -
By Craig in forum Worksheet Functions
Replies: 2
Last Post: 01-04-2009, 04:47 PM Posting Permissions - You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Bookmarks