Sumifs formula problem

NadoDude

Board Regular
Joined
Jun 24, 2010
Messages
84
=SUMIFS('ITEMPO Events'!$R$2:R$7998,'ITEMPO
Events'!$L$2:$L$7998,$A20,'ITEMPO Events'!$N$2:$N$7998,">="&$B20)

I am using the above formula to calculate days. If column N of my ITEMPO worksheet is blank, I want to use the value in column M (i.e. 'ITEMPO Events'!$M$2:$M$7998,">="&$B20).

I tried using an IF statement, but I must be doing it wrong because it is not working.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Domenic

MrExcel MVP
Joined
Mar 10, 2004
Messages
20,227
Office Version
  1. 365
Platform
  1. Windows
Try the following formula, which needs to be confirmed with CONTROL+SHIFT+ENTER, not just ENTER...

=SUM(IF('ITEMPO Events'!$L$2:$L$7998=$A20,IF(IF('ITEMPO Events'!$N$2:$N$7998<>"",'ITEMPO Events'!$N$2:$N$7998,'ITEMPO Events'!$M$2:$M$7998)>=$B20,'ITEMPO Events'!$R$2:R$7998)))
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,148
Messages
5,835,678
Members
430,374
Latest member
PeteBrown

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