Problem with creating formulas in v 21.4

I'm trying to create a formula in a column I've called Qty I need it to pull through wall areas or length or count etc. but when I go into Expressions I get the message

"An item with the same key has already been added" or "Expression Undefined"

Can anyone assist?

Stu