SUMIF Returning #VALUE!

bigbraincantoo03

New Member
Joined
Nov 2, 2020
Messages
10
Office Version
  1. 2016
Platform
  1. Windows
  2. MacOS
I have a SUMIF formula in cell B21 that is supposed to add up some reference cells in a different tab, but gives me a #VALUE! instead. The cells it is supposed to add in the different tab based are supposed to be within the date range specified in cells B4 and B5. I'm not sure if this has anything to do with the fact that B4 is an array formula or not, but I thought this might have something to do with it. Any help is appreciated.

Grafica de Avance - V4.0.xlsx
AB
3Report MonthAug
4Start Date:24-Aug-20 15:30
5End Date:01-Sep-20 00:00
6Rig NamePlataforma
7Well name / SitesEjemplo
20Total Operating Hours (Hours)176
21Drilling Phase or on-bottom drilling (Hours)#VALUE!
22NPT (Hours )
23High Impact Incidents/ HIF (count)
24P50 or Budget OTD: Days Ahead (-) / Behind (+) of Plan (Days)
25P80 or Target OTD: Days Ahead (-) / Behind (+) of Plan (Days)
26OTD benchmark, P50/Budget (Days)
27OTD benchmark, P80/Target (Days) - if applicable
28Actual days in progress (Days)11.7
29Wells drilled, reached TD (Count)
30{Jobs/stages completed} (Count) - if applicable
31{Project rig count or frac fleet} (Count)
32Distance drilled (ft)#VALUE!
PM Info
Cell Formulas
RangeFormula
B4B4=MIN(IF(SIOP!$F$6:$F$1720>(1&B3)+0,SIOP!$F$6:$F$1720))
B5B5=MIN(MAX(SIOP!$G$6:$G$1720),EDATE(--(1&B3),1))
B6B6='Well Program'!$K$2
B7B7='Well Program'!$G$2
B20B20=IF(B3=0,"",(B5-B4)*24)
B21B21=SUMIFS(SIOP!$H$5:$H$1720,SIOP!$F$6:$F$1720,">="&$B4,SIOP!$G$6:$G$1720,"<="&$B5,SIOP!$O$5:$O$1720,$FX$4)/24
B28B28=MAX(SIOP!$AA$4:$AA$1750)
B32B32=IF(B5>0,(SUMIFS(SIOP!$AH$4:$AH$1720,SIOP!$X$4:$X$1720,"BKR",SIOP!$F$6:$F$1720,">"&B4,SIOP!$G$6:$G$1720,"<"&B5))/24,"")
Press CTRL+SHIFT+ENTER to enter array formulas.
Cells with Data Validation
CellAllowCriteria
B3:T3List=Month
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Your ranges in that formula are not all the same size

=SUMIFS(SIOP!$H$5:$H$1720,SIOP!$F$6:$F$1720,">="&$B4,SIOP!$G$6:$G$1720,"<="&$B5,SIOP!$O$5:$O$1720,$FX$4)/24
 
Upvote 0
Solution
Your ranges in that formula are not all the same size

=SUMIFS(SIOP!$H$5:$H$1720,SIOP!$F$6:$F$1720,">="&$B4,SIOP!$G$6:$G$1720,"<="&$B5,SIOP!$O$5:$O$1720,$FX$4)/24
Well I feel dumb now. Thanks for the help Peter_SSs
 
Upvote 0
Never mind, that happens sometimes. ?
You're welcome.
 
Upvote 0

Forum statistics

Threads
1,215,427
Messages
6,124,830
Members
449,190
Latest member
rscraig11

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