+ Reply to Thread
Results 1 to 3 of 3

IF statement with array formula

  1. #1
    Registered User
    Join Date
    05-21-2013
    Location
    Cape Town
    MS-Off Ver
    Excel 2007 & 2013
    Posts
    9

    Question IF statement with array formula

    I am trying to perform an array calculation when an IF statement evaluates to TRUE.

    When I type in

    Please Login or Register  to view this content.
    I get the correct sum of interest of 10.51.

    However, when I modify this formula to

    Please Login or Register  to view this content.
    I get 0, despite the fact that

    Please Login or Register  to view this content.
    Gives TRUE.

    Any glaring mistake in my logic?

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: IF statement with array formula

    What will happen if you remove 0 at the end of the second formula?
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: IF statement with array formula

    hi there. suggest you upload a sample excel file. i tried to re-create your scenario, but i do get 10.51. also, to avoid a volatile formula like INDIRECT, you can use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    this does the same as your 1st formula

    then just add the IF for the 2nd one:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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. [SOLVED] Possible if statement and array formula
    By mcranda in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-28-2013, 06:34 PM
  2. [SOLVED] SUM, IF and AND Statement in array formula
    By Debbie Thomson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2013, 11:21 PM
  3. [SOLVED] Array Formula in If Then Statement
    By nivoe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2012, 09:50 AM
  4. If Statement Array Formula
    By achenbachwb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-20-2012, 09:37 PM
  5. [SOLVED] IF statement in Array Formula's
    By sdg8481 in forum Excel General
    Replies: 7
    Last Post: 07-24-2006, 07:55 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