# Create this conditional calculation field

**URL:** <https://community.gravityforms.com/t/create-this-conditional-calculation-field/19204>\
**Category:** Get Help\
**Tags:** gravity-wiz\
**Created:** [April 7, 2025, 8:07am UTC](https://community.gravityforms.com/t/create-this-conditional-calculation-field/19204 "2025-04-07T08:07:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghavami.ali](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/ghavami.ali/32/16433_2.png) [@ghavami.ali](https://community.gravityforms.com/u/ghavami.ali)\
**Post date:** [April 7, 2025, 8:07am UTC](https://community.gravityforms.com/t/create-this-conditional-calculation-field/19204/1 "2025-04-07T08:07:43Z")

</div>

Hi everyone  
I want to create this conditional calculation field in Gravity Forms, but I am getting an invalid formula error. Please help.

IF({8} == 1, {10} \* {17},  
IF({8} == 2, {11} \* {17},  
IF({8} == 3, {12} \* {17},  
IF({8} == 4, {13} \* {17},  
IF({8} == 5, {14} \* {17},  
0  
)  
)  
)  
)  
)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [May 7, 2025, 8:08am UTC](https://community.gravityforms.com/t/create-this-conditional-calculation-field/19204/2 "2025-05-07T08:08:39Z")

</div>

Closed on May 7, 2025, 8:08am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
