Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Calculating percent of times a value is in a column and total #

Ok so I have a column with values in it. Say A4:A12, the values entered will
always be 1, 2, 3, or 4. I need a formula that will calculate the % that say
a 1 appears in that range and I need a formula that will calculate the total
number of 1s in that range.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Calculating percent of times a value is in a column and total #

=countif(a4:a12,1)/count(a4:a12)

Format as percent

Regards,
Fred

"clbritt76" wrote in message
...
Ok so I have a column with values in it. Say A4:A12, the values entered
will
always be 1, 2, 3, or 4. I need a formula that will calculate the % that
say
a 1 appears in that range and I need a formula that will calculate the
total
number of 1s in that range.

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Calculating percent of times a value is in a column and total #

Hi,

To count the ones
=COUNTIF(A4:A12,1)

% of ones
=COUNTIF(A4:A12,1)/9

Format this one as %
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"clbritt76" wrote:

Ok so I have a column with values in it. Say A4:A12, the values entered will
always be 1, 2, 3, or 4. I need a formula that will calculate the % that say
a 1 appears in that range and I need a formula that will calculate the total
number of 1s in that range.

Thanks!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating a percent decrease Karen[_4_] Excel Worksheet Functions 2 February 18th 09 05:20 PM
calculating total in a column tisaman Excel Worksheet Functions 2 November 6th 08 09:14 PM
Is there any way of calculating a running total within a single cell in a column Janev New Users to Excel 2 September 13th 06 01:22 PM
Column of Text Shown = Total Times Shown? philcassell Excel Worksheet Functions 3 July 19th 06 07:24 AM
how create cursor that highlights total row/column at all times just me Excel Discussion (Misc queries) 1 January 25th 06 01:19 AM


All times are GMT +1. The time now is 03:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"