Solved

Excel - Calculate the percentage of cells that contain data

Posted on 2011-09-29
1
298 Views
Last Modified: 2012-05-12
Hi,

I need to calculate the percentage of cells that contain data for rows and columns.  I've labeled the row and column and Percent Complete.


Master-List.xlsx
0
Comment
Question by:REBIC
1 Comment
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 36819069
Suppose you wanted to check the % complete for, say, A2:M2.

This is one formula:

=COUNTA(A2:M2)/COLUMNS(A2:M2)

Be advised that it will count a cell that has a formula, even if that formula evaluates to a zero length string.

If you need to exclude all empty cells, as well as cells whose values are zero length strings, you'd use an array formula like this:

{=SUM(IF(A2:M2<>"",1,0))/COLUMNS(A2:M2)}

To enter an array formula, do not enter the curly braces, and hit Ctrl+Shift+Enter instead of Enter to finish it off.  Excel will then display those braces to indicate that it's an array formula.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question