• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

IF then help or suggestions

stefan123

New Member
I have a 2 columns:


A B
NMC Yes
NMC NO
NMC
NMC YES
NMC YES

I want to insert in column C if the criteria are (NMC and Yes) or (NMC and Blank), then it can be recoded into NMCI. I have tried if then statements but none of them have worked. Help or suggestions on this data transformation?
 
@stefan123

Suppose your values in A1:A5 = NMC and B1:B5 Yes, No, or a blank. Try below formula in C1 and copy down.

=IF(OR(AND(A1="NMC",B1="Yes"),AND(A1="NMC",B1="")),"NMCI","")

Regards,
 
Back
Top