Mybe I've not understood your reply properly Martin, but it looks like you are suggesting the following:
=IF(F6="","",if(D6="A","A program",(if(and(D6="B",F6<16,"B Thin",if(and(D6="B",F6>16,"B Thick",LOOKUP(ROUNDUP(F6/((LOOKUP(D6,'Calc Sheet'!F:F,'Calc Sheet'!H:H))),0),'Calc Sheet'!$K$1:$K$44,'Calc Sheet'!$J$1:$J$44))))))))
I also tried:
=IF(F6="","",if(D6="A","A program",if(and(D6="B",F6<16,"B Thin",if(and(D6="B",F6>16,"B Thick",LOOKUP(ROUNDUP(F6/((LOOKUP(D6,'Calc Sheet'!F:F,'Calc Sheet'!H:H))),0),'Calc Sheet'!$K$1:$K$44,'Calc Sheet'!$J$1:$J$44))))))))
These still generate the same error, with the following highlighted as the point of error:
,LOOKUP(ROUNDUP(F6/((LOOKUP(D6,'Calc Sheet'!F:F,'Calc Sheet'!H:H))),0),'Calc Sheet'
Any other ideas?
Gavin.
Bookmarks