Write formula using write cell activity

Hi
I am new in UiPath and I have usecase where I need to write formula in excel cell
Please help me how to do that.

β€œ=IF(A1=β€β€œYesβ€β€œ,β€β€œDoneβ€β€œ,β€β€œPendingβ€β€œ)”

If using variables:

β€œ=SUM(A1:” + variableCell + β€œ)”

For example:

β€œ=SUM(A1:” + myVariable.ToString + β€œ)”

Hope it’s help happy Automation :blush:

Hi @Mahera_Khan

Welcome to UiPath

Like this you can customize your formulas..

If helpful, mark as solution. Happy automation with UiPath! :white_check_mark:

@Mahera_Khan

Welcome to the community

Just how you write in excel you would do it the same way..but you need to enclose everything from start to end in doublt quotes (")

Apart from that if in formula , if there are any double quotes then you need to escape with extra fouble quote ("")

Cheers