Results 1 to 4 of 4

Getting percentage from columns and raws, divide by 0 error...

Threaded View

  1. #1
    Registered User
    Join Date
    10-05-2012
    Location
    Kazakhstan
    MS-Off Ver
    Excel 2010
    Posts
    12

    Getting percentage from columns and raws, divide by 0 error...

    Hello Ladies and Gents!

    Today People on this forum have already helped me hugely, but I have one more small propblem which I hope you help me to solve:

    I have a kind of training matrix. Let's say columns have different topics, and rows have people names.

    Each topic consists of three columns - Required (Yes/No) | Date of expiry| Validity (VALID/NOT VALID)

    I basically need two formulas and I hope I have something to start with:


    - one which will get me percentage of compliance of certain training along all people (vertical range)

    =COUNTIFS(D5:D11,"VALID",B5:B11,"Yes")/COUNTIF(B5:B11,"Yes")


    -another one - compliance of people by all trainings (horizontal range)

    =COUNTIFS(A7:L7,"Yes",A7:L7,"VALID")/COUNTIF(A7:L7,"Yes")

    The problem is that when All people in a certain group don't require specific training, the formula returns me "divide by zero error", because non of them has "Yes" in the requirement...

    Another problem is that when I try to get percentage horizontally (Formula #2), it returns me 0, although I've tested it on one man with two topics, both of them were required, and both of them valid, but the result I got was 0...

    I hope you can help me to solve these problems...

    Thanks in advance!
    Last edited by masta-s; 08-08-2013 at 02:02 PM. Reason: add picture

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro for search values based on raws and columns
    By pineta1984 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2012, 12:47 PM
  2. Divide two columns then express as a percentage
    By kylie112 in forum Excel General
    Replies: 4
    Last Post: 01-03-2012, 04:05 AM
  3. Replies: 1
    Last Post: 12-25-2011, 08:19 PM
  4. copy columns to raws
    By toofan in forum Excel General
    Replies: 1
    Last Post: 01-25-2006, 10:25 AM
  5. divide a no. in a column percentage wise
    By shlomo in forum Excel General
    Replies: 1
    Last Post: 03-28-2005, 02:31 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