Nested functions

J

Joyce

I am trying to set up a formula, such as below but can't get past the first
"if function. Can someone help
So far this is what I have
=IF(A2="BIRS",E2>0,0)

I have 2 critierias that must be true : A2 must = specific words and E 2
must be greater than zero. If both are true then I need the number that is
in cell E 2 to copy to a different workbook in a new cell
 
P

PCLIVE

=IF(AND(A2="BIRS",E2>0),E2,0)

The last "0" is what will be if either or both criterias are not true.

HTH,
Paul
 
B

Bernard Liengme

Try =IF(AND([Book2]Sheet1!A2="BIRS",[Book2]Sheet1!E2>0),E2,"")
change Book2 to the actual name of the second workbook and Sheet1 to the
actual sheet name
best wishes
 
J

Joyce

How do I get the contents of the last cell to move to a new workbook cell.
So, If all criteria's are true, then I want a number 1 to move to a new
workbook cell
 
P

PCLIVE

Sorry. I missed the part about a different workbook. See Bernard Liengme's
response.

--
 
Top