Link to home
Start Free TrialLog in
Avatar of rutgermons
rutgermons

asked on

EXCEL FORMULA, IF ELSE HELP

FOLKS


=RIGHT(C$3,LEN(C$3)-15)&B36

How do I if C$3 is null then specify NULL the field using an IF statement
Avatar of Santosh Gupta
Santosh Gupta

what i understood, if cell C3 is NULL then formula cell will show NULL else if calculate
=RIGHT(C$3,LEN(C$3)-15)&B36

am i right ?
Avatar of Saqib Husain
=if(C$3="","",RIGHT(C$3,LEN(C$3)-15)&B36)
ASKER CERTIFIED SOLUTION
Avatar of Santosh Gupta
Santosh Gupta

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Assuming I am interpreting your formula correctly that you want all but the first 15 characters from C3, an alternative formula:

=IF(C$3="","",MID(C$3,16,LEN(C$3))&B36)

This says, start at character 16 and give the rest of the cell, although LEN(C$3) will always give a result higher than the required number of characters (LEN - 15) it won't return additional characters that aren't there.

Thanks
Rob