LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
miller
 
Posts: n/a
Default Several function questions (nested functions)


I am looking for help with nested functions.

I found one on the site that works well for part of what I want to do.
It is:

=SUMPRODUCT(--(A8:A89=--"2004-11-3"),--(A8:A89<=--"2005-1-1"),D8:D89)

The first change I am looking for is having the value of the date (ex.
2004-11-3) in a seperate cell and the function subs in since I don't
want to change the date in the function everytime I want to change the
date range.

The other question is how would you set up the following functions to
look in that same date range:

=COUNTIF(F8:F89,"W")

=SUM(IF(B8:B89="H",IF(F8:F89="W",1,0)))

=SUMIF(B8:B89,"H",D8:D88)

Here is the data if it helps.




Code:
--------------------
11/3/2004 H DALLAS 91 106 L
11/5/2004 H ORLANDO 89 90 L
11/6/2004 A @ MINNESOTA 92 99 L
11/9/2004 H LA LAKERS 98 106 L
11/12/2004 H ATLANTA 95 96 L
11/13/2004 A @ MILWAUKEE 91 94 L
11/17/2004 H PHOENIX 84 95 L
11/20/2004 H MINNESOTA 94 99 L
11/22/2004 A @UTAH 76 75 W
11/23/2004 A @GOLDEN STATE 109 115 L
11/26/2004 A @PHOENIX 86 95 L
11/28/2004 A @LA LAKERS 76 89 L
11/29/2004 A @DENVER 67 76 L
12/1/2004 H SACRAMENTO 81 94 L
12/4/2004 H DETROIT 69 92 L
12/7/2004 A @HOUSTON 81 89 L
12/8/2004 H NEW YORK 79 86 L
12/10/2004 A @NEW JERSEY 91 94 L
12/12/2004 A @WASHINGTON 69 88 L
12/14/2004 A @CHARLOTTE 93 94 L
12/15/2004 H GOLDEN STATE 98 89 W
12/17/2004 H SAN ANTONIO 67 83 L
12/19/2004 A @SACRAMENTO 71 107 L
12/21/2004 A @LA CLIPPERS 91 100 L
12/22/2004 A @LA LAKERS 89 101 L
12/26/2004 A @CLEVELAND 91 100 L
12/27/2004 A @INDIANA 82 100 L
12/29/2004 H PHOENIX 96 107 L
--------------------


--
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:32 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"