G
Guest
Hi all, TIA.. had a user send me a sheet today, they wish to add 5 more
values to look up. The problem is that the answer that this formula comes
from are set up horizontally, the target cells are vertical so no autofill.
The formula is such:
=IF(HLOOKUP('Price Performance Index'!B6,'Price Performance
Index'!C618,3,FALSE)="N/A","FUTURE",IF(HLOOKUP('Price Performance
Index'!B6,'Price Performance Index'!C618,7,FALSE)=0,HLOOKUP('Price
Performance Index'!B6,'Price Performance
Index'!C618,5,FALSE),IF(HLOOKUP('Price Performance Index'!B6,'Price
Performance Index'!C618,5,FALSE)="N/A","N/A",IF(HLOOKUP('Price Performance
Index'!B6,'Price Performance Index'!C618,5,FALSE)>=(HLOOKUP('Price
Performance Index'!B6,'Price Performance
Index'!C618,7,FALSE)),"GREEN",IF(HLOOKUP('Price Performance
Index'!B6,'Price Performance Index'!C618,5,FALSE)<(HLOOKUP('Price
Performance Index'!B6,'Price Performance
Index'!C618,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.
values to look up. The problem is that the answer that this formula comes
from are set up horizontally, the target cells are vertical so no autofill.
The formula is such:
=IF(HLOOKUP('Price Performance Index'!B6,'Price Performance
Index'!C618,3,FALSE)="N/A","FUTURE",IF(HLOOKUP('Price Performance
Index'!B6,'Price Performance Index'!C618,7,FALSE)=0,HLOOKUP('Price
Performance Index'!B6,'Price Performance
Index'!C618,5,FALSE),IF(HLOOKUP('Price Performance Index'!B6,'Price
Performance Index'!C618,5,FALSE)="N/A","N/A",IF(HLOOKUP('Price Performance
Index'!B6,'Price Performance Index'!C618,5,FALSE)>=(HLOOKUP('Price
Performance Index'!B6,'Price Performance
Index'!C618,7,FALSE)),"GREEN",IF(HLOOKUP('Price Performance
Index'!B6,'Price Performance Index'!C618,5,FALSE)<(HLOOKUP('Price
Performance Index'!B6,'Price Performance
Index'!C618,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.