$Excel->Range($mycell)->{Value} = "=your formula here" #### $Excel->Range($mycell)->{Formula} = "=your formula here"