Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PF PF is offline
external usenet poster
 
Posts: 8
Default How to count with values from multiple columns?

I want to take the total number of "N" values from M2:M72,N2:N72 * the total
number of occurrences if value =110 (or 120,125 etc)in O2:O72,P2:P72 I also
need the count to adjust as the "n" is changed. I've tried SUMPRODUCT,
COUNTIF, IF and various combination's but I still can't get what I'm after.
Any help would be much appreciated.

Patrick
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default How to count with values from multiple columns?

Confusing question. Please rewrite clearly

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"PF" wrote in message
...
I want to take the total number of "N" values from M2:M72,N2:N72 * the
total
number of occurrences if value =110 (or 120,125 etc)in O2:O72,P2:P72 I
also
need the count to adjust as the "n" is changed. I've tried SUMPRODUCT,
COUNTIF, IF and various combination's but I still can't get what I'm
after.
Any help would be much appreciated.

Patrick


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PF PF is offline
external usenet poster
 
Posts: 8
Default How to count with values from multiple columns?



"Ashish Mathur" wrote:

Confusing question. Please rewrite clearly

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"PF" wrote in message
...
I want to take the total number of "N" values from M2:M72,N2:N72 * the
total
number of occurrences if value =110 (or 120,125 etc)in O2:O72,P2:P72 I
also
need the count to adjust as the "n" is changed. I've tried SUMPRODUCT,
COUNTIF, IF and various combination's but I still can't get what I'm
after.
Any help would be much appreciated.

Patrick

OK, how about this

Columns M and N contain values N or Y (received yes or no)
Columns O and P contain values 110, 120, 125 etc (ski pole length)
I want take total of all "N" values from columns M and N times the total
occurrences of 110 in columns O and P. Sum would be in Q1

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to count with values from multiple columns?

If this was your data:

N...N...110...110
Y...N...110...110
N...Y...120...110
Y...N...110...120

What result do you expect?

--
Biff
Microsoft Excel MVP


"PF" wrote in message
...


"Ashish Mathur" wrote:

Confusing question. Please rewrite clearly

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"PF" wrote in message
...
I want to take the total number of "N" values from M2:M72,N2:N72 * the
total
number of occurrences if value =110 (or 120,125 etc)in O2:O72,P2:P72 I
also
need the count to adjust as the "n" is changed. I've tried SUMPRODUCT,
COUNTIF, IF and various combination's but I still can't get what I'm
after.
Any help would be much appreciated.

Patrick

OK, how about this

Columns M and N contain values N or Y (received yes or no)
Columns O and P contain values 110, 120, 125 etc (ski pole length)
I want take total of all "N" values from columns M and N times the total
occurrences of 110 in columns O and P. Sum would be in Q1



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default How to count with values from multiple columns?

Do you mean..the occurences of 110 where the corresponding cells in M:N range
has a N ?
=SUMPRODUCT((M2:N10="n")*(O2:P10=110))

If this post helps click Yes
---------------
Jacob Skaria


"PF" wrote:

I want to take the total number of "N" values from M2:M72,N2:N72 * the total
number of occurrences if value =110 (or 120,125 etc)in O2:O72,P2:P72 I also
need the count to adjust as the "n" is changed. I've tried SUMPRODUCT,
COUNTIF, IF and various combination's but I still can't get what I'm after.
Any help would be much appreciated.

Patrick



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default How to count with values from multiple columns?

Or do you mean?
total number of "N" values from M2:M72,N2:N72 *
the total number of occurrences if value =110


=COUNTIF(M2:N10,"N")*COUNTIF(O2:P10,110)

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Do you mean..the occurences of 110 where the corresponding cells in M:N range
has a N ?
=SUMPRODUCT((M2:N10="n")*(O2:P10=110))

If this post helps click Yes
---------------
Jacob Skaria


"PF" wrote:

I want to take the total number of "N" values from M2:M72,N2:N72 * the total
number of occurrences if value =110 (or 120,125 etc)in O2:O72,P2:P72 I also
need the count to adjust as the "n" is changed. I've tried SUMPRODUCT,
COUNTIF, IF and various combination's but I still can't get what I'm after.
Any help would be much appreciated.

Patrick

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
Count unique values across two columns with multiple conditions Ert Excel Worksheet Functions 4 March 8th 09 12:22 AM
Filter Multiple Columns on Multiple Criteria and count the last co LBitler Excel Worksheet Functions 2 February 12th 09 08:36 PM
To count the data using multiple criteria in multiple columns Rajesh New Users to Excel 5 December 15th 08 04:07 PM
How do I count values across multiple columns? [email protected] Excel Worksheet Functions 4 March 21st 06 11:13 PM
How to Count Rows with defined values in multiple columns ryesworld Excel Worksheet Functions 9 November 8th 05 06:32 PM


All times are GMT +1. The time now is 06:12 AM.

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"