Please help me with this if formula
Hi
I am trying to use if formula for a cell depend on other cell that is a dropdown
so basically if option A "PPN" choosed, so the cell formula will be =0.1*third cell
option B "Pph 4.2 subsidi" choosed, the cell formula will be =0.01*third cell
and so on
=IF([Jenis Biaya]@row="PPN";=0.1*[Dasar Pengenaan Pajak]@row;IF([Jenis Biaya]@row="Pph 4.2 subsidi";=0.01*[Dasar Pengenaan Pajak]@row;IF([Jenis Biaya]@row="Pph 4.2";=0.025*[Dasar Pengenaan Pajak]@row;IF([Jenis Biaya]@row="BPHTB";=0.05*([Dasar Pengenaan Pajak]@row-60000000)))))
i keep getting unparseable with this formula
plz help
Best Answers
-
Try something like this.
=IF([Jenis Biaya]@row = "PPN"; 0,1 * [Dasar Pengenaan Pajak]@row; IF([Jenis Biaya]@row = "Pph 4,2 subsidi"; 0,01 * [Dasar Pengenaan Pajak]@row; IF([Jenis Biaya]@row = "Pph 4,2"; 0,025 * [Dasar Pengenaan Pajak]@row; IF([Jenis Biaya]@row = "BPHTB"; 0,05 * ([Dasar Pengenaan Pajak]@row - 60000000)))))
Did that work/help?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Excellent!
You're more than welcome!
Answers.
- No, the spacing doesn't matter.
- Yes
Depending on your country/region, you'll need to exchange the comma to a period and the semi-colon to a comma.
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
Try the below:
=IF([Jenis Biaya]@row="PPN",0.1*[Dasar Pengenaan Pajak]@row,IF([Jenis Biaya]@row="Pph 4.2 subsidi",0.01*[Dasar Pengenaan Pajak]@row,IF([Jenis Biaya]@row="Pph 4.2",0.025*[Dasar Pengenaan Pajak]@row,IF([Jenis Biaya]@row="BPHTB",0.05*([Dasar Pengenaan Pajak]@row-60000000,""))))
Regards
J Tech
If my response has helped you in any way or provided a solution to your problem, please consider supporting the community by marking it as Insightful, Vote Up, or Awesome. Additionally, you can mark it as the accepted answer, which will make it easier for others to find a solution or get help with a similar issue in the future. Your support is greatly appreciated!
-
still doesn't work 😅
-
Try something like this.
=IF([Jenis Biaya]@row = "PPN"; 0,1 * [Dasar Pengenaan Pajak]@row; IF([Jenis Biaya]@row = "Pph 4,2 subsidi"; 0,01 * [Dasar Pengenaan Pajak]@row; IF([Jenis Biaya]@row = "Pph 4,2"; 0,025 * [Dasar Pengenaan Pajak]@row; IF([Jenis Biaya]@row = "BPHTB"; 0,05 * ([Dasar Pengenaan Pajak]@row - 60000000)))))
Did that work/help?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
thx @Andrée Starå . it helps a lot
so basically;
- i should put space before and after *
- for decimal i should use , instead of . (this actually is not very 'keyboard friendly'
thx a lot!
-
Excellent!
You're more than welcome!
Answers.
- No, the spacing doesn't matter.
- Yes
Depending on your country/region, you'll need to exchange the comma to a period and the semi-colon to a comma.
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!