+ Reply to Thread
Results 1 to 5 of 5

IF greater than negative value counts blanks as zero

  1. #1
    Registered User
    Join Date
    07-10-2013
    Location
    Danmark
    MS-Off Ver
    Excel 2010
    Posts
    10

    IF greater than negative value counts blanks as zero

    Hi again guys,

    Thanks for beeing so helpful.

    Now I have another problem. This IF formula here is counting blank cells as zero (since the percentile of the data in the if formula is a negative value blanks=zero which is above the negative value and is therefore returned).

    =(IF('Monthly Performance'!B21>=PERCENTILE('Monthly Performance'!$B$21:$AN$21,0.7),(((1+'Monthly Performance'!B21))^(1)-1),""))

    Anyone got a solution to this? I would be very grateful!

    Please see attached.

    /Frans
    Attached Files Attached Files
    Last edited by fransden; 07-15-2013 at 01:09 PM.

  2. #2
    Registered User
    Join Date
    07-10-2013
    Location
    Danmark
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: IF greater than negative value counts blanks as zero

    Never mind, i sorted it out.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: IF greater than negative value counts blanks as zero

    Care to share your solution with the board?

  4. #4
    Registered User
    Join Date
    07-10-2013
    Location
    Danmark
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: IF greater than negative value counts blanks as zero

    Of course. I combined the fomula with an isblank function, as follows:

    =IF(ISBLANK('Monthly Performance'!B254)=TRUE;"";IF('Monthly Performance'!B254>=PERCENTILE('Monthly Performance'!$B254:$QB254;0.7);(((1+'Monthly Performance'!B254))^(1)-1);""))

    Last edited by fransden; 07-15-2013 at 02:49 PM.

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: IF greater than negative value counts blanks as zero

    A tad shorter..

    =IF('Monthly performance'!B254="";"";IF('Monthly performance'!B254>=PERCENTILE('Monthly performance'!$B254:$Q254;0.7);(1+'Monthly performance'!B254)^1-1;""))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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. Countif function counts blanks
    By ckenn134 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-27-2013, 03:31 PM
  2. Replies: 5
    Last Post: 08-29-2012, 05:25 PM
  3. Comparing Counts of Negative vs Positive Data
    By jetsfan23 in forum Excel General
    Replies: 2
    Last Post: 01-26-2011, 10:01 AM
  4. Array counts of greater thans
    By Dubbs in forum Excel General
    Replies: 2
    Last Post: 08-19-2009, 07:02 PM
  5. countif forumla that counts if one cell is greater than another
    By JCool in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-20-2009, 12:25 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