Regarding your first question, yEd does not support evaluating formulas.
Regarding your second question, please see copy/duplicate labeltext and label format.