IF formula between tabs

S

scootr

If cell D2 in tab 1 has the letter "A" in it then I want the entire row of
cells (A2 - O2) to be copied into tab 2.

Is there a formula that can accomplish this?
 
D

David Biddulph

In Sheet2!A2 use the formula
=IF(Sheet1!$D2="A",Sheet1!A2,"")
or perhaps (to cope with blanks)
=IF(AND(Sheet1!$D2="A",Sheet1!A2<>""),Sheet1!A2,"")
and copy across.
 
S

scootr

I tried both forumlas. I copied them across and down. But how do I get rid of
the blank cells?
 

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

Top