Formula Help

%3CLINGO-SUB%20id%3D%22lingo-sub-2737215%22%20slang%3D%22en-US%22%3EFormula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2737215%22%20slang%3D%22en-US%22%3E%3CP%3EOn%20sheet1%20in%20A7%20i%20want%20to%20search%20sheet2%20and%20display%20the%20text%20in%20A2%3AB2%20but%20only%20if%20I2%20contains%20%22Send%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2737215%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-2737663%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2737663%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1151328%22%20target%3D%22_blank%22%3E%40TWeaver565%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet's%20see%20if%20this%20works.%3C%2FP%3E%3CP%3E%3DIF(Sheet2!I2%3D%22Send%22%2CSheet2!A2%3AB2%2C%22%22)%3C%2FP%3E%3CP%3Eor%3C%2FP%3E%3CP%3E%3DIF(Sheet2!I2%3D%22Send%22%2CSheet2!A2%26amp%3BSheet2!B2%2C%22%22)%3C%2FP%3E%3CP%3Ewith%20the%20difference%20being%20that%20the%20latter%20concatenates%20the%20contents%20of%20A2%20and%20B2%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20those%20somehow%20don't%20fit%20with%20your%20actual%20circumstances%2C%20perhaps%20you%20could%20attach%20a%20copy%20of%20your%20spreadsheet.%20I%20had%20to%20replicate%20as%20best%20I%20could%20from%20your%20description.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

On sheet1 in A7 i want to search sheet2 and display the text in A2:B2 but only if I2 contains "Send"

1 Reply

@TWeaver565 

 

Let's see if this works.

=IF(Sheet2!I2="Send",Sheet2!A2:B2,"")

or

=IF(Sheet2!I2="Send",Sheet2!A2&Sheet2!B2,"")

with the difference being that the latter concatenates the contents of A2 and B2

 

If those somehow don't fit with your actual circumstances, perhaps you could attach a copy of your spreadsheet. I had to replicate as best I could from your description.