Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Complex if

loking at it all again I think you mean this

=AVERAGE(IF(H2:H3536=DATE(2008,10,1),IF(I2:I3536< "",IF(I2:I3536<DATE(2008,11,1),J2:J3536,""))))

Mike

"Mike H" wrote:

Hi,

I think there's a few issues with the fromula

Condition 1 & 2
$I$2:$I$3536"",$H$2:$H$3536"",

Do you mean
$I$2:$I$3536<"",$H$2:$H$3536<"",

Conditions 2 & 3
$H$2:$H$3536=10/1/2008,$H$2:$H$353611/1/2008)
Perhaps you mean
$H$2:$H$3536=date(2008/10/1)

Excel will interpret 10/1/2008 as 10 divided by 1 divided by 2008 which
equals 0.00498 and not a date

Argument 2 & 3 are contradictory.

anything =1 Oct 2008 will catch a date 1 Nov 2008 so what is the point
of the second date argument.

Do you mean = 1 Oct 2008 < 1 Nov 2009

perhaps you could explain what it is your trying to achieve and someone will
help.

Mike


"PAL" wrote:

This formula returns a "false" but should return a number: As an array.....

=IF(AND($I$2:$I$3536"",$H$2:$H$3536"",$H$2:$H$35 36=10/1/2008,$H$2:$H$353611/1/2008),AVERAGE($J$2:$J$3536,""))

Columns I and H are dates.

Thanks.

 
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
Complex If/Then PAL Excel Worksheet Functions 2 August 3rd 09 04:10 PM
Complex Look up RobFJ[_3_] Excel Worksheet Functions 2 November 4th 08 05:55 PM
Complex sum Greshter Excel Discussion (Misc queries) 1 March 9th 07 04:21 AM
Complex sum Greshter Excel Discussion (Misc queries) 0 March 9th 07 03:20 AM
Complex Index Match Help (or at least complex to me) Jennifer Reitman Excel Discussion (Misc queries) 3 August 10th 06 08:51 PM


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