Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default COUNTIF value columnA columnB

struggling here
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default COUNTIF value columnA columnB

Hi,

u can get around this by using additional column to find out if column A
column B and count the TRUE values.

A B C
1 4 =A1B1
2 3 =A2B2
3 2 =A3B3
4 1 =A4B4

=countif(C1:C4,TRUE)

hope this helps.


"Neffa" wrote:

struggling here

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default COUNTIF value columnA columnB

Thanks for the rapid response - I was kinda hoping that I might avoid some
"hidden" columns but your work around appears to be the most elegant solution
available.

Thanks again.
Neffa

"Yong Heng" wrote:

Hi,

u can get around this by using additional column to find out if column A
column B and count the TRUE values.

A B C
1 4 =A1B1
2 3 =A2B2
3 2 =A3B3
4 1 =A4B4

=countif(C1:C4,TRUE)

hope this helps.


"Neffa" wrote:

struggling here

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pub pub is offline
external usenet poster
 
Posts: 29
Default COUNTIF value columnA columnB

?B?TmVmZmE=?= wrote in
:

struggling here


what are you trying to accomplish?

do you just want to count the total number of times values in column A is
greater then the value next to it in column b?

try this formula

=SUMPRODUCT((A1:A5B1:B5)*1)

just asjust the range to fit. its a sumproduct, so dont use A:A or B:B.
hope that helps.
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default COUNTIF value columnA columnB

Brilliant (unless the value is 0 then it gets a little confused...)

I am totalling a large number of meetings where I am tracking vote results
both by # of votes totally but also the # of meetings where the vote gets up
or otherwise.

Neffa

"pub" wrote:

?B?TmVmZmE=?= wrote in
:

struggling here


what are you trying to accomplish?

do you just want to count the total number of times values in column A is
greater then the value next to it in column b?

try this formula

=SUMPRODUCT((A1:A5B1:B5)*1)

just asjust the range to fit. its a sumproduct, so dont use A:A or B:B.
hope that helps.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pub pub is offline
external usenet poster
 
Posts: 29
Default COUNTIF value columnA columnB

?B?TmVmZmE=?= wrote in
:

Brilliant (unless the value is 0 then it gets a little confused...)

I am totalling a large number of meetings where I am tracking vote
results both by # of votes totally but also the # of meetings where
the vote gets up or otherwise.

Neffa


glad i could help.

confused by 0? funny im not having a problem with 0 or blanks. are you
getting an error? you could probably correct it with a simple if()
statement...possibly with an iserror() thrown in.
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
returning all matching values in column A that have the same value for columnB [email protected] Excel Worksheet Functions 3 August 30th 06 06:51 PM
sum up columnA depending on conditions on columnB and columnC pooposa Excel Discussion (Misc queries) 4 August 5th 06 01:52 AM
Count cells that contain "Y" in columnA IF contains"X" in columnB holliedavis Excel Worksheet Functions 6 July 20th 06 06:12 PM
IF ColumnA = ltr Add Column B maril Excel Worksheet Functions 3 February 20th 06 09:36 PM
Adding new numbers as I type without duplicates from Sheet1,ColumnA to Sheet2,ColumnA Master Excel Worksheet Functions 2 July 12th 05 05:03 PM


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

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"