Solved

EXCEL FORMULA, IF ELSE HELP

Posted on 2014-03-06
4
146 Views
Last Modified: 2014-03-08
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
0
Comment
Question by:rutgermons
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Santosh Gupta
ID: 39910128
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 ?
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39910130
=if(C$3="","",RIGHT(C$3,LEN(C$3)-15)&B36)
0
 
LVL 13

Accepted Solution

by:
Santosh Gupta earned 500 total points
ID: 39910139
=IF(C$3="","NULL",RIGHT(C$3,LEN(C$3)-15)&B36)
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 39910731
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
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question