Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dav
 
Posts: n/a
Default Two Logic tests in an IF Statement


=SUMPRODUCT((F1:F122="BTsD")*(H1:H122<TIME(8,0,0)) ,J1:J122)

Where your range of data is in rows 1 to 122, adjust accordingly

Regards

Dav

PS Remember you are excluding 8:00, if you wish to have it included
select <= instead of <


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=509351

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
Average of logic cells ckdkvk Excel Discussion (Misc queries) 2 December 1st 05 01:16 PM
If statement - 2 tests RobertLees Excel Worksheet Functions 1 September 1st 05 11:10 AM
Logic question ACDenver Excel Discussion (Misc queries) 1 August 16th 05 04:29 AM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
Logic statement returns wrong answer. Tony Excel Worksheet Functions 2 December 2nd 04 05:07 AM


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