#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
At A Loss
 
Posts: n/a
Default Logical Value

When using a IF formula, one answer is false.
Can the word FALSE be changed to a zero?
Would appericate a "simple" example...
Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Logical Value

Hi
Something like:
=IF(A2=6,"Yes",0)

Andy.

"At A Loss" wrote in message
...
When using a IF formula, one answer is false.
Can the word FALSE be changed to a zero?
Would appericate a "simple" example...
Thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Logical Value

Without an example of the formula you're using or what you're trying to
accomplish, I can only guess...

Perhaps something like this:

=IF(A1=5,1000,0)
That formula test if the value of A1 is 5.
If TRUE, then return 1000
If FALSE, then return 0

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"At A Loss" wrote:

When using a IF formula, one answer is false.
Can the word FALSE be changed to a zero?
Would appericate a "simple" example...
Thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
At A Loss
 
Posts: n/a
Default Logical Value

Ron, Here is my formula:
=IF(G2=0,0,IF(G2=4,VLOOKUP(G2,J2:K8,2)))
Hope the formula makes sense!!
Appericate your time and help on this.

On Mon, 13 Mar 2006 07:49:27 -0800, Ron Coderre
wrote:

Without an example of the formula you're using or what you're trying to
accomplish, I can only guess...

Perhaps something like this:

=IF(A1=5,1000,0)
That formula test if the value of A1 is 5.
If TRUE, then return 1000
If FALSE, then return 0

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"At A Loss" wrote:

When using a IF formula, one answer is false.
Can the word FALSE be changed to a zero?
Would appericate a "simple" example...
Thanks in advance


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Logical Value

Here you go:

=IF(G2=0,0,IF(G2=4,VLOOKUP(G2,J2:K8,2),0))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"At A Loss" wrote:

Ron, Here is my formula:
=IF(G2=0,0,IF(G2=4,VLOOKUP(G2,J2:K8,2)))
Hope the formula makes sense!!
Appericate your time and help on this.

On Mon, 13 Mar 2006 07:49:27 -0800, Ron Coderre
wrote:

Without an example of the formula you're using or what you're trying to
accomplish, I can only guess...

Perhaps something like this:

=IF(A1=5,1000,0)
That formula test if the value of A1 is 5.
If TRUE, then return 1000
If FALSE, then return 0

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"At A Loss" wrote:

When using a IF formula, one answer is false.
Can the word FALSE be changed to a zero?
Would appericate a "simple" example...
Thanks in advance





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Logical Value

Alternatively, couldn't you just use this?

=IF(G2=4,VLOOKUP(G2,J2:K8,2),0)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Ron Coderre" wrote:

Here you go:

=IF(G2=0,0,IF(G2=4,VLOOKUP(G2,J2:K8,2),0))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"At A Loss" wrote:

Ron, Here is my formula:
=IF(G2=0,0,IF(G2=4,VLOOKUP(G2,J2:K8,2)))
Hope the formula makes sense!!
Appericate your time and help on this.

On Mon, 13 Mar 2006 07:49:27 -0800, Ron Coderre
wrote:

Without an example of the formula you're using or what you're trying to
accomplish, I can only guess...

Perhaps something like this:

=IF(A1=5,1000,0)
That formula test if the value of A1 is 5.
If TRUE, then return 1000
If FALSE, then return 0

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"At A Loss" wrote:

When using a IF formula, one answer is false.
Can the word FALSE be changed to a zero?
Would appericate a "simple" example...
Thanks in advance



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
At A Loss
 
Posts: n/a
Default Logical Value

Ron, Used your formula. Appericate your time and help
Thanks!!

On Mon, 13 Mar 2006 08:27:06 -0800, Ron Coderre
wrote:

Alternatively, couldn't you just use this?

=IF(G2=4,VLOOKUP(G2,J2:K8,2),0)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Ron Coderre" wrote:

Here you go:

=IF(G2=0,0,IF(G2=4,VLOOKUP(G2,J2:K8,2),0))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"At A Loss" wrote:

Ron, Here is my formula:
=IF(G2=0,0,IF(G2=4,VLOOKUP(G2,J2:K8,2)))
Hope the formula makes sense!!
Appericate your time and help on this.

On Mon, 13 Mar 2006 07:49:27 -0800, Ron Coderre
wrote:

Without an example of the formula you're using or what you're trying to
accomplish, I can only guess...

Perhaps something like this:

=IF(A1=5,1000,0)
That formula test if the value of A1 is 5.
If TRUE, then return 1000
If FALSE, then return 0

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"At A Loss" wrote:

When using a IF formula, one answer is false.
Can the word FALSE be changed to a zero?
Would appericate a "simple" example...
Thanks in advance




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default Logical Value

You can convert FALSE to zero as follows:

=(1=2) will return FALSE
=(1=2)*1 will return zero
--
Gary's Student


"At A Loss" wrote:

When using a IF formula, one answer is false.
Can the word FALSE be changed to a zero?
Would appericate a "simple" example...
Thanks in advance

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
Concatenate a Logical Test Sloth Excel Discussion (Misc queries) 6 December 6th 05 07:35 PM
Is there a logical test for a cell's format instead of contents Bruce Excel Worksheet Functions 3 November 17th 05 01:40 AM
SUM for logical values tjtjjtjt Excel Discussion (Misc queries) 6 November 16th 05 01:30 AM
How do I use Roundup in a logical test in excel DC Excel Worksheet Functions 3 March 9th 05 05:27 PM
logical test - within a range esslingerdav Excel Worksheet Functions 4 November 17th 04 03:13 PM


All times are GMT +1. The time now is 01:55 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"