Sumifs column time = 00:00

woon8888

New Member
Joined
May 18, 2022
Messages
13
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hi experts, please help me review the below

=sumifs(A:A, B:B, time(0,0,0))

column B all has date with time but i only wish to sum those with 00:00
 
T202310a.xlsm
ABCDE
911/11:00100365365
1011/12:00150
1111/15:00123
1212/00:00300
1312/01:01400
1412/00:0065
2h
Cell Formulas
RangeFormula
D9D9=SUMPRODUCT(--(MOD(A9:A14,1)=0),B9:B14)
E9E9=SUM((MOD(A9:A14,1)=0)*B9:B14)
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Th
So what still appears to be the issue?

View attachment 100187

My original formula, adjusted for you switch of column A & B, for the data sample above:
Excel Formula:
=SUMPRODUCT(--(A2:A7=INT(A2:A7)),B2:B7)

If something still does not work right, please post a sample of your data, formula, and the output you are getting (and the output you are expecting).
This worked like a charm!

it's my bad previously i am using A:A whole column which didn't work because of the header i guess.
 
Upvote 0

Forum statistics

Threads
1,215,097
Messages
6,123,077
Members
449,094
Latest member
mystic19

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