Excel Sum(ifs) between dates, sum month & sum with multiple criteria

Excel Sum(ifs) between dates, sum month & sum with multiple criteria

Leila Gharani

5 лет назад

617,981 Views

Links and html tags are not supported


Comments:

Master Geo
Master Geo - 11.10.2023 08:35

One of my criteria is a word containing periods. Specifically, I'm looking for "H.O.A. Fee" and it gives some weird value. But if I change to "HOA Fee" it works fine. Is there a special way to look for periods in a formula? I thought it was odd and makes me wonder about other special characters.

Also is there a way to set the date for only the month excluding the year. I make a new spreadsheet for each year and would have to manually change the year for each formula I use this in.

Ответить
Mitch Coob
Mitch Coob - 11.10.2023 07:08

Does the range criteria work for dates that are in the same column but aren't in exact order? For example if my column was 9/1, 9/3, 10/3, 9/15 - would the range criteria still pull the data from only the three September dates if thats what I chose?

Ответить
Naeem Farooq
Naeem Farooq - 03.10.2023 09:29

Dear Madam! Can we get value by vlookup function between two dates?

Ответить
Chakkungal Manmohan
Chakkungal Manmohan - 27.09.2023 10:52

Even though I have applied the same formula explained for sumifs between two dates, total displayed is wrong. What could be the problem and how to fix it?

Ответить
Mousa Abdelkarim
Mousa Abdelkarim - 14.09.2023 20:56

Thank you, it helps me

Ответить
Alejandro Marquez
Alejandro Marquez - 03.09.2023 23:33

Thanks a lot for sharing , it is a lot of time savings watching your videos , it is better and easier to learn from your videos than reading excel’s help! Great Job !!

Ответить
Richard Dias
Richard Dias - 03.09.2023 02:48

Thank you!

Ответить
Jacques Conradie
Jacques Conradie - 29.08.2023 10:26

Dear ms. Leila, we appreciate your clear logical explanations and your sweet friendly manner.

Ответить
Duncan
Duncan - 29.08.2023 00:02

Thanks!

Ответить
abu umar
abu umar - 19.08.2023 10:13

Thank you for such easy explanation , absolutely 100% educational.

Ответить
Prabhakaran K
Prabhakaran K - 12.08.2023 20:37

Plz support how to make sumifs single column range and critiriya Ex
Prabha
1
2
3
Prabha total 6 should come
Dinesh
5
7
6
Dinesh total 18 .what formula should I use about like

Ответить
George Kiossev
George Kiossev - 06.08.2023 12:27

I want the same calculation but for Standard Deviation. Can you explain how can be done. Thanks

Ответить
Kere Zol
Kere Zol - 04.08.2023 20:01

for me in google sheets the "less or equal to" does not work with this formula "<="&EOMONTH for the last day of the month, it only sums all the other days before, so i modified it to "<"&EOMONTH(P7,0)+1

Ответить
Firoz Shaikh
Firoz Shaikh - 18.07.2023 14:57

Hi Leila. I am new to excel and was trying to put a formula for my company sales report. We have above 15 products sold at various location, payment mode is either Card, Cash, Online. These product sale is monitored on weekly basis at product level at all location (individually). My company believes 1st date of every month is when the week start and ends on 7th, and from 8th begins the second week and so on. Please help me with it how do I make the same on weekly basis for over 15 products at location wise with break up card,cash,onlie. Thanks in advance.

Ответить
Faizan Dhami
Faizan Dhami - 26.06.2023 11:39

Easy to understand. All aging balance sheet realted issues solved

Ответить
Pedro Felipe Bezerra
Pedro Felipe Bezerra - 10.06.2023 00:49

Great!!!

Ответить
Latasha T
Latasha T - 06.06.2023 05:49

Hi Leila,
Could you please help me figure this out? The formula is almost perfect but I noticed excel is also summing totals not in the correct range.

Here’s the formula: =IFERROR(SUMIFS('Forecast Pivot'!$D$3:$D$26, 'Forecast Pivot'!$A$3:$A$26, "EE", 'Forecast Pivot'!$B$3:$B$26, "<="&G116, 'Forecast Pivot'!$C$3:$C$26, ">="&G116), "")

In my capacity sheet, I’ve inserted this formula in order to pull the forecast totals for CW13/2023 to CW52/2024.

The formula as it is thinks 13/23 is the same as 13/24 so the totals planned on 13/23 also appears on 13/24 when it should not.

G116:CT116 is my calendar week range 13/23 to 52/24
A3:A26 is my skill (EE)
B3:B is my start date
C3:C is my end date
D3:D is my totals

Basically I want the totals in my pivot table to automatically populate in the applicable Calendar Week on my Capacity sheet. The pivot table could have overlapping dates, start date could be 13/23 and end date is 15/23

There could be another requirement on 14/23 and 16/23 and the formula should show a combined total on 14/23 and 15/23 the problem is the combined total also appear in the CW of 2024 when it shouldn’t

Ответить
Paul Häberlein
Paul Häberlein - 13.05.2023 11:20

I love you

Ответить
Shital Ghayadar
Shital Ghayadar - 07.05.2023 03:02

thanks

Ответить
Antonio Carrera-Garcia
Antonio Carrera-Garcia - 18.04.2023 05:34

Hey Leila! I'm currently running my own business and I'm trying to find out some info with excel. I have a log made up on excel, which automatically logs my invoices that I also have on Excel. So the log keeps info on invoice numbers, pricing per the invoice, dates, as well as Sq. Ft. of each home. I do Deep Cleaning on homes, and I'm trying to find the average cost that I charge, based on Sq. Ft. of each home in a sq. ft. range. So how much on average do I charge for a home that ranges from 0 sq. ft, to 500 sq. ft. and then the same for 501 sq. ft. to 1000 sq. ft. If I could include a screen shot of my excel work sheet, I would. But are you able to help me out. It's kind of similar to this video, but different factors/variables. (Instead of date ranges, I'm using sq. ft. ranges, average price for those sq. ft. ranges, shown on a spread sheet, for each invoice I've billed for. Thanks!

Ответить
Swapnil Acharya
Swapnil Acharya - 05.04.2023 08:44

THANK YOU IT'S TOO USEFUL ME

Ответить
Naveed Inam
Naveed Inam - 27.02.2023 15:27

Can u teach same function in power bi tables not via measure or share link if you have

Ответить
Tooshlong
Tooshlong - 25.02.2023 17:35

I did this and it works for first few cells and then it just tells me "excel ran out of resources while attempting to calculate...." Seems to be a circula issue with the formula when using for many cells? Please someone help. I hate excel man. Thanks.

Ответить
Maikolza Kalak
Maikolza Kalak - 16.02.2023 00:59

AMAZINGGGGGG

Ответить
Nai Robi
Nai Robi - 20.01.2023 15:30

1) This was exactly what I was looking for 2) This is by far the best and clearest video on this subject 3) You are simply the best...

Ответить
Ivan Czar
Ivan Czar - 19.01.2023 20:00

Thank you!

I was looking for exactly this!

Ответить
Douglas Gaylor
Douglas Gaylor - 14.01.2023 17:19

How would you calculate, the average role length, if you had multiple roles and within each role you had multiple contracts with different start and end dates?

Ответить
Craig frisbeedogs
Craig frisbeedogs - 12.01.2023 22:46

Wow, you go super fast but I was able to learn the EOM function and added this to my sumifs to sum our families expenses by month. Thank you for posting this and taking my excel knowledge to the next level! I had to screen shot your formula and then blow it up so I could read it, but when I applied it to my data it worked the first time. That rarely happens:) Basic example I used to understand it: =SUMIFS(C:C,A:A,">="&E3,A:A,"<="&EOMONTH(E3,0)) C:C being values, A:A being value dates, E3 being first of each month, 0 being the current month

Ответить
knomad666
knomad666 - 10.01.2023 00:46

Thank you!

Ответить
Giuseppe Roberti
Giuseppe Roberti - 16.12.2022 10:57

Hi Leila, lets say you had negative numbers in the revenue column (-400. -350, etc..). Is it possible to sum only the negative or the positive numbers seperatley using the first formula? (sum between dates). Thanks

Ответить
SolQuest Therapy, PLLC
SolQuest Therapy, PLLC - 13.12.2022 01:28

Thank you so much for this! I had been looking for something like this and couldn't seem to find it. You explained it clearly and I was able to make my 2023 Balance Sheet with categories and look at overall totals as well as monthly totals. I appreciate your wisdom, thank you for sharing it.

Ответить
Marcus MS
Marcus MS - 23.11.2022 23:56

Thank you, this saved me so much time.

Ответить
Sheeshman
Sheeshman - 23.11.2022 12:10

I am currently working on a project that I had to averageifs the selling price between 2 dates. this video saved my ass thank you so much

Ответить
Azhar Iqbal
Azhar Iqbal - 23.11.2022 02:13

Hello Leila, I am trying to use the SUMIFS formula and for some unknown reason, it is not working. I am copying the formula from your video exactly as you are writing it but it keeps showing the result as zero. It is driving me crazy.

Ответить
Palmer Joss
Palmer Joss - 20.11.2022 08:23

If you do not like the IFS structure, you can also do it this way…. =sum($c$4:$c$33*($a$4:$a$33>$h$6)*($a$4:$a$$33<=$$i$6))
using a compound Boolean test (expressed by multiplication of the criteria times the values, and summing the results).

I.e. =sum( (things to be summed) * (test condition 1) * (test condition 2) ).

Only when each test condition is true does this provide the value in column C to be summed.

Better yet. - wrap the entire test in an iferror( …. ,0) test and use a table, such as:

=sum( IFERROR( Table1[Revenue] * (Table1[Date]>$H$6) * (Table1[Date]<=$I$6) ,0) )
It is helpful to include space delimiters between function sections for clarity.

Ответить
ทวี เกวียนสูงเนิน
ทวี เกวียนสูงเนิน - 06.11.2022 08:00

The excel from you is never die 👍 Now is useful to my works Thanks 🙏 ❤.

Ответить
Kimberly Batang Dejarlo
Kimberly Batang Dejarlo - 03.11.2022 19:02

you save my life! thank you for your videos, as a newly promoted team leader your video really helps me..

Ответить
Colin Semple
Colin Semple - 31.10.2022 15:12

Time Saving!!! So easy to follow, and will be helpful for years. Thanks for the great video.

Ответить
TVS Chitra Subramanian
TVS Chitra Subramanian - 26.10.2022 06:46

Thanks a lot Leila Gheraniji 🙏😀👍

Ответить
riyazahmedk123
riyazahmedk123 - 05.10.2022 12:15

You are always great

Ответить
RO IHU
RO IHU - 02.10.2022 10:58

It's amazing how they manage to make simple task this hard. Absolutely no way you can figure this out by your own. Excel programmers should be fired and forced to sit down doing nothing rest of their life so they cannot ruin anything else ever again.

Ответить
R
R - 21.09.2022 01:49

I CANT EVEN THANK YOU ENOUGH!! I had been struggling since March 2017 (and searching countless Excel videos) and asking several Excel experts, and nobody could start to help.. and finally I found this video! It not only fixed my issue and saved me hours of time each year, BUT when I go to save 2022's workbook as 2023, all I'll need to do is change 2 digits and the ENTIRE 2023 workbook will update!! Thank you from the bottom of my heart! ❤️ MUAH!!

Ответить
A person you don’t know
A person you don’t know - 09.09.2022 08:34

Thank you helped me with my cis 200 Professor homework a real goat

Ответить
TraderCOP
TraderCOP - 04.09.2022 16:42

4 years later, this video is still valuable.

Ответить
Sankar Ponnada
Sankar Ponnada - 26.08.2022 23:43

Tqqq very much

Ответить
Mohebulah Barakzai
Mohebulah Barakzai - 24.08.2022 13:24

i would like to ask you for help, that i want to change the date format in excel for our local language
there is special name of the month we want to replace with for instance instead of 01/jun/2022 i want to despply 10/ASAD/2022 can you get through it?
thanks

Ответить
Sunil
Sunil - 17.08.2022 09:46

Thanks a lot. Solved my problem. ❤

Ответить
Frank Low
Frank Low - 13.08.2022 04:48

Hi Leila
Why unable to get sum/to avenge when I try to put in additional criteria?

Ответить