Reputation:
Let say my SHEET1!A1 contains x then I want to get the value of SHEET1!B1, and my formula for that would be;
=IF(SHEET1!A1="x",SHEET1!B1,"")
To do that in the entire column I select the entire column and press ctrl + D.
The problem after that
The file goes from 28KB
to 40MB
making the document lag and stop working even just when saving. This is because I used ctrl + D to copy down the formula.
If SHEET1!A1 doesn't have x, it will return blank or empty cell. What I want is to skip it then fill only the second cell if it does contain x.
I'm thinking this is not possible using a formula, maybe a macro would do?
Upvotes: 0
Views: 195
Reputation: 774
if you have office365 you can do this with the "filter" function:
=FILTER(B:B;A:A = "x")
Upvotes: 1