LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Conditional Sum date range

I am trying to run the conditional sum wizard and have 2 sets of criteria but
keep coming back with a zero sum.

The data has 3 columns. A rep code, dates and total dollars sold.
The dates are between 1/1/2008 to 10/1/2008
The 2 sets of criteria a

- The rep code (4 digit number), shown in the formula below as S2, found in
$B$2:$B$1423.

- The date range which I narrow to a 1 month spread. e.g.=1/1/2008 and
<2/1/2008 (shown as T2 and U2)

It then should ttl the sales dollar (found in column H2 thru H1423 as shown
in the formula below) for each date range and by the rep code.

It always returns a zero dollar amount.

If I remove one of the date ranges e.g. just put 1/1/2008 it will return a
valid dollar amount for all sales greater than 1/1/2008. As soon as I add the
other date criteria I get a zero dollar amount.


Here is the formula:
{=SUM(IF($B$2:$B$1423=S2,IF($A$2:$A$1423=T2,IF($A $2:$A$1423<U2,$H$2:$H$1423,0),0),0))}

Any suggestions?


 
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
Conditional Format over Date Range Meowzer Excel Discussion (Misc queries) 3 October 15th 08 02:01 PM
SumIf conditional to date range IlliniDan Excel Worksheet Functions 5 October 13th 08 03:33 PM
Date Range Conditional Formatting Lynn Excel Worksheet Functions 13 March 30th 08 02:18 AM
Conditional formatting and Highlighting Date Range [email protected] Excel Discussion (Misc queries) 0 July 18th 07 04:15 PM
Conditional formatting and Highlighting Date Range [email protected] Excel Discussion (Misc queries) 0 July 18th 07 04:14 PM


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