# UI Path Excel Formula Error

**URL:** <https://forum.uipath.com/t/ui-path-excel-formula-error/72017>\
**Category:** Help\
**Tags:** excel, activities\
**Created:** [October 23, 2018, 11:48am UTC](https://forum.uipath.com/t/ui-path-excel-formula-error/72017 "2018-10-23T11:48:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![debojyoti](https://avatars.discourse-cdn.com/v4/letter/d/4bbf92/32.png) [@debojyoti](https://forum.uipath.com/u/debojyoti)\
**Post date:** [October 23, 2018, 11:48am UTC](https://forum.uipath.com/t/ui-path-excel-formula-error/72017/1 "2018-10-23T11:48:54Z")

</div>

I am trying to put one formula in excel shell, the formula is " =IF(G2\>10,“10+ Days”,IF(G2\>3,“4-10 Days”,IF(G2\>1,“2-3 Days”,“0-1 Day”)))" but its not working in UI path studio… but manually working in excel sheet.. Kindly provide a solution

---

<div class="post-metadata">

**Author:** ![ak3430](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@ak3430](https://forum.uipath.com/u/ak3430)\
**Post date:** [October 23, 2018, 12:05pm UTC](https://forum.uipath.com/t/ui-path-excel-formula-error/72017/2 "2018-10-23T12:05:55Z")

</div>

@debojyoti,

please confirm me, are you trying to insert formula as a value to cell or reading formula from cell?

---

<div class="post-metadata">

**Author:** ![kaderms](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kaderms/32/25387_2.png) [@kaderms](https://forum.uipath.com/u/kaderms)\
**Post date:** [October 23, 2018, 1:28pm UTC](https://forum.uipath.com/t/ui-path-excel-formula-error/72017/3 "2018-10-23T13:28:19Z")

</div>

> [@debojyoti](#):
>
> not working in UI path studio

what happens when you do it with UiPath?  
Are you using write range to write the formula into excel?

---

<div class="post-metadata">

**Author:** ![Subhomoy\_Mukherjee\_S](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/subhomoy_mukherjee_s/32/224621_2.png) [@Subhomoy\_Mukherjee\_S](https://forum.uipath.com/u/Subhomoy_Mukherjee_S)\
**Post date:** [May 21, 2021, 4:29pm UTC](https://forum.uipath.com/t/ui-path-excel-formula-error/72017/4 "2021-05-21T16:29:30Z")

</div>

Getting one error while doing this formula in excel using write cell activity.  
Original Formula: =INDEX(File1\_TableCalc!C:C,MATCH(A2&H2,File1\_TableCalc!A:A&File1\_TableCalc!C:C,0))  
Formula getting pasted:  
=INDEX(File1\_TableCalc!C:C,MATCH(A2&H2,@File1\_TableCalc!A:A&@File1\_TableCalc!C:C,0))

Can any one help why this @ is getting added?
