#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default sumproduct formula

i want to calculate how many alarms went off in the past 24 hours
therefore i am using the sum product formula

=SUMPRODUCT(--('Data 14'!$C$8:$C$6533="InAlm"),--('Data
14'!$D$8:$D$6533=B1),--('Data 14'!$A$8:$A$6533(NOW()-1)))

The formula gives me back how many alarms came back based on three different
criteria.

the formula without the last part works just fine but then when i put in the
('Data 14'!$A$8:$A$6533(NOW()-1) it gives me all 0's.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default sumproduct formula

Are your time/date stamps in Data 14 tab formatted as text? And do they have
both date and time in the same format as NOW().
You could try this formula:
=SUMPRODUCT(--('Data 14'!$C$8:$C$6533="InAlm"),--('Data
14'!$D$8:$D$6533=B1),--(--('Data 14'!$A$8:$A$6533)(NOW()-1)))

--
John C


"computers hate me" wrote:

i want to calculate how many alarms went off in the past 24 hours
therefore i am using the sum product formula

=SUMPRODUCT(--('Data 14'!$C$8:$C$6533="InAlm"),--('Data
14'!$D$8:$D$6533=B1),--('Data 14'!$A$8:$A$6533(NOW()-1)))

The formula gives me back how many alarms came back based on three different
criteria.

the formula without the last part works just fine but then when i put in the
('Data 14'!$A$8:$A$6533(NOW()-1) it gives me all 0's.


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
sumproduct Formula PLEASE HELP cdw Excel Worksheet Functions 7 November 12th 07 10:28 PM
Nesting a sumproduct formula within a sumif formula. jerrymcm Excel Discussion (Misc queries) 2 October 3rd 07 03:35 PM
formula for sumproduct Curtis Excel Discussion (Misc queries) 2 July 19th 07 08:14 PM
SUMPRODUCT formula - help! Kierano Excel Worksheet Functions 5 October 25th 06 05:47 PM
SUMPRODUCT FORMULA Dinesh Excel Worksheet Functions 11 May 19th 06 06:44 PM


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