+ Reply to Thread
Results 1 to 12 of 12

Calculate percentage #value error

  1. #1
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Calculate percentage #value error

    Hi,
    I feel incredibly stupid and need help in a hurry.

    I cant attach a workbook right now. Very simple problem though (I think)

    Cell B1 value=4 (Total number of telephone calls)
    Cell C1 value=2 (Total number of telephone calls not meeting a certain criteria)
    I want Cell A1 to say 50%, meaning what % did not meet criteria. I keep getting the #value error when the cells do not have a value entered in them, and I don't want that to show.

    Sorry for being so brief. Thanks!!
    Last edited by tapsmiled; 12-07-2013 at 05:30 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculate percentage #value error

    Hi,

    =IFERROR(C1/B1,"")

    formatted as a %. Although I can't get a #Value error only a #DIV/0! error
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Calculate percentage #value error

    Thanks, but I dont want any error message.
    Right now, I have =SUM(IFERROR(E25/C25,0)) which gives me a result of 20% (with C25=5 and E25=1). If the 2 fields are empty, it shows 0%, which is fine but it is giving me 20% rather than 80%. Im certain this is an easy fix and I am being foolish here.

  4. #4
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Calculate percentage #value error

    I received a #value error my first time through, probably when I had empty cells. I conditional formatted the empty cells to be zero. I should have pointed that out. Sorry.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Calculate percentage #value error

    =iferror(1-e25/c25,0)
    Last edited by martindwilson; 12-07-2013 at 06:02 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Calculate percentage #value error

    Awesome! That did it! Thank you so much for your help!

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Calculate percentage #value error

    i changed it so its right you dont need sum
    =iferror(1-e25/c25,0)
    or
    =iferror(1-e25/c25,"")

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculate percentage #value error

    Hi,

    If you make a post with references like B1 & C1 then you should expect a response which uses these and not different cells which you happen to tell us about after a later post.

    You should be consistent or we all waste our time.

  9. #9
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Calculate percentage #value error

    Thank you for your advice. As you are working to resolve it, so am I, and I found it more prudent to copy the point that I was at rather than going back and changing values. My initial post was in its simplest form.

  10. #10
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Calculate percentage #value error

    Quote Originally Posted by martindwilson View Post
    i changed it so its right you dont need sum
    =iferror(1-e25/c25,0)
    or
    =iferror(1-e25/c25,"")
    If I wanted to calculate the total performance in terms of percentage (D71), what formula could I use? I attempted the following:

    =SUM(IFERROR(1-(E25:F32,E42:F49,E59:F66)/(C25:C32,C42:C49,C59:D66),0))

    but it I was getting a result of 0....I'm assuming because all of the empty cells were showing as 0.00%.

    [ATTACH]282524[/ATTACH}
    Attached Files Attached Files

  11. #11
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Calculate percentage #value error

    =IFERROR(1-sum(E25:F32,E42:F49,E59:F66)/sum(C25:C32,C42:C49,C59:D66),0))

  12. #12
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Calculate percentage #value error

    I think that did it. You are great!

+ 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. calculate percentage of a percentage
    By sonogood in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-26-2013, 01:59 PM
  2. calculate a percentage of a percentage
    By ianmb in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-03-2010, 08:20 AM
  3. [SOLVED] percentage:how do I calculate the percentage change
    By Knowledge001 in forum Excel General
    Replies: 3
    Last Post: 11-25-2005, 02:40 PM
  4. Replies: 2
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] calculate percentage
    By JP in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-02-2005, 11:06 AM

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