Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Writeing a formula for

I need to write a formula for finding a % of a series of rows. However some
of the rows are not applicable.
Examle of what I am trying to make happen:

a | b | c | d
1 | 0 | 1 | 1 = 75%
| 1 | | = 100%
0 | 1 | | = 50%

The blank cells dont have a value so I dont want them to reflect in the
result. I dont know how to write a formula to only use cells that have a
value.

What i have now is (a1:a4)/?? What do I divide it by.

Please reply to

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Writeing a formula for

=AVERAGE(IF(A1:D1<"",A1:D1))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"
wrote in message
...
I need to write a formula for finding a % of a series of rows. However

some
of the rows are not applicable.
Examle of what I am trying to make happen:

a | b | c | d
1 | 0 | 1 | 1 = 75%
| 1 | | = 100%
0 | 1 | | = 50%

The blank cells dont have a value so I dont want them to reflect in the
result. I dont know how to write a formula to only use cells that have a
value.

What i have now is (a1:a4)/?? What do I divide it by.

Please reply to



  #3   Report Post  
Posted to microsoft.public.excel.misc
Paul Mathews
 
Posts: n/a
Default Writeing a formula for

A non-array formula solution for the items in row 1 might be:

=COUNTIF(A1:D1,"0")/COUNT(A1:D1)

(copy this to all rows with data; note that any rows with no data at all
will generate a divide by zero error).

" wrote:

I need to write a formula for finding a % of a series of rows. However some
of the rows are not applicable.
Examle of what I am trying to make happen:

a | b | c | d
1 | 0 | 1 | 1 = 75%
| 1 | | = 100%
0 | 1 | | = 50%

The blank cells dont have a value so I dont want them to reflect in the
result. I dont know how to write a formula to only use cells that have a
value.

What i have now is (a1:a4)/?? What do I divide it by.

Please reply to

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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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