+ Reply to Thread
Results 1 to 8 of 8

need calculation that considers a blank cell to be '100'

  1. #1
    Forum Contributor
    Join Date
    06-22-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    152

    need calculation that considers a blank cell to be '100'

    Hi,

    I have a spreadsheet that counts the SVL achieved in intervals throughout the day. The data from rows 4-72 are pasted in from another system. My calculation in J3 ignores cells that are blank, however, I would prefer to consider a blank cell to be '100' as intervals with no data are bringing down our results. Does anyone know how I can do that within cell J3 without the need to manipulate the data in the rows below?

    The document is 2003 compatible but I can make it a 2010 doc if that gives more flexibility.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: need calculation that considers a blank cell to be '100'

    there is nothing in cell J3!
    Regards,
    Vandan

  3. #3
    Forum Contributor
    Join Date
    06-22-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    152

    Re: need calculation that considers a blank cell to be '100'

    Argh! sorry! I meant J2. I need the calculation to return 58.82% instead of 56.92%

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: need calculation that considers a blank cell to be '100'

    =(countif(j5:j72,">="&90)+countif(j5:j72,"="&""))/(countif(j5:j72,">="&0)+countif(j5:j72,"="&""))
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  5. #5
    Forum Contributor
    Join Date
    06-22-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    152

    Re: need calculation that considers a blank cell to be '100'

    Beautiful! thank you vlady. You've come to my rescue once again ;-)

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: need calculation that considers a blank cell to be '100'

    welcome.

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: need calculation that considers a blank cell to be '100'

    How about using the CountBlank() for an easier formula?

    =(COUNTIF(J5:J72,">="&90)+COUNTBLANK(J5:J72))/(COUNTIF(J5:J72,">="&0)+COUNTBLANK(J5:J72))
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  8. #8
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: need calculation that considers a blank cell to be '100'

    arrg, forgot that one. thanks marvin.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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