Code Duplication    Length = 6-6 lines in 2 locations

app/Vendor/PHPExcel/PHPExcel/Calculation/LookupRef.php 2 locations

@@ 315-320 (lines=6) @@
312
				return PHPExcel_Calculation_Functions::REF();
313
			}
314
315
			if (strpos($cellAddress,'!') !== false) {
316
				list($sheetName,$cellAddress) = explode('!',$cellAddress);
317
				$pSheet = $pCell->getParent()->getParent()->getSheetByName($sheetName);
318
			} else {
319
				$pSheet = $pCell->getParent();
320
			}
321
322
			return PHPExcel_Calculation::getInstance()->extractNamedRange($cellAddress, $pSheet, False);
323
		}
@@ 325-330 (lines=6) @@
322
			return PHPExcel_Calculation::getInstance()->extractNamedRange($cellAddress, $pSheet, False);
323
		}
324
325
		if (strpos($cellAddress,'!') !== false) {
326
			list($sheetName,$cellAddress) = explode('!',$cellAddress);
327
			$pSheet = $pCell->getParent()->getParent()->getSheetByName($sheetName);
328
		} else {
329
			$pSheet = $pCell->getParent();
330
		}
331
332
		return PHPExcel_Calculation::getInstance()->extractCellRange($cellAddress, $pSheet, False);
333
	}	//	function INDIRECT()