Solved

Sharepoint list calculated column value based on checkbox

Posted on 2013-01-24
1
2,252 Views
Last Modified: 2013-02-04
Hi,
I am trying to add a formula to a calculated column I created in my Sharepoint list.  If the user checks my checkbox column then the calculated value is based on another field * some numbers, if not then the value is just 0.  Here is my syntax:

IF([Material Delay],([Labor (Hours)]*66)*.50),0)

Keeps saying my syntax is wrong or it is not supported.  Not sure what I'm doing wrong.
0
Comment
Question by:imstac73
1 Comment
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 250 total points
ID: 38817508
Hi,
yes, there is an error in your formula - you are missing one opening "(" (or you have one closing ) to much).

Your formula should either be
=IF([Material Delay],(([Labor (Hours)]*66)*0.5),0)

Open in new window

or
=IF([Material Delay],([Labor (Hours)]*66*0.5),0)

Open in new window


Textual:
IF Material Delay is checked, then take the number from Labour(hours) and multiply with 66 and multiply with 0.5 else its 0.
Or you can shorten it to x*66*0.5 == x*33

HTH
Rainer
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question