+ Reply to Thread
Results 1 to 5 of 5

Formula with multiple IF statements and IF AND statements

  1. #1
    Registered User
    Join Date
    08-19-2012
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2010
    Posts
    62

    Formula with multiple IF statements and IF AND statements

    I can't figure out how to make a clean error-free formula for this situation.
    (I'll be using this same kind of formula hundreds of times, so I need the formula to be simple as possible to reduce the time for calculating.)
    Any help would be greatly appreciated!

    If A$78 is a number THEN A$78

    If A$78 is 0 THEN -0.01

    If A$78 is not a number THEN C$23

    If A$78 is not a number AND If C$23 is 0 THEN -0.01

    If A$78 is not a number AND C$23 is not a number THEN "No Data"

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula with multiple IF statements and IF AND statements

    Perhaps

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Formula with multiple IF statements and IF AND statements

    Try this......

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Registered User
    Join Date
    08-19-2012
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Formula with multiple IF statements and IF AND statements

    Sktneer,
    I think your formula will work, but there's a problem when
    A$78 and C$23 are both empty ("").
    I need the formula to produce "No Data", but instead it produces -0.01

    Do you know how I could fix that?

    Thank you!

    Quote Originally Posted by sktneer View Post
    Try this......

    Please Login or Register  to view this content.
    Last edited by lottidotti; 11-14-2013 at 05:42 AM. Reason: spelling mistake

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Formula with multiple IF statements and IF AND statements

    OK. To achieve that you can try this formula......
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. formula help multiple if statements
    By jawsfree in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-06-2012, 01:15 AM
  2. Using Multiple IF statements within single formula
    By JonathanMoore in forum Excel General
    Replies: 8
    Last Post: 09-14-2011, 12:30 PM
  3. [SOLVED] Multiple IF statements in 1 formula
    By Eagle75au in forum Excel General
    Replies: 6
    Last Post: 04-14-2011, 07:24 AM
  4. Multiple nested IF statements and AND statements
    By TonyGetz in forum Excel General
    Replies: 2
    Last Post: 12-14-2010, 03:07 AM
  5. Replies: 12
    Last Post: 05-15-2009, 08:38 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1