Which Way Faster Sumproduct

nanuutm

New Member
Joined
Mar 16, 2016
Messages
27
I have data and need to check Date and Time. then check in list

if i get this Data "6/21/2016 11:50 5I" i check 1 in "6/22/2016" Below pic

i use sumproduct check time and date and before 11:00 or check time and date-1 and after 11:00

Sorry about my English

lfY7r3Q.png


have other way to calculate Faster than SUMPRODUCT ?
 
Last edited:

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi, something like this maybe? In this example the formula in D23 can be copied down and across.


Excel 2013
BCDE
22Data06/21/201606/22/2016
2306/21/2016 11:50 1
2406/21/2016 11:281
2506/21/2016 11:241
2606/21/2016 11:151
2706/21/2016 10:141
2806/21/2016 08:591
Sheet1
Cell Formulas
RangeFormula
D23=IF(INT($B23)+(MOD($B23,1)>TIME(11,0,0))=D$22,1,"")
 
Upvote 0
Hi, something like this maybe? In this example the formula in D23 can be copied down and across.

Excel 2013
BCDE
22Data06/21/201606/22/2016
2306/21/2016 11:501
2406/21/2016 11:281
2506/21/2016 11:241
2606/21/2016 11:151
2706/21/2016 10:141
2806/21/2016 08:591

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
D23=IF(INT($B23)+(MOD($B23,1)>TIME(11,0,0))=D$22,1,"")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Like This

ex: 3H have 10.30 and 11.50 then 3H check 1 on 6/21/2016 and 6/22/2016
AnL78UP.png



How to do table like this
 
Upvote 0
now i found this

=COUNTIFS(Date,X$3,Time,"<11:00",Data,$A4)

if i want between Date and time in 1 Criteria what should i do
 
Upvote 0
if i want between Date and time in 1 Criteria what should i do

Hi, don't you also need to take into account the "Data" column?

Anyway - here is one option you could try:


Excel 2013
BCDEFG
21Answer
22Data06/21/201606/22/2016
2306/21/2016 11:505I5I 1
2406/21/2016 11:285A5A1
2506/21/2016 11:245B4S
2606/21/2016 11:154A4A1
2706/21/2016 10:143U3U1
2806/21/2016 08:596D5L
2906/21/2016 11:503H6D1
3006/21/2016 10:303H3H11
315C
325B1
Sheet1
Cell Formulas
RangeFormula
F23=IF(COUNTIFS($C$23:$C$30,$E23,$B$23:$B$30,">="&F$22,$B$23:$B$30,"<="&F$22+TIME(11,0,0))+COUNTIFS($C$23:$C$30,$E23,$B$23:$B$30,">"&F$22-1+TIME(11,0,0),$B$23:$B$30,"<"&F$22),1,"")



For future reference, images are not a good way to describe your set-up - much better to use methods that 1) provide a permanent record and 2) allow any potential helpers to copy the set-up directly from the thread.

For ways to post example data, see post#2 here:

http://www.mrexcel.com/forum/about-board/508133-attachments.html
 
Upvote 0

Forum statistics

Threads
1,215,501
Messages
6,125,169
Members
449,212
Latest member
kenmaldonado

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top