Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Formula is in B1: =IF(A1="TRUE","Apples","Oranges") A1 is connected to a CheckBox in a Form. The problem: B1 always shows Oranges even if A1 says TRUE. Thanks for your time, Amy |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() AMY Z. wrote: Hi, Formula is in B1: =IF(A1="TRUE","Apples","Oranges") A1 is connected to a CheckBox in a Form. The problem: B1 always shows Oranges even if A1 says TRUE. Thanks for your time, Amy Hi Amy, Try... =IF(A1=TRUE,"Apples","Oranges") Ken Johnson |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
TRUE is a logical operator, not a value in the cell. Therefore, try
eliminating the quotation marks from the TRUE argument in your formula. You should then get the correct result. Dave -- Brevity is the soul of wit. "AMY Z." wrote: Hi, Formula is in B1: =IF(A1="TRUE","Apples","Oranges") A1 is connected to a CheckBox in a Form. The problem: B1 always shows Oranges even if A1 says TRUE. Thanks for your time, Amy |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Ken & Dave.
It fixed it. Amy "AMY Z." wrote: Hi, Formula is in B1: =IF(A1="TRUE","Apples","Oranges") A1 is connected to a CheckBox in a Form. The problem: B1 always shows Oranges even if A1 says TRUE. Thanks for your time, Amy |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This will also work:
=IF(A1,"Apples","Oranges") Biff "AMY Z." wrote in message ... Hi, Formula is in B1: =IF(A1="TRUE","Apples","Oranges") A1 is connected to a CheckBox in a Form. The problem: B1 always shows Oranges even if A1 says TRUE. Thanks for your time, Amy |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Biff. Nice shortcut.
Amy "Biff" wrote: This will also work: =IF(A1,"Apples","Oranges") Biff "AMY Z." wrote in message ... Hi, Formula is in B1: =IF(A1="TRUE","Apples","Oranges") A1 is connected to a CheckBox in a Form. The problem: B1 always shows Oranges even if A1 says TRUE. Thanks for your time, Amy |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome!
Biff "AMY Z." wrote in message ... Thanks Biff. Nice shortcut. Amy "Biff" wrote: This will also work: =IF(A1,"Apples","Oranges") Biff "AMY Z." wrote in message ... Hi, Formula is in B1: =IF(A1="TRUE","Apples","Oranges") A1 is connected to a CheckBox in a Form. The problem: B1 always shows Oranges even if A1 says TRUE. Thanks for your time, Amy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Linked Check Boxes | Excel Discussion (Misc queries) | |||
Disable CUT via toolbars or shortcut keys | Excel Discussion (Misc queries) | |||
First part of "IF" function returns false even if true. ?? | Excel Worksheet Functions | |||
Date & Time | New Users to Excel | |||
Automatically up date time in a cell | Excel Discussion (Misc queries) |