#1   Report Post  
Gos-C
 
Posts: n/a
Default Conditional Sum


I entered:

=SUMPRODUCT((REPLACE(REPLACE(A9:A933500,1,1,""),3, 4,"")="LR"),(B9:B33500"31-Dec-03"+0),(L9:L33500))

Column A contains eight-character record numbers with the second and
third characters being letters and the remainding characters being
numbers. Column B contains dates. Column L has dollar values.

If Column B is greater than 31-Dec-2003 and Column A is an LR record
number sum the dollar value in Column L.

Any help?


--
Gos-C
------------------------------------------------------------------------
Gos-C's Profile: http://www.excelforum.com/member.php...o&userid=14518
View this thread: http://www.excelforum.com/showthread...hreadid=272991

  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

See if this works:

=SUMPRODUCT(--(MID(A9:A933500,2,2)="LR"),--(B9:B33500DATE(2003,12,31)),(L9:L33500))

On Wed, 27 Oct 2004 16:21:42 -0500, Gos-C
wrote:


I entered:

=SUMPRODUCT((REPLACE(REPLACE(A9:A933500,1,1,""),3 ,4,"")="LR"),(B9:B33500"31-Dec-03"+0),(L9:L33500))

Column A contains eight-character record numbers with the second and
third characters being letters and the remainding characters being
numbers. Column B contains dates. Column L has dollar values.

If Column B is greater than 31-Dec-2003 and Column A is an LR record
number sum the dollar value in Column L.

Any help?


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Dependant Conditional Formatting LDanix Excel Discussion (Misc queries) 1 January 13th 05 07:50 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 02:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 04:33 PM
copy conditional format as ACTUAL format Dana Zulager Excel Discussion (Misc queries) 7 December 8th 04 12:02 AM
Adding more than three Conditions to 'Conditional Formatting' David McRitchie Excel Discussion (Misc queries) 1 November 27th 04 07:03 PM


All times are GMT +1. The time now is 02:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"