Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Calculating Problem: Desperate :(

Hi Ed.

One more question. As I mentioned before, I figured out how to do it
across columns. The last thing I need to do is to fundamentally do the same
thing, but across both rows and columns as a total % for the entire field
(d12:g31). I have been playing around trying to figure it out and can't :(

Thanks in advance



"Ed Ferrero" wrote:

Hi cionnaith,

In short, what I need to happen is if all of the entries in the column of
20
cells are 0's the first cell function I described should result in the
number
20. Then I need the total calculated percentage in the other cell to be
20%
for all 0's. It would be 40% if all 1's, 60% if all 2's, 80% if all 3's
and
100% if all 4's. I hope this makes sense.


First Cell function, No of variables entered
=COUNT(D12:D31)

Second cell function, Total calculated percentage
=SUM(IF(ISBLANK(D12:D31),0,(D12:D31+1)/5))/ROWS(D12:D31)

This is entered as an array function, i.e. enter this in a cell then press
Ctrl-Shift-Enter
You have done it right when the formula is surounded by curly brackets
{=SUM(IF(ISBLANK(D12:D31),0,(D12:D31+1)/5))/ROWS(D12:D31)}

Ed Ferrero
www.edferrero.com


.

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
Problem calculating RonH Excel Discussion (Misc queries) 1 February 13th 09 04:51 PM
Excel VBA - SQL to .dbf date problem - GETTING DESPERATE Erasmus Excel Discussion (Misc queries) 6 July 2nd 07 05:20 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Desperate for help in travelling salesman problem! krzys_28 Excel Discussion (Misc queries) 5 April 23rd 06 06:44 PM
DESPERATE FOR HELP ON THIS PROBLEM...please JackR Excel Discussion (Misc queries) 2 March 16th 06 09:08 PM


All times are GMT +1. The time now is 05:26 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"