+ Reply to Thread
Results 1 to 5 of 5

help calculating percentage of "x" in row C vs. Row D. with unknown cells filled out

  1. #1
    Registered User
    Join Date
    10-12-2013
    Location
    Salt Lake, Utah
    MS-Off Ver
    Excel 2010
    Posts
    3

    help calculating percentage of "x" in row C vs. Row D. with unknown cells filled out

    Hi, I've read tons of other threads with no luck so hopefully this is new ground. I want to calculate the percentage of "x" in row C versus how many "x" are in row D with no idea how many cells will be filled out. This is so that I can fill out the list with as many "x" I need without having to adjust the formula every time to account for the amount of cells I have filled out.

    I know there are a lot of similar threads but none show how to calculate the percentage between columns with an unknown amount of cells. thanks for any and all help.

  2. #2
    Registered User
    Join Date
    10-12-2013
    Location
    Salt Lake, Utah
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: help calculating percentage of "x" in row C vs. Row D. with unknown cells filled out

    maybe I should clarify. i want to mark a cell with an "x" to indicate that cell is a yes in our questionnaire. then I want a column of cells marked "x" that show that cell is a yes. Then I need the percentage of yes's and the percentage of no's. But I never know how many answers their will be so the sum of the cells that will be marked is unknown.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: help calculating percentage of "x" in row C vs. Row D. with unknown cells filled out

    This will tell you about the number of cells in A1:A15
    =ROWS(A1:A15)

    For getting the count of Number of Yes
    =COUNTIF(A1:A15,"Yes")

    For getting the count of Number of No
    =COUNTIF(A1:A15,"No")

    So For getting the Percentage of Yes the formula will be
    =COUNTIF(A1:A15,"Yes")/ROWS(A1:A15)

    So For getting the Percentage of No the formula will be
    =COUNTIF(A1:A15,"No")/ROWS(A1:A15)

    Change the rows reference A1:A15 to your desired range or entire column like ROWS(A:A)


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    10-12-2013
    Location
    Salt Lake, Utah
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: help calculating percentage of "x" in row C vs. Row D. with unknown cells filled out

    sorry what I meant is that the number of cells with a yes or no should be treated as a variable because it changes. I know how many cells there are now but it will change daily.

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: help calculating percentage of "x" in row C vs. Row D. with unknown cells filled out

    This will get the count of filled cells

    =COUNTIF(A1:A15,"<>")

    Or

    =COUNTA(A1:A15)

    If the above one is not the one which you are looking for then please attach a sample workbook with enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).

+ 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. [SOLVED] Cell that shows "sum" of filled cells?
    By StargateFanFromWork in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-27-2013, 04:37 AM
  2. [SOLVED] Getting text from a different sheet, returns a "0" on non filled cells.
    By randypang in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-28-2013, 12:24 AM
  3. [SOLVED] VBA - Change blank cells to "unknown"
    By crayhons in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2013, 01:12 PM
  4. [SOLVED] Formula to produce "pop up" or warning if other cells not filled
    By Jackdaddy0711 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-10-2012, 02:28 PM
  5. Copying an unknown number of cells in Sheet1 to Sheet2 starting from "F2"
    By blurtoad in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-26-2007, 07:27 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