Date Reference Problem in SUMIFS

jdunlap

Board Regular
Joined
May 27, 2009
Messages
86
I'm using SUMIFS to return labor hours if criteria is met for name, labor category, etc. Works just fine until I add the section for "less than" a cell that contains a date. Current formula below. Might be a quote error; might be a date format issue; ???? Any help would be appreciated!

=sumifs('Sheet2'!$P$1:$P$1000,'Sheet2'!$B$1:$B$1000,'Sheet1'!A15,'Sheet2'!$G$1:$G$1000,'Sheet1'!C15,'Sheet2'!$M$1:$M$1000,"<'Sheet1'!$A$10")

Where Sheet 1 Cell A10 is a date.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
I'm using SUMIFS to return labor hours if criteria is met for name, labor category, etc. Works just fine until I add the section for "less than" a cell that contains a date. Current formula below. Might be a quote error; might be a date format issue; ???? Any help would be appreciated!

=sumifs('Sheet2'!$P$1:$P$1000,'Sheet2'!$B$1:$B$1000,'Sheet1'!A15,'Sheet2'!$G$1:$G$1000,'Sheet1'!C15,'Sheet2'!$M$1:$M$1000,"<'Sheet1'!$A$10")

Where Sheet 1 Cell A10 is a date.
Try it like this...

=SUMIFS(Sheet2!$P$1:$P$1000,Sheet2!$B$1:$B$1000,Sheet1!A15,Sheet2!$G$1:$G$1000,Sheet1!C15,Sheet2!$M$1:$M$1000,"<"&Sheet1!$A$10)
 
Upvote 0
Perfect! I knew it was probably a quote or format issue, I just didn't know what the proper syntax was! Thanks much!!
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,543
Members
452,924
Latest member
JackiG

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