LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Comparing two columns of numbers

My ColA and ColB contain arbitrary integers, either positive, zero, or
negative. I'm trying to count the number of times that the value in a given
row of ColA is greater than that in ColB. For instance, for these data:

1 | 4
2 | -1
3 | 7
4 | -3
5 | 0

.... I need to return a three (the values in rows 2, 4, and 5 of ColA are
greater than those of ColB).

I tried COUNTIF(A:A,"<B:B"), with no luck. I get a zero value, no matter the
appropriate return.
 
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
Comparing Two Columns Candy Excel Discussion (Misc queries) 3 November 9th 07 04:03 PM
Comparing two columns Sharon Excel Worksheet Functions 13 August 13th 07 06:24 PM
Comparing two columns of information with 2 new columns of informa cbuck Excel Discussion (Misc queries) 1 January 16th 07 09:49 PM
comparing two columns [email protected] Excel Discussion (Misc queries) 2 January 26th 06 11:15 PM
comparing two columns? steve g via OfficeKB.com Excel Discussion (Misc queries) 1 April 30th 05 04:53 AM


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