Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I compare two columns and return a number count

I've got a list with two columns with number values that I need to compare.

Eg. compare column A with column B for each single row. Count the number of
rows if Column A is less than Column B (for each individual row, not total
value).

Is it possible to do that?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default How do I compare two columns and return a number count

=SUMPRODUCT(--(A1:A100<B1:B100))


"9274211" wrote:

I've got a list with two columns with number values that I need to compare.

Eg. compare column A with column B for each single row. Count the number of
rows if Column A is less than Column B (for each individual row, not total
value).

Is it possible to do that?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I compare two columns and return a number count

Thanks! Its very helpful.

"Teethless mama" wrote:

=SUMPRODUCT(--(A1:A100<B1:B100))


"9274211" wrote:

I've got a list with two columns with number values that I need to compare.

Eg. compare column A with column B for each single row. Count the number of
rows if Column A is less than Column B (for each individual row, not total
value).

Is it possible to do that?

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
Compare list of number between two columns Theresa Excel Discussion (Misc queries) 2 April 11th 08 12:32 AM
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
Compare columns, count matches adodson Excel Worksheet Functions 19 January 25th 07 02:34 AM
Pivot Table - How do I count number of columns? vicky Excel Discussion (Misc queries) 5 August 8th 06 01:26 PM
Count number of times two columns have desired values Gavin Deveau Excel Discussion (Misc queries) 2 June 16th 06 06:29 PM


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