Problem with formula sum ifs

steel1968

New Member
Joined
Nov 27, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
Hi can anyone help me correct this formula
Within sheet Completed Column D are dates
Within sheet Completed Column E are Names
Within sheet Wage Column B2 and C2 are dates
If i type the dates into the formula the formula works but i need it to pick up the cell reference
=SUMIFS(Completed!B:B,Completed!D:D,">="&DATEVALUE("20/04/20"),Completed!D:D,"<="&DATEVALUE("26/04/20"),Completed!E:E,"Martin")
Above Works
=SUMIFS(Completed!B:B,Completed!D:D,">="&DATEVALUE(B3),Completed!D:D,"<="&DATEVALUE(C3),Completed!E:E,"Martin")
I need this one to works
What am i missing any help gratefully received
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try simply removing the DATEVALUE function
Excel Formula:
=SUMIFS(Completed!B:B,Completed!D:D,">="&B3,Completed!D:D,"<="&C3,Completed!E:E,"Martin")

BTW using entire ranges is bad practice. Use Excel Tables to accommodate varying length ranges
 
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,888
Members
449,097
Latest member
dbomb1414

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