Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Concatenate a Logical Test | Excel Discussion (Misc queries) | |||
Is there a logical test for a cell's format instead of contents | Excel Worksheet Functions | |||
SUM for logical values | Excel Discussion (Misc queries) | |||
How do I use Roundup in a logical test in excel | Excel Worksheet Functions | |||
logical test - within a range | Excel Worksheet Functions |