LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Biff
 
Posts: n/a
Default

Hi!

A1 = 11/29/2004
B1 = 7
C1 = W

Total points for the last n games (based on the date entered in A1 and the
value enterd in B1):

=SUM(OFFSET(D8,MATCH(A1,A$8:A$89,0)-1,,-B1))

Number of wins using the same criteria:

=COUNTIF(OFFSET(F8,MATCH(A1,A$8:A$89,0)-1,,-B1),C1)

Biff

"miller" wrote in
message ...

Anyway you can write a function for # of wins and total points that
does the same for the last 7 games.

So it would the end date + the 6 cells before it. From the data above:

The end is 11/29/2004 the function would come back:

1 for wins and 592 for total points scored.


--
miller
------------------------------------------------------------------------
miller's Profile:
http://www.excelforum.com/member.php...fo&userid=4238
View this thread: http://www.excelforum.com/showthread...hreadid=474550





 
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
nested if(and) functions Rohan Excel Discussion (Misc queries) 3 August 12th 05 01:30 AM
Round a number in nested function kim Excel Worksheet Functions 1 July 6th 05 11:45 AM
color of a cell within a nested if function Ian Excel Discussion (Misc queries) 2 May 22nd 05 12:57 AM
Function Macro for Nested IF Qaspec Excel Worksheet Functions 5 March 10th 05 07:25 PM
Combining SUM Function with Nested If Statement Somecallmejosh Excel Discussion (Misc queries) 3 December 6th 04 04:25 PM


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