=IF(HLOOKUP('Price Performance Index'!B6,'Price Performance
Index'!C6:P18,3,FALSE)="N/A","FUTURE",IF(HLOOKUP('Price Performance
Index'!B6,'Price Performance Index'!C6:P18,7,FALSE)=0,HLOOKUP('Price
Performance Index'!B6,'Price Performance
Index'!C6:P18,5,FALSE),IF(HLOOKUP('Price Performance Index'!B6,'Price
Performance Index'!C6:P18,5,FALSE)="N/A","N/A",IF(HLOOKUP('Price Performance
Index'!B6,'Price Performance Index'!C6:P18,5,FALSE)>=(HLOOKUP('Price
Performance Index'!B6,'Price Performance
Index'!C6:P18,7,FALSE)),"GREEN",IF(HLOOKUP('Price Performance
Index'!B6,'Price Performance Index'!C6:P18,5,FALSE)<(HLOOKUP('Price
Performance Index'!B6,'Price Performance
Index'!C6:P18,8,FALSE)),"RED","YELLOW")))))
There's got to be a way to shorten this up and repeat it across without
duplicating this nightmare?
Again, TIA.
Kevin M.
Maybe no AUTOfill, but still possible to drag to fill. That is, maybe
they can't double click on the fill handle, but they could still drag
it right.
>The formula is such:
>
>=IF(HLOOKUP('Price Performance Index'!B6,'Price Performance
>Index'!C6:P18,3,FALSE)="N/A","FUTURE",IF(HLOOKUP('Price Performance
>Index'!B6,'Price Performance Index'!C6:P18,7,FALSE)=0,HLOOKUP('Price
>Performance Index'!B6,'Price Performance
>Index'!C6:P18,5,FALSE),IF(HLOOKUP('Price Performance Index'!B6,'Price
>Performance Index'!C6:P18,5,FALSE)="N/A","N/A",IF(HLOOKUP('Price Performance
>Index'!B6,'Price Performance Index'!C6:P18,5,FALSE)>=(HLOOKUP('Price
>Performance Index'!B6,'Price Performance
>Index'!C6:P18,7,FALSE)),"GREEN",IF(HLOOKUP('Price Performance
>Index'!B6,'Price Performance Index'!C6:P18,5,FALSE)<(HLOOKUP('Price
>Performance Index'!B6,'Price Performance
>Index'!C6:P18,8,FALSE)),"RED","YELLOW")))))
>
>There's got to be a way to shorten this up and repeat it across without
>duplicating this nightmare?
About the only thing you could do to shorten this would be replacing
the references to 'Price Performance Index'!B6 and 'Price Performance
Index'!C6:P18 with defined names, being careful to make range addresses
in those defined names RELATIVE if that's what's needed, and replace
the FALSE 4th arguments to HLOOKUP with equivalent 0.
Kevin M.