+ Reply to Thread
Results 1 to 5 of 5

Formula returning ZERO

  1. #1
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Formula returning ZERO

    The formula below is returning a 0 (zero) on date formatted column which results in 1/0/00. This is impacting other conditional formatting I have in place. How can I update it to where if it doesn't find anything to return, to simply return a blank vs 0...?


    =IFERROR(INDEX(Milestones!$AA$5:$AB$1254,IF(CM$4<>"",AGGREGATE(15,6,(ROW($A$5:$A$1254)-ROW($A$4))/(Milestones!$H$5:$H$1254=$B7)/(Milestones!$Z$5:$Z$1254=CM$4)/(Milestones!$M$5:$M$1254<>"Agile Workflow"),1),AGGREGATE(15,6,(ROW($A$5:$A$1254)-ROW($A$4))/(Milestones!$H$5:$H$1254=$B7)/(Milestones!$Z$5:$Z$1254=CL$4)/(Milestones!$M$5:$M$1254<>"Agile Workflow"),1)),IF(CM$6="target",1,2)),"")

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Formula returning ZERO

    do you have an error that comes out that you need the iferror for? Maybe replace it with IF(formula=0,"",formula)? Or even iferror(if(formula=0,"",formula),"")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Formula returning ZERO

    like...
    =IF(INDEX(Milestones!$AA$5:$AB$1254,IF(CM$4<>"",AGGREGATE(15,6,(ROW($A$5:$A$1254)-ROW($A$4))/(Milestones!$H$5:$H$1254=$B7)/(Milestones!$Z$5:$Z$1254=CM$4)/(Milestones!$M$5:$M$1254<>"Agile Workflow"),1),AGGREGATE(15,6,(ROW($A$5:$A$1254)-ROW($A$4))/(Milestones!$H$5:$H$1254=$B7)/(Milestones!$Z$5:$Z$1254=CL$4)/(Milestones!$M$5:$M$1254<>"Agile Workflow"),1)),IF(CM$6="target",1,2))=0,"",INDEX(Milestones!$AA$5:$AB$1254,IF(CM$4<>"",AGGREGATE(15,6,(ROW($A$5:$A$1254)-ROW($A$4))/(Milestones!$H$5:$H$1254=$B7)/(Milestones!$Z$5:$Z$1254=CM$4)/(Milestones!$M$5:$M$1254<>"Agile Workflow"),1),AGGREGATE(15,6,(ROW($A$5:$A$1254)-ROW($A$4))/(Milestones!$H$5:$H$1254=$B7)/(Milestones!$Z$5:$Z$1254=CL$4)/(Milestones!$M$5:$M$1254<>"Agile Workflow"),1)),IF(CM$6="target",1,2)))

    or with the iferror
    =IFERROR(IF(INDEX(Milestones!$AA$5:$AB$1254,IF(CM$4<>"",AGGREGATE(15,6,(ROW($A$5:$A$1254)-ROW($A$4))/(Milestones!$H$5:$H$1254=$B7)/(Milestones!$Z$5:$Z$1254=CM$4)/(Milestones!$M$5:$M$1254<>"Agile Workflow"),1),AGGREGATE(15,6,(ROW($A$5:$A$1254)-ROW($A$4))/(Milestones!$H$5:$H$1254=$B7)/(Milestones!$Z$5:$Z$1254=CL$4)/(Milestones!$M$5:$M$1254<>"Agile Workflow"),1)),IF(CM$6="target",1,2))=0,"",INDEX(Milestones!$AA$5:$AB$1254,IF(CM$4<>"",AGGREGATE(15,6,(ROW($A$5:$A$1254)-ROW($A$4))/(Milestones!$H$5:$H$1254=$B7)/(Milestones!$Z$5:$Z$1254=CM$4)/(Milestones!$M$5:$M$1254<>"Agile Workflow"),1),AGGREGATE(15,6,(ROW($A$5:$A$1254)-ROW($A$4))/(Milestones!$H$5:$H$1254=$B7)/(Milestones!$Z$5:$Z$1254=CL$4)/(Milestones!$M$5:$M$1254<>"Agile Workflow"),1)),IF(CM$6="target",1,2))),"")

  4. #4
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: Formula returning ZERO

    Sambo kid - thanks for the solution. I used the iferror option and it not only got rid of the 1/0/00 but it also fixed the other formulas that were impacted. Thanks so much for your help ---

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Formula returning ZERO

    You're welcome, AND thank you for the rep!

+ 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] Excel Formula returning True Value for False Formula
    By bvercher in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-03-2015, 09:10 AM
  2. Lookup a formula & calulate as formula instead of returning text
    By eclair21 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-14-2014, 04:33 PM
  3. [SOLVED] Formula returning a false value when origin cell contains a formula
    By ensmith in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-04-2013, 01:42 PM
  4. [SOLVED] Stumped with Formula Array returning cell adjacent to formula dataset
    By Giles_Silver in forum Excel General
    Replies: 5
    Last Post: 06-04-2012, 12:18 AM
  5. Formula sometimes returning correct answer and sometimes returning 0
    By redimp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2010, 06:28 AM
  6. Formula returning #DIV/0
    By rhudgins in forum Excel General
    Replies: 4
    Last Post: 07-19-2010, 04:45 PM
  7. [SOLVED] Sum Formula Returning 0.00
    By RogueIT in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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