Multiple Arguments

%3CLINGO-SUB%20id%3D%22lingo-sub-2297503%22%20slang%3D%22en-US%22%3EMultiple%20Arguments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2297503%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20the%20following%20data%20set%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2230px%22%3EScaffold%20Required%3C%2FTD%3E%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2230px%22%3EScaffold%20Return%20Date%3F%3C%2FTD%3E%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2230px%22%3EScaffold%20Complete%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2230px%22%3EYes%3C%2FTD%3E%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2230px%22%3E01%2F01%2F2020%3C%2FTD%3E%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2230px%22%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EYes%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2230px%22%3EN%2FA%3C%2FTD%3E%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2230px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2233.333333333333336%25%22%20height%3D%2230px%22%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20apply%20a%20formula%20to%20the%20column%20'Scaffold%20Complete'%20that%20will%20automatically%20input%20the%20cell%20Yes%20or%20N%2FA%20based%20on%20the%20following%20logic%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%20if%20scaffold%20is%20required%20and%20a%20scaffold%20return%20date%20has%20been%20inputted%3C%2FP%3E%3CP%3EN%2FA%20if%20column%20'Scaffold%20Required'%20contains%20the%20word%20%22N%2FA%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20much%20appreciated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EElliot%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2297503%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-2297661%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20Arguments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2297661%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036873%22%20target%3D%22_blank%22%3E%40Serdet%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet's%20say%20the%20data%20are%20in%20columns%20A%20to%20C%2C%20with%20headers%20in%20row%201.%3C%2FP%3E%0A%3CP%3EIn%20C2%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DIF(OR(A2%3D%22%22%2CAND(A2%3D%22Yes%22%2CB2%3D%22%22))%2C%22%22%2CIF(A2%3D%22N%2FA%22%2C%22N%2FA%22%2C%22Yes%22))%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFill%20down.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2297904%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20Arguments%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2297904%22%20slang%3D%22en-US%22%3EHi%20Hans%20Vogelaar%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20your%20response.%20I%20have%20entered%20your%20formula%20but%20it%20doesn't%20seem%20to%20be%20working.%20'Scaffold%20Required'%20columns%20that%20contain%20N%2FA%20are%20not%20coming%20across%20as%20N%2FA%20in%20column%20'Scaffold%20Complete'.%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20suggestions%3F%3CBR%20%2F%3E%3CBR%20%2F%3EElliot%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi All,

 

I have the following data set;

 

Scaffold RequiredScaffold Return Date?Scaffold Complete
Yes01/01/2020 
Yes  
N/A  

 

I want to apply a formula to the column 'Scaffold Complete' that will automatically input the cell Yes or N/A based on the following logic;

 

Yes if scaffold is required and a scaffold return date has been inputted

N/A if column 'Scaffold Required' contains the word "N/A"

 

Any help would be much appreciated.

 

Many thanks,

 

Elliot 

4 Replies

@Serdet 

Let's say the data are in columns A to C, with headers in row 1.

In C2:

 

=IF(OR(A2="",AND(A2="Yes",B2="")),"",IF(A2="N/A","N/A","Yes"))

 

Fill down.

Hi Hans Vogelaar,

Thank you for your response. I have entered your formula but it doesn't seem to be working. 'Scaffold Required' columns that contain N/A are not coming across as N/A in column 'Scaffold Complete'.

Any suggestions?

Elliot

@Serdet 

It appears to work for me...

 

S0350.png

 

Could you attach a sample workbook without sensitive information that demonstrates the problem?

Hi Hans Vogelaar,

It appears there was a problem on my end but it all seems to be working now.

Thank you very much for your help.

Have a good day!
Elliot