Sumifs formula not working

Groovy Chick

Board Regular
Joined
Oct 10, 2017
Messages
75
Office Version
  1. 2016
Platform
  1. Windows
Hi, I have a spreadsheet with one tab called 2022 lost days, image below. Month starts in column D. On another tab called DaysLost I want to calculate the number of lost days per month against month, blue/white, on/off site. My formula is =SUMIFS('2022 Lost Days'!I$3:I$52,'2022 Lost Days'!D$3:D$52,”January”,'2022 Lost Days'!O$3:O$52,”Blue”,'2022 Lost Days'!Q$3:Q$52,”On Site”)
So I am using this for the below data but I am getting a zero value back but it should be 8. The month column equals the event date column so has a formula in it, the days column is return to work minus start date and blue and off site columns are data validation.
I don't understand why it isn't working. Can anyone help? Thank you.

MonthEvent DateStart DateReturn to work dateDaysOn/Off Site
January
01/01/2022​
07/01/202209/01/20222BlueOff Site
February
01/02/2022​
02/02/202208/02/20226BlueOff Site
January
15/01/2022​
22/02/202228/02/20226BlueOff Site
February
01/02/2022​
03/03/202205/03/20222BlueOff Site
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
You have the wrong type of quotes in the formula they should be " rather than ”
 
Upvote 0
Thank you but what exactly do you mean as " rather than ". What should I be doing instead?
 
Upvote 0
If you look at the quotes in the formula you posted they are slanted rather than vertical, you need to change them to vertical quotes.
 
Upvote 0
Oh, I see now!!! Sorry been looking at it for too long!!! Will try that, thank you.
 
Upvote 0
Hi Fluff, I have tried again and used the quote above the number 2 on my keyboard. However, it seems to change them back to slanted again and still getting a zero result. Do you have any clues??? =SUMIFS('2022 Lost Time Register'!I$3:I$52,'2022 Lost Time Register'!D$3:D$52,”January”,'2022 Lost Time Register'!O$3:O$52,”Blue”,'2022 Lost Time Register'!Q$3:Q$52,”On Site”)
 
Upvote 0
Not sure why Excel is changing the quotes, unless it's something to do with the platform your on.

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

It should be
Excel Formula:
=SUMIFS('2022 Lost Time Register'!I$3:I$52,'2022 Lost Time Register'!D$3:D$52,"January",'2022 Lost Time Register'!O$3:O$52,"Blue",'2022 Lost Time Register'!Q$3:Q$52,"On Site")
 
Upvote 0
Tried vertical quotes and still not working so I am at a loss. I've updated my account details. I'm on windows and office 2016.
 
Upvote 0
Did you copy/paste the formula from post#8 & try that?
 
Upvote 0

Forum statistics

Threads
1,214,654
Messages
6,120,758
Members
448,991
Latest member
Hanakoro

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