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 Spreadsheet Function creation?

I have 3 columns of information. At the bottom of each column I have a
countif formula counting the amount of times a condition occurs... How do I
create a formula to count how many times a specific condition occurs across
the 3 columns...

For example.
Column 1 Column 2 Column 3
Strength Type Direction
Right run right
right pass right
left pass right
left run left
left run left.

I want to calculate how many times
strength is: left
& Type is: run
& Direction is: left

How do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 364
Default Spreadsheet Function creation?

"jkuhne" wrote in message
...
I have 3 columns of information. At the bottom of each column I have a
countif formula counting the amount of times a condition occurs... How do
I
create a formula to count how many times a specific condition occurs
across
the 3 columns...

For example.
Column 1 Column 2 Column 3
Strength Type Direction
Right run right
right pass right
left pass right
left run left
left run left.

I want to calculate how many times
strength is: left
& Type is: run
& Direction is: left

How do I do this?


Assuming your headings Strength, Type and Direction are in row 1, so your
data will begin in A2:
=SUMPRODUCT((A2:A6="left")*(B2:B6="run")*(C2:C6="l eft"))

Alternatively, you could put
"left" in (say) A50,
"run" in B50,
"left" in C50
(without the quotes).
The formula would then be
=SUMPRODUCT((A2:A6=A50)*(B2:B6=B50)*(C2:C6=C50))
This version is better for making many copies of the formula with different
combinations of conditions.


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
Syntax for Info or Cell function for xl. file creation date driller Excel Worksheet Functions 5 January 29th 07 07:51 PM
Dialogbox Creation Scott Excel Discussion (Misc queries) 0 May 6th 06 09:52 PM
Formula creation...if possible Kelly C Excel Worksheet Functions 2 February 22nd 06 11:11 PM
Columns creation Hacos Excel Worksheet Functions 1 June 6th 05 07:54 PM
Spreadsheet Creation TimJ Excel Discussion (Misc queries) 2 May 18th 05 07:16 PM


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