SOLVED

Copying Multiply cells from an activated text

%3CLINGO-SUB%20id%3D%22lingo-sub-2264618%22%20slang%3D%22en-US%22%3ECopying%20Multiply%20cells%20from%20an%20activated%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2264618%22%20slang%3D%22en-US%22%3EGood%20evening%20all%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20come%20to%20ask%20a%20question%20regarding%20a%20requirement%20I%20need%2C%20we%20bare%20with%20me%20as%20my%20explanation%20might%20sound%20complicated%2C%20here%20it%20goes...%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20a%20row%20of%208%20cells%20with%20data%20in%20them%20on%20sheet%201%3CBR%20%2F%3EThe%20last%20cell%20of%20the%20row%20will%20either%20have%20a%20Pass%20or%20Fail%20in%20it.%3CBR%20%2F%3EIf%20it%20is%20a%20Fail%20I%20would%20like%20to%20automatically%20copy%20cells%201%2C3%2C4%2C5%20and%208%20to%20sheet%202.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20this%20makes%20sense%20and%20there%20is%20a%20solution%20to%20my%20requirement.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3CBR%20%2F%3E%3CBR%20%2F%3EJames%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2264618%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2264629%22%20slang%3D%22en-US%22%3ERe%3A%20Copying%20Multiply%20cells%20from%20an%20activated%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2264629%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1022050%22%20target%3D%22_blank%22%3E%40Murphy1990%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhere%20on%20Sheet2%20do%20you%20want%20to%20copy%20those%20cells%20to%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor
Good evening all,

I have come to ask a question regarding a requirement I need, we bare with me as my explanation might sound complicated, here it goes...

I have a row of 8 cells with data in them on sheet 1
The last cell of the row will either have a Pass or Fail in it.
If it is a Fail I would like to automatically copy cells 1,3,4,5 and 8 to sheet 2.

Hope this makes sense and there is a solution to my requirement.

Thanks

James

6 Replies

@Murphy1990 

Where on Sheet2 do you want to copy those cells to?

Hey,

To the same cell on sheet 2

Thanks

James
best response confirmed by Murphy1990 (New Contributor)
Solution

@Murphy1990 

Let's say that the cells on the data sheet are A1:H1.

Enter the following formula in A1 on the other sheet:

 

=IF('Sheet 1'!$H$1="FAIL",'Sheet 1'!A1)

 

where Sheet 1 is the name of the data sheet.

 

Fill to the right to cell H1.

Finally, clear the cells B1, F1 and G1.

@Hans Vogelaar 

 

Thank you very much this has worked 

 

Appreciate your time on this

 

Thanks

 

James

An added query please... if the value is false, what do I need to put to have a blank cell and not have it come up with FALSE?

Thanks

James
There's an optional third argument for the if function - you should be able to use "".
=IF('Sheet 1'!$H$1="FAIL",'Sheet 1'!A1,"")