Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nimit Mehta
 
Posts: n/a
Default now() sumproduct.

I used to type enter time manually as under in coloumn B and D

Clients Check In Clients Check out
15 12:24 PM 23 2:34 PM

Then i used this as a time stamp.

=IF(C1178="","",IF(G1178="",NOW(),G1178))

etc etc to stamp time when i enter values in coloumn A and C.

now there is a sumproduct function that uses cell say B2 to calculate number
of clients checked in at that time..

sumproduct(B2:B500=E2)*(A2:A500)

This used to work manually, until i used time stamp now..which gives out
result as 23/09/2005 5:09:36 PM and not 5:09 PM.

So sumproduct cant find 5:09 Pm in coloumn B.
TIA.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Try

=sumproduct((MOD(B2:B500,1)=E2)*(A2:A500))


--
HTH

Bob Phillips

"Nimit Mehta" wrote in message
...
I used to type enter time manually as under in coloumn B and D

Clients Check In Clients Check out
15 12:24 PM 23 2:34 PM

Then i used this as a time stamp.

=IF(C1178="","",IF(G1178="",NOW(),G1178))

etc etc to stamp time when i enter values in coloumn A and C.

now there is a sumproduct function that uses cell say B2 to calculate

number
of clients checked in at that time..

sumproduct(B2:B500=E2)*(A2:A500)

This used to work manually, until i used time stamp now..which gives out
result as 23/09/2005 5:09:36 PM and not 5:09 PM.

So sumproduct cant find 5:09 Pm in coloumn B.
TIA.



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 Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 03:11 AM.

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"