Creating a formula in a specific cell
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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?
- Labels:
- Tips and Tricks
- Transformation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
In the output data configuration, make sure 'Overwrite sheet or range' is selected and 'Skip Field Names' is ticked:
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@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
