Posted to microsoft.public.excel.newusers
|
|
If with reference
Thx, max....
another one,
but tomorrow.....
"Max" wrote:
Try in C1:
=IF(COUNTA(A1:B1)<2,"",IF(OR(A1={"Employee","Spous e"}),"Yes",IF(AND(A1="dependent",B1<20),"Yes","No" )))
Copy down
Ok? Click YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Pran" wrote:
I have workbook as follow:
A1 is "Employee" or "Spouse" or "Dependent"
B1 is age of A1
I wish in C1 :
if A1 is "Employee" or "Spouse", result will be Yes
But, if A1 is "dependent", then should refer to the B1 column, which is, if
age is less then 20, result also Yes, otherwise No.
Could you advise me?
Regards,
Pran
|