Return value

%3CLINGO-SUB%20id%3D%22lingo-sub-3241702%22%20slang%3D%22en-US%22%3EReturn%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3241702%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20one%20cell%20I%20have%20a%20value.%20It%20that%20value%20is%20in%20a%20column%20I%20want%20to%20return%20a%20alue%20in%20another%20cell.%20How%20do%20I%20do%3F%20For%20examle%3A%3C%2FP%3E%3CP%3EIn%20cell%20D6%20I%20have%20a%20article%20no%2C%20if%20the%20same%20article%20no%20is%20to%20be%20found%20anywhere%20in%20column%20B%20I%20want%20to%20return%20the%20value%20of%20cell%20C6.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3241702%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3242013%22%20slang%3D%22en-US%22%3ERe%3A%20Return%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3242013%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1322026%22%20target%3D%22_blank%22%3E%40MariaQvarma%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DIF(COUNTIF(B%3AB%2CD6)%26gt%3B%3D1%2CC6%2C%22not%20found%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EMaybe%20with%20this%20formula%20as%20shown%20in%20the%20attached%20file.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

In one cell I have a value. It that value is in a column I want to return a alue in another cell. How do I do? For examle:

In cell D6 I have a article no, if the same article no is to be found anywhere in column B I want to return the value of cell C6.

1 Reply

@MariaQvarma 

=IF(COUNTIF(B:B,D6)>=1,C6,"not found")

Maybe with this formula as shown in the attached file.