Solved

Sharepoint list calculated column value based on checkbox

Posted on 2013-01-24
1
2,335 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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