if function

  • Thread starter Thread starter shital
  • Start date Start date
S

shital

hi

I have 2 worksheet where in Sheet1 A5 i have name X
and in sheet2 also A5 name x and in sheet1 a10 has amt.
What i want is
if sheet1 & sheet2 name are same & if Sheet1 a10 is (-ve
value)it should take the value if it's +ve it's should
be "0"
thanks

shital
 
Hi Shital!

Try:

=IF(AND(Sheet1!A5=Sheet2!A5,Sheet1!A10<0),Sheet1!A10,0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top