#1   Report Post  
Posted to microsoft.public.excel.misc
lsmft
 
Posts: n/a
Default Need Some Help Here


I have a worksheet detailing weekly income since year 2001.
Cell A1, is the first week's income for 2006.
Cell B1, is the first week's income for 2005, etc.
This will go on down the sheet to row 52.
What I'd like is a formula that I can use in say Cell "A 54", of column
A to tell me how many weeks had an income greater than the same week's
incomes represented in column B. Same for Column B, compared to Column
C, etc. I have tried using the countif function but it is coming back
as "0" even with half of the weeks shown Column A, are greater than in
column B.


--
lsmft
------------------------------------------------------------------------
lsmft's Profile: http://www.excelforum.com/member.php...o&userid=30678
View this thread: http://www.excelforum.com/showthread...hreadid=537484

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Need Some Help Here

=SUMPRODUCT(--(A1:A52B2:B52))

etc.

lsmft wrote:
I have a worksheet detailing weekly income since year 2001.
Cell A1, is the first week's income for 2006.
Cell B1, is the first week's income for 2005, etc.
This will go on down the sheet to row 52.
What I'd like is a formula that I can use in say Cell "A 54", of column
A to tell me how many weeks had an income greater than the same week's
incomes represented in column B. Same for Column B, compared to Column
C, etc. I have tried using the countif function but it is coming back
as "0" even with half of the weeks shown Column A, are greater than in
column B.



  #3   Report Post  
Posted to microsoft.public.excel.misc
lsmft
 
Posts: n/a
Default Need Some Help Here


Thanks Bob,
Works just fine.


--
lsmft
------------------------------------------------------------------------
lsmft's Profile: http://www.excelforum.com/member.php...o&userid=30678
View this thread: http://www.excelforum.com/showthread...hreadid=537484

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



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