Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KellyKulpa
 
Posts: n/a
Default I need a formula to calculate the ratio of #'s in a row and column

Hello. I'm using Excel 2000 and need help finding a formula to calculate the
ratio in columns and rows.

For example: I'm using 1's and 0's ( 1 if the item is present and 0 if it is
not present). So, I need a formula that will show 8/10 of the items were
present. See my example below.

Column C
1
0
1
0
1
=3 (sum)
=3/5 (ratio)

Thanks for your help!!!! Kelly
  #2   Report Post  
David Hepner
 
Posts: n/a
Default


=SUM(A1:A5)/COUNT(A1:A5)

Format cell as a fraction
FormatCellNumberTabFraction

"KellyKulpa" wrote:

Hello. I'm using Excel 2000 and need help finding a formula to calculate the
ratio in columns and rows.

For example: I'm using 1's and 0's ( 1 if the item is present and 0 if it is
not present). So, I need a formula that will show 8/10 of the items were
present. See my example below.

Column C
1
0
1
0
1
=3 (sum)
=3/5 (ratio)

Thanks for your help!!!! Kelly

  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

You say you want 8/10, but your example shows 3/5, or 6/10...

One way:

=SUM(A1:A5)/COUNT(A1:A5)

If you want to always see 10ths, use Format/Cells/Number/Custom ?/10





In article ,
"KellyKulpa" wrote:

Hello. I'm using Excel 2000 and need help finding a formula to calculate the
ratio in columns and rows.

For example: I'm using 1's and 0's ( 1 if the item is present and 0 if it is
not present). So, I need a formula that will show 8/10 of the items were
present. See my example below.

Column C
1
0
1
0
1
=3 (sum)
=3/5 (ratio)

Thanks for your help!!!! Kelly

  #4   Report Post  
KellyKulpa
 
Posts: n/a
Default

Thanks David. I tried it and the result was 0.57143

Do you have a formula for something like 5/10 ?

"David Hepner" wrote:


=SUM(A1:A5)/COUNT(A1:A5)

Format cell as a fraction
FormatCellNumberTabFraction

"KellyKulpa" wrote:

Hello. I'm using Excel 2000 and need help finding a formula to calculate the
ratio in columns and rows.

For example: I'm using 1's and 0's ( 1 if the item is present and 0 if it is
not present). So, I need a formula that will show 8/10 of the items were
present. See my example below.

Column C
1
0
1
0
1
=3 (sum)
=3/5 (ratio)

Thanks for your help!!!! Kelly

  #5   Report Post  
KellyKulpa
 
Posts: n/a
Default

Each of my spreadheets are different. Some have 15 rows and some have 5.
Therefore, if there's 15 rows I need to caculate how many out of 15 items
were present. If there are only 5 rows on my spreadsheet I would need the
same but out of 5.

"JE McGimpsey" wrote:

You say you want 8/10, but your example shows 3/5, or 6/10...

One way:

=SUM(A1:A5)/COUNT(A1:A5)

If you want to always see 10ths, use Format/Cells/Number/Custom ?/10





In article ,
"KellyKulpa" wrote:

Hello. I'm using Excel 2000 and need help finding a formula to calculate the
ratio in columns and rows.

For example: I'm using 1's and 0's ( 1 if the item is present and 0 if it is
not present). So, I need a formula that will show 8/10 of the items were
present. See my example below.

Column C
1
0
1
0
1
=3 (sum)
=3/5 (ratio)

Thanks for your help!!!! Kelly




  #6   Report Post  
JE McGimpsey
 
Posts: n/a
Default

If there's nothing in the column other than your data:

=SUM(C:C)/COUNT(C:C)

or, since your data is 1s and 0s:

=AVERAGE(C:C)


In article ,
"KellyKulpa" wrote:

Each of my spreadheets are different. Some have 15 rows and some have 5.
Therefore, if there's 15 rows I need to caculate how many out of 15 items
were present. If there are only 5 rows on my spreadsheet I would need the
same but out of 5.

  #7   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Did you try David's suggestion to format the cell as a fraction, which
will return

4/7

??

Or are you trying to round 0.57143 to 5/10???



In article ,
"KellyKulpa" wrote:

Thanks David. I tried it and the result was 0.57143

Do you have a formula for something like 5/10 ?

  #8   Report Post  
KellyKulpa
 
Posts: n/a
Default

I tried this and it's still giving me 0.5333 when I need it to show 5 out of
10 like this: 5/10
I appreciate your help!
"JE McGimpsey" wrote:

If there's nothing in the column other than your data:

=SUM(C:C)/COUNT(C:C)

or, since your data is 1s and 0s:

=AVERAGE(C:C)


In article ,
"KellyKulpa" wrote:

Each of my spreadheets are different. Some have 15 rows and some have 5.
Therefore, if there's 15 rows I need to caculate how many out of 15 items
were present. If there are only 5 rows on my spreadsheet I would need the
same but out of 5.


  #9   Report Post  
JE McGimpsey
 
Posts: n/a
Default

That's because you're still not formatting the cell as a fraction as I
explained in my previous post.


In article ,
"KellyKulpa" wrote:

I tried this and it's still giving me 0.5333 when I need it to show 5 out of
10 like this: 5/10

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
How to calculate a percentage formula with existing data? MeaganNW Excel Worksheet Functions 4 September 8th 08 08:39 AM
Need a formula to calculate the number of months to pay off a loan kv Excel Discussion (Misc queries) 2 August 2nd 05 09:02 PM
Creat a formula to calculate working hrs according to number of da Bren Excel Worksheet Functions 2 August 1st 05 12:57 PM
How do I calculate a formula with a not-to-exceed answer? danfromthelake Excel Discussion (Misc queries) 1 January 19th 05 01:57 AM
X IN A CELL TO CALCULATE A FORMULA JUSTIN Excel Worksheet Functions 1 January 3rd 05 11:08 PM


All times are GMT +1. The time now is 10:11 PM.

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

About Us

"It's about Microsoft Excel"