In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Creating a formula in a specific cell

brycemaurice
5 - Atom

I have built my workflow to function as I need except for one part.

 

I need to create a formula inside cell C32 of the attached file, that reads = -sum(c2:c31,c33:c37). 

 

How can I do this?

 

 

 

2 REPLIES 2
FinnCharlton
13 - Pulsar

Hi @brycemaurice ,

 

You can do this by using the 'Overwrite Sheet Or Range' functionality of the output data tool.

 

Create a single row and column in Alteryx containing your formula, in your case  =-sum(c2:c31,c33:c37)

 

In the output data tool, choose the Excel file you want change, select the sheet and the range C32:C32:

 

FinnCharlton_0-1679416589766.png

 

In the output data configuration, make sure 'Overwrite sheet or range' is selected and 'Skip Field Names' is ticked:

 

FinnCharlton_1-1679416682436.png

 

Hope this helps!

 

binu_acs
21 - Polaris

@brycemaurice Another option to write in the same input file, in this case you need to create a new string field and update the formula in the 32 row for this field then output to excel

 

binuacs_0-1679417685097.png

 

Labels
Top Solution Authors