I have a feeling it may be something to do with the names of the things i'm trying to add to the formula;
the yes/no parameter is called Lintel
the length is "Lintel - Extension"
so this is the formula= if(Lintel, "Lintel - Extension", 0 mm)
inconsistent units, have tried it with all the different ones i need (lintel height, depth, extension etc)