HELP WITH SUMIFS

Jagat Pavasia

Active Member
Joined
Mar 9, 2015
Messages
359
Office Version
  1. 2021
Platform
  1. Windows
I HAVE FORMULA BELOW :

=SUMIFS(E6:E8000,L6:L8000,"O",N6:N8000,">="&DATEVALUE("1/11/2020"),N6:N8000,"<="&DATEVALUE("30/11/2020"))

I WANT TOTAL OF E6 : E8000 WITH SELECTED DATE RANGE, BUT MY N6:N8000 HAVE BOTH DATE AND TIME,
FOR EXAMPLE: " 7/11/20, 11:54 AM".

SO THE ANSWER IS DID NOT SHOWING, IF MY N6:N8000 HAVE ONLY DATE THEN IT IS WORKING.

BUT I WANT DATE WITH TIME, PLEASE GIVE ME FORMULA..
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Is your date /time data real or text looking like date/time. (left aligned in the latter case)
In the latter case you can extract the date using Text to columns or some other method
When N only contains date after extraction try

Excel Formula:
=SUMPRODUCT(--(L6:L8000)="O",--(month(N6:N8000)=11)*E6:E8000)
Also note that writing in capital letters is the equivalent of shouting, and as we are all friends here...
 
Last edited:
Upvote 0
This will only work if your date time data is real or text looking like date/time.
In the latter case you can extract the date using Text to columns or some other method
When N only contains date after extraction try


Excel Formula:
=SUMPRODUCT(--(L6:L8000)="O",--(month(N6:N8000)=11)*E6:E8000)
Also note that writing in capital letters is the equivalent of shouting, and as we are all friends here...
it did not work ...

I want total of E6 to E8000, but condition is only those who have "O" in L6:L8000 and N6:N8000 within date and time range of 01/11/2020 to 30/11/2020. (N6:N8000 have date and time for example : "7/11/20, 1:46 PM".
 
Upvote 0

Forum statistics

Threads
1,213,554
Messages
6,114,280
Members
448,562
Latest member
Flashbond

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