Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want to test the value in a cell and return a value if it's "yes", another
if it's"no" and yet another if null in a cell on another worksheet. I tried using IF but couldn't get it to work - I'm sure I'm missing something really simple but can't put my finger on it!!! Help. Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi there Dave Eade,
I used two workbooks named "test1.xls" and "test2.xls" In test1.xls i used the number 1 in cell A1 and the number 2 in cell A2. In test2.xls i used the number 3 in cell A1 I placed the formula in test1.xls in cell C2. Formula is : =IF(A2=1,"YES",IF(B2=2,"YES",IF([test2.xls]Sheet1!$A$2=3,"YES","NO"))) Works fine for me. You can tweak it to suit your needs Let us know if this works for you Regards Garreth -- Thank you and Regards Garreth Lombard "Dave Eade" wrote: I want to test the value in a cell and return a value if it's "yes", another if it's"no" and yet another if null in a cell on another worksheet. I tried using IF but couldn't get it to work - I'm sure I'm missing something really simple but can't put my finger on it!!! Help. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Testing cell value for greater than 0 | Excel Worksheet Functions | |||
Testing a cell value | Excel Worksheet Functions | |||
testing for character strings within a cell | Excel Worksheet Functions | |||
Testing for Cell Fill Color | Excel Worksheet Functions | |||
Testing positions in a cell | Excel Discussion (Misc queries) |