Hello community,
I am trying to insert specific formulas into an Excel file (from cells N2 to Z2) using UiPath.
I stored the formulas in the Config file and used them in my sequence (please see the attached screenshots).
However, instead of inserting the actual formulas, the robot writes “TableName” into the cells.
Has anyone experienced this issue before?
Do you know what might be causing this behavior?
Thank you in advance.
Hi @Ben.Zineb
Pls check -
Your formula contains curly braces {} or quotes in a way that makes UiPath treat it as a literal string.
You passed the formula inside double quotes in the Config, so Excel receives it as plain text.
Or Just debug- check all formula directly using write cell , if work then use through config .
Happy Automation
@Ben.Zineb
Could you please share the formula you are using?
1 Like
MrBidstrup
(Lasse Hoffmann Bidstrup)
March 2, 2026, 11:58am
5
Hi
@Ben.Zineb Could you try to remove the double quotes in the config file and then just in the start set a single Quote?
That works for me
@Ben.Zineb
Replace the one double quote with two like “”. Inshort escape it.
Hi,
Thank you for your response, but it not worked
Hello,
Thank you for your response, but it not worked
MrBidstrup
(Lasse Hoffmann Bidstrup)
March 2, 2026, 5:17pm
9
Hmm how to you write it to the Excel?
I use a for each with a Write Cell. Do you get an error or do you get the same as before?
Hi,
Thank you for your response.
I want to write this formulas.
MrBidstrup
(Lasse Hoffmann Bidstrup)
March 3, 2026, 9:53am
11
Add Formula to Excel.zip (464.5 KB)
Hi @Ben.Zineb
Please try to see the code I attached. (Hope I’m allowed to share code here in chat)
UBur
(Uwe Burow)
March 3, 2026, 2:32pm
12
The word TableName is the result of dtFormulas.ToString. You use it in the FillRange activity.
This solution worked. Thank you very much!
1 Like