RE: Testing a cell value
- From: Finance Guru <FinanceGuru@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 19 Jan 2009 05:50:06 -0800
Jarek & Trevor,
Thank you both for getting back to me. I couldn't understand either why the
function didn't work.
I cleared the "Open" cell in data validation and retyped the word again,and
now all appears to be working fine. You learn something new everyday!
My sincere thanks to you both,and in particular Trevor for supplying the
formula.
FinanceGuru
--
Wales - the land of fire breathing dragons and rugby playing wizards.
"Trevor Williams" wrote:
Hi Finance Guru - check that the word Open in your listbox criteria doesn't.
contain any spaces (e.g. at the end of the word) -- I presume your listbox is
created using data validation, not from the forms toolbar.
"Finance Guru" wrote:
Hi Trevor,
If "open" is selected from the list box the other cell displays FALSE. If
any other criteria is selected the it displays the correct result ie. Pending
= Draft,Closed = Final"
Wales - the land of fire breathing dragons and rugby playing wizards.
"Trevor Williams" wrote:
Hi Finance Guru -- try this:
=IF(OR(B1="Open",B1="Pending"),"DRAFT VERSION",IF(B1="Closed","FINAL
VERSION",""))
HTH
Trevor Williams
"Finance Guru" wrote:
Hi All,
I am using Excel 2007.
My problem is this. I have a list box ( B1 ) from which the following
options can be selected ie. Open , Pending, Closed. At the moment I have the
following function in A1 =IF(B1="Closed",FINAL VERSION","DRAFT")
What I really want to do is in A1 is test B1 for the "Open" or "Pending"
which if either are selected then "DRAFT VERSION" will apear in A1 and if
"Closed" is selected then "FINAL VERSION" will be displayed in A1
I believe this can be done IF AND OR combined but it is beyond me.
Thank you in advance
Regards
FinanceGuru
--------------
Wales - the land of fire breathing dragons and rugby pllaying wizards.
- References:
- Testing a cell value
- From: Finance Guru
- RE: Testing a cell value
- From: Trevor Williams
- RE: Testing a cell value
- From: Finance Guru
- RE: Testing a cell value
- From: Trevor Williams
- Testing a cell value
- Prev by Date: closing grouped columns
- Next by Date: RE: Help with questionnaire responses
- Previous by thread: RE: Testing a cell value
- Next by thread: I want to subtract a number from an entire row in excel
- Index(es):
Relevant Pages
|