HELP WITH SUMIFS

Jagat Pavasia

Board Regular
Joined
Mar 9, 2015
Messages
244
Office Version
  1. 2019
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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

arthurbr

Well-known Member
Joined
Dec 8, 2006
Messages
2,225
Office Version
  1. 2010
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:

Jagat Pavasia

Board Regular
Joined
Mar 9, 2015
Messages
244
Office Version
  1. 2019
Platform
  1. Windows
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".
 

arthurbr

Well-known Member
Joined
Dec 8, 2006
Messages
2,225
Office Version
  1. 2010
Did you remove the time as suggested ?
 

Watch MrExcel Video

Forum statistics

Threads
1,130,176
Messages
5,640,611
Members
417,157
Latest member
nirmalp

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
Top