Can anyone advise me the problem of this IF formula

%3CLINGO-SUB%20id%3D%22lingo-sub-2681495%22%20slang%3D%22en-US%22%3ECan%20anyone%20advise%20me%20the%20problem%20of%20this%20IF%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2681495%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3ECould%20someone%20have%20a%20look%20the%20below%20formula%20and%20advise%20me%20which%20part%20went%20wrong%20and%20how%20can%20I%20fix%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DIF(AN15%3D%22Standard%20Banners%22%2CU13%2F1000*0.49)%2CIF(AN15%3D%22Link%20Tracking%20only%22%2C%20U13%2F1000*0.15)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Onki_Pun_0-1629856578579.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F305474iB423D4CB034E980A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Onki_Pun_0-1629856578579.png%22%20alt%3D%22Onki_Pun_0-1629856578579.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThank%20you%20so%20much%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2681495%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2681530%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20anyone%20advise%20me%20the%20problem%20of%20this%20IF%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2681530%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1136787%22%20target%3D%22_blank%22%3E%40Onki_Pun%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20copied%20two%20IF-formulas%26nbsp%3Bone%20after%20the%20other.%20Excel%20cannot%20evaluate%20such%20a%20construct%2C%3C%2FP%3E%3CP%3EYou%20have%20to%20nest%20the%20functions%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DIF(condition1%2Cvalue1%2CIF(condition2%2Cvalue2%2Cvalue_if_nothing_matched))%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi,

Could someone have a look the below formula and advise me which part went wrong and how can I fix it?

 

=IF(AN15="Standard Banners",U13/1000*0.49),IF(AN15="Link Tracking only", U13/1000*0.15)

Onki_Pun_0-1629856578579.png

Thank you so much

1 Reply

@Onki_Pun 

You copied two IF-formulas one after the other. Excel cannot evaluate such a construct,

You have to nest the functions:

=IF(condition1,value1,IF(condition2,value2,value_if_nothing_matched))