Lookup function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have 2 columns of data: date(A) & % return(B). I want 2 new columns (C&D)
to to return both data from columns A & B "if and only if B is <0". How
should I set my function? Thank you
 
You could use the if function to simply return blanks where B>0.
=if( [condition] ,[result if true] , [result if false] )

In column C:
=if(colB<0,colA,"")

In column D:
=if(colB<0,colB,"")

This would give you a list but with blank spaces where column b>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