+ Reply to Thread
Results 1 to 6 of 6

Help with analysing data and calculating a percentage

  1. #1
    Registered User
    Join Date
    02-17-2015
    Location
    Yorkshire, England
    MS-Off Ver
    2010
    Posts
    5

    Help with analysing data and calculating a percentage

    Hello I need to add a 4th column to this table with a formula that works out the percentage of N.V.s against Vs in theory it should be simple and I thought I could just use divide the cells, however if both boxes state "0" I need it to state "0" rather than an error and if there are no N.V.s at all again "0" and finally if there are no Vs but at least 1 NV it needs to record 100% if that makes sense. (I'll post an example underneath)


    Staff member | V | N.V. |
    Example | 3 | 2 |
    Example | 1 | 0 |
    Example | 1 | 0 |
    Example | 0 | 1 |
    Example | 0 | 0 |
    Example | 0 | 0 |
    Example | 1 | 0 |

    The answers should be as follows:

    66%
    0
    0
    100%
    0
    0
    0

    Thanks in advance. I know this is probably going to involve the IF function with AND? but I couldn't fully get my head round it
    Last edited by MzP; 02-17-2015 at 05:10 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: Help with analysing data and calculating a percentage

    - Assuming your data in A:C columns, D:D will be result-column
    - at D2 enter the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    - copy down to all result-cells in column D
    Last edited by tigertiger; 02-17-2015 at 05:45 AM.
    Best regard, -)iger-/iger
    If you are pleased with a solution mark your post SOLVED.

  3. #3
    Registered User
    Join Date
    02-17-2015
    Location
    Yorkshire, England
    MS-Off Ver
    2010
    Posts
    5

    Re: Help with analysing data and calculating a percentage

    Thanks! That has almost nailed it but it gives me:

    0.666666667 - Correct
    0 - Correct
    0 - Correct
    1 - Correct
    1 - ?
    1 - ?
    0 - Correct

    When both columns are showing 0 it is still giving me a 1 when it should be 0 any ideas?

  4. #4
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: Help with analysing data and calculating a percentage

    try edit the formula to the alternative

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-17-2015
    Location
    Yorkshire, England
    MS-Off Ver
    2010
    Posts
    5

    Re: Help with analysing data and calculating a percentage

    Bingo! You're a legend thanks!

  6. #6
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: Help with analysing data and calculating a percentage

    Please, Mark SOLVED for this topic by edit your first post and click mark solved

+ 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. Calculating percentage based on new data
    By Ken_NJ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2013, 02:38 PM
  2. Calculating percentage using data from other worksheets?
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-12-2011, 09:55 AM
  3. Calculating Percentage of Data in Column
    By jlearned in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-20-2007, 07:40 PM
  4. Analysing data
    By i_ujala in forum Excel General
    Replies: 1
    Last Post: 04-08-2007, 05:29 AM
  5. Calculating a percentage with the end percentage in mind
    By Shadowshady in forum Excel General
    Replies: 2
    Last Post: 06-17-2006, 04:45 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