mtyrrell13
Board Regular
- Joined
- Jan 7, 2005
- Messages
- 138
can someone help me understand where my syntax error is in the below formula. I am trying to add the third if statement which is a date range criteria. when I enter it it says too many arguments entered for this function. I suspect I have an extra comma somewhere but I can not seem to see any error with it
Formula =IFERROR(INDEX('2H Pipeline'!C2:C165,MATCH(LARGE(IF('2H Pipeline'!E2:E165=U2,IF('2H Pipeline'!B2:B165=B7,IF('2H Pipeline'!D2:D165,">="&"7/1/2019",'2H Pipeline'!D2:D165,"<="&"9/30/2019")),B6),'2H Pipeline'!P2:P165,0)),"")
Formula =IFERROR(INDEX('2H Pipeline'!C2:C165,MATCH(LARGE(IF('2H Pipeline'!E2:E165=U2,IF('2H Pipeline'!B2:B165=B7,IF('2H Pipeline'!D2:D165,">="&"7/1/2019",'2H Pipeline'!D2:D165,"<="&"9/30/2019")),B6),'2H Pipeline'!P2:P165,0)),"")