
Michael P. answered 08/04/19
Knowledgeable, Professional, Enthusiastic, Accessible, and Effective
I can copy a data cell and a =formula that uses it both from worksheet A in workbook Q to another workbook without the new =formula referencing worksheet A in workbook Q .
When I use a =formula on worksheet A to refer to data on another worksheet B both in workbook Q, copying worksheet A into another workbook carries with it the reference to data in worksheet B because worksheet B is not being copied. You should either move your data into the worksheet that you are duplicating or duplicate the whole workbook.
You have something else going on:
'=B!23' is not a simple assignment; '=B23' is. '=B!23' references the worksheet 'B' as the exclamation is the workbook and worksheet separator. You should not be able to enter this construction. Neither I nor Excel knows what '23' as a formula by itself is. The reference should be in the form in the form '=[workbookName]worksheetName!cell' (not '=[workbookName]!worksheetName!Number).