Formula for Share Point
Hi guys,
I have 2 problems with the Formulas and calculations in Share Point.
1. I want to calculate time, that has been used for work on a location, if I use the preconfigured date/time calculation and use the formula: End Time - Start Time, the hours are ok, but the date is always 31.12.1899, and dont get it why.
Now I have used the formula =TEXT(([End Time] - [Start Time]); "hh:mm"), the time is calculated and displayed ok, but if I do it for more than 24 hours, then those 24 hours are not included in the result. Can some help me with that?
I have tried many other formulas, but there is always a sintax error:
=CONCATENATE(IF(INT(([End Time]-[Start Time])*24)>1,INT(([End Time]-[Start Time])*24)&" hours",IF(INT(([End Time]-[Start Time])*24)=1,INT(([End Time]-[Start Time])*24)&" hour","")),IF(MINUTE([End Time]-[Start
Time])>0,MINUTE([End Time]-[Start Time])&" minutes",""))
I have tried that formula above, and translate it to german (I thought that could be the problem) because we use a german Share Point version. But not in german not in the englisch one works. I always get "syntax" error and thats it.
I have put in the right values instead of "end and start" time.
2. I to have the Weeks Numbers to be seen in the tasks overview. So when I put in the starting date, the Week number in the year should be displayed.
I used the following code, but it hasn't work at all:
=IF(Datum<>"",(ROUND((Datum-DATE(YEAR(Datum+3-MOD(Datum-2,7)),1,MOD(-2,7)-9))/7,0)),"")
But it also comes the syntax error message.
I would be very glad if anyone could help me with those formulas.
Best regards,
Ziga
Hi Ziga,
I assume the column of start date is named by c1 and the column of end date is named by c2. Please see the following formulas:
Calculate the hours between two date: =INT((c2-c1)*24)
Calculate the minutes between two date: =INT((c2-c1)*1440)
Calculate the week number of month: =((INT((c1-DATE(YEAR(c1),1,1)+(TEXT(WEEKDAY(DATE(YEAR(c1),1,1)),"d")))/7)+1)-(INT(((MONTH(c1)&"/1/"&YEAR(c1))-DATE(YEAR((MONTH(c1)&"/1/"&YEAR(c1))),1,1)+(TEXT(WEEKDAY(DATE(YEAR((MONTH(c1)&"/1/"&YEAR(c1))),1,1)),"d")))/7)+1)+1)&"
"&"Week"
Calculate the week number of year: =INT((c1-DATE(YEAR(c1),1,1)+(TEXT(WEEKDAY(DATE(YEAR(c1),1,1)),"d")))/7)+1
Regards,
Rebecca Tu
TechNet Community Support
Similar Messages
-
Can't install Appfabric as a prerequisite for Share Point
Hello,
I'm working on a server with Microsoft Server 2012 R2, trying to install Appfabric because it is a prerequisite for Share Point. In the results of the Appfabric installation wizard, all of the selected components, Hosting Services, Cache Client, and
Hosting Administration all failed to install.
The detailed installation report says:
2015-04-22 11:48:00, Information Setup ===== Logging started: 2015-04-22 11:48:00-07:00 =====
2015-04-22 11:48:00, Information Setup File: d:\c105a713e88bea48cfc5\setup.exe
2015-04-22 11:48:00, Information Setup InternalName: Setup.exe
2015-04-22 11:48:00, Information Setup OriginalFilename: Setup.exe
2015-04-22 11:48:00, Information Setup FileVersion: 1.1.2106.32
2015-04-22 11:48:00, Information Setup FileDescription: Setup.exe
2015-04-22 11:48:00, Information Setup Product: Microsoft(R) Windows(R) Server AppFabric
2015-04-22 11:48:00, Information Setup ProductVersion: 1.1.2106.32
2015-04-22 11:48:00, Information Setup Debug: False
2015-04-22 11:48:00, Information Setup Patched: False
2015-04-22 11:48:00, Information Setup PreRelease: False
2015-04-22 11:48:00, Information Setup PrivateBuild: False
2015-04-22 11:48:00, Information Setup SpecialBuild: False
2015-04-22 11:48:00, Information Setup Language: Language Neutral
2015-04-22 11:48:00, Information Setup
2015-04-22 11:48:00, Information Setup OS Name: Windows Server 2012 R2 Standard
2015-04-22 11:48:00, Information Setup OS Edition: ServerStandard
2015-04-22 11:48:00, Information Setup OSVersion: Microsoft Windows NT 6.2.9200.0
2015-04-22 11:48:00, Information Setup CurrentCulture: en-US
2015-04-22 11:48:00, Information Setup Processor Architecture: AMD64
2015-04-22 11:48:00, Information Setup Event Registration Source : AppFabric_Setup
2015-04-22 11:48:00, Information Setup
2015-04-22 11:48:00, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1.0 Upgrade module.
2015-04-22 11:48:00, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed.
2015-04-22 11:48:08, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1 Upgrade pre-install.
2015-04-22 11:48:08, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed, not taking backup.
2015-04-22 11:48:08, Information Setup Executing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe with commandline -iru.
2015-04-22 11:48:08, Information Setup Return code from aspnet_regiis.exe is 0
2015-04-22 11:48:08, Information Setup Windows features successfully enabled.
2015-04-22 11:48:08, Information Setup Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i "d:\c105a713e88bea48cfc5\Packages\AppFabric-1.1-for-Windows-Server-64.msi" ADDDEFAULT=Worker,WorkerAdmin,CacheClient,Setup
/l*vx "C:\Users\Administrator\AppData\Local\Temp\AppServerSetup1_1(2015-04-22 11-48-08).log" LOGFILE="C:\Users\Administrator\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2015-04-22 11-48-08).log" INSTALLDIR="C:\Program Files\AppFabric
1.1 for Windows Server" LANGID=en-US
2015-04-22 11:48:41, Information Setup Process.ExitCode: 0x00000643
2015-04-22 11:48:41, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
2015-04-22 11:48:41, Error Setup
2015-04-22 11:48:41, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
2015-04-22 11:48:41, Error Setup
2015-04-22 11:48:41, Information Setup Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603
2015-04-22 11:48:41, Information Setup at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.GenerateAndThrowSetupException(Int32 exitCode, LogEventSource logEventSource)
2015-04-22 11:48:41, Information Setup at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.Invoke(LogEventSource logEventSource, InstallMode installMode, String packageIdentity, List`1 updateList,
List`1 customArguments)
2015-04-22 11:48:41, Information Setup at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.InstallSelectedFeatures()
2015-04-22 11:48:41, Information Setup at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.Install()
2015-04-22 11:48:41, Information Setup at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()
2015-04-22 11:48:41, Information Setup
2015-04-22 11:48:41, Information Setup === Summary of Actions ===
2015-04-22 11:48:41, Information Setup Required Windows components
: Completed Successfully
2015-04-22 11:48:41, Information Setup IIS Management Console
: Completed Successfully
2015-04-22 11:48:41, Information Setup AppFabric 1.1 for Windows Server
: Failed
2015-04-22 11:48:41, Information Setup Hosting Services
: Failed
2015-04-22 11:48:41, Information Setup Cache Client
: Failed
2015-04-22 11:48:41, Information Setup Hosting Administration
: Failed
2015-04-22 11:48:41, Information Setup Microsoft Update
: Skipped
2015-04-22 11:48:41, Information Setup Microsoft Update
: Skipped
2015-04-22 11:48:41, Information Setup
2015-04-22 11:48:41, Information Setup ===== Logging stopped: 2015-04-22 11:48:41-07:00 =====
Does someone have an idea as to why the installation is failing?
Many thanks.Hi,
For installing SharePoint 2013 SP1 Prerequisite on Windows 2012 R2, you can run the PowerShell Script of Ed (DareDevil57):
https://gallery.technet.microsoft.com/office/Sharepoint-2013-SP1-Server-2ed6dd27
For more information,you can have a look at the blog:
http://blogs.technet.com/b/cjrawson/archive/2014/04/06/offline_2d00_sharepoint2013sp1_2d00_prerequisites_2d00_server2012r2.aspx
http://social.technet.microsoft.com/wiki/contents/articles/14582.sharepoint-2013-install-prerequisites-offline-or-manually-on-windows-server-2012-a-comprehensive-guide.aspx
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Office 365 Developer site for Share point is not working.
hi,
i created office 365 developer site for share point, it is not working for share point, i am getting error when click on Share point from ADMIN.We will getting am Error:Hi,
I understand that you stay in the Office 365 admin Center, when you click the SharePoint option, you get the error page.
I recommend to enter the URL as below in the Brower to check whether the account can access SharePoint admin Center.
https://sitename /_layouts/15/online/SiteCollections.aspx
Here is a similar thread for
your reference:
http://community.office365.com/en-us/f/148/t/192116.aspx
Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
Office 365 forum
http://community.office365.com/en-us/forums/default.aspx
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to decide implementation way for share point site ?
Hi,
I am developing new share point site where i want to manage more hierarchical data with its own business requirements and flows.
lets assume following scenario
there are multiple companies at very top level
Every company contains multiple departments
and every department have multiple groups (group of working people)
I want to manage communication between each group within each company, and no two group from two diff companies should interact with each other.
For this implement what will be the better approach for site design ? and how can i implement such a hierarchical structure ?
As i am new to share point , any help will be appreciable.
Thanks,
C MahoneCreate a separate site collection for each company. For every department you can have a sub site. You can create groups within the sub site.
Once you separate the each company details in a separate site collection you will have more control over the security.
Check the below link for site planning in SharePoint
http://technet.microsoft.com/en-us/library/ee476994%28v=office.15%29.aspx
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
Is it possible to debug step by step for share point designer workflow in share point 2010
Hi all,<o:p></o:p>
I have created a reminder date work flow but it is not working .In this work flow it need to be check first its status if its status is suspend then only workflow can run .I am
attaching below workflow logic check if any modifications needed please suggest me . And I have doubt is it possible to check step by step debugging like in coding we are using break point in this way any break point is available for designer workflows
? If break point is available please guide me how to get and use those<o:p></o:p>
Thanking you,<o:p></o:p>
ArunDarly
<o:p>Workflow logic given below</o:p>You can't step through a SharePoint Designer Workflow. The normal workaround is to Log messages to the History list with the values you want to look at where you would normally put breakpoints. Then run the workflow and examine the history
list to see how the values changed as you went through your workflow.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Suitable document archiving products for share point
hi
our org uses sharepoint as a document management product and many users upload documents in sharepoint daily,
and searchable from sharepoint by users,
and this farm has 5 web applications according to business purpose.
and each web app has 1 Million documents, and we have plan to archive every document in each web app
so which one is the suitable product for archiving docs from sharepoint,
and before go for any third party document archiving products which points are most considerable
adilSome products you may want to look at:
DocAve SharePoint Backup
MetaLogix SharePoint Backup: this product was originally Idera SharePoint Backup; Metalogix bought this from Idera.
More general resources:
Backup solutions in SharePoint 2013
And reviews of SharePoint backup tools:
Backup and Recovery Tools for SharePoint -
Hi Everyone
I used this in SP calculated column field.
=IF([Shift Sched]="1pm to 10pm","0",IF([Shift Sched]="2pm to 11pm","1",IF([Shift Sched]="3pm to 12am","2",IF([Shift Sched]="4pm to 1am","3",IF([Shift Sched]="5pm to 2am","4",IF([Shift
Sched]="6pm to 3am","5",IF([Shift Sched]="7pm to 4am","6",IF([Shift Sched]="8pm to 5am","7",IF([Shift Sched]="9pm to 6am","8",IF([Shift Sched]="10pm to 7am","8",IF([Shift
Sched]="11pm to 8am","7",IF([Shift Sched]="12pm to 9am","6",IF([Shift Sched]="1am to 10am","5",IF([Shift Sched]="2am to 11am","4",IF([Shift Sched]="3am to 12pm","3",IF([Shift
Sched]="4am to 1pm","2",IF([Shift Sched]="5am to 2pm","1",IF([Shift Sched]="6am to 3pm","0",IF([Shift Sched]="7am to 4pm","0",IF([Shift Sched]="8am to 5pm","0",IF([Shift
Sched]="9am to 6pm","0",IF([Shift Sched]="10am to 7pm","0",IF([Shift Sched]="11am to 8pm","0",IF([Shift Sched]="12pm to 9pm","0"))))))))))))))))))))))))
it was able to work fine however my issue is when i extract the information to excel and use a pivot table the table is not able to calulate the sum of the value for this field. Can you please help me with this. this is for an Attendance traker for Night
Differential pay for employees. they create a daily log of their shift schedule and if i summarize this in pivot the value in the calculated field for this is not getting the sum.
Thanks,
NormanHi Everyone
I used this in SP calculated column field.
=IF([Shift Sched]="1pm to 10pm","0",IF([Shift Sched]="2pm to 11pm","1",IF([Shift Sched]="3pm to 12am","2",IF([Shift Sched]="4pm to 1am","3",IF([Shift Sched]="5pm to 2am","4",IF([Shift
Sched]="6pm to 3am","5",IF([Shift Sched]="7pm to 4am","6",IF([Shift Sched]="8pm to 5am","7",IF([Shift Sched]="9pm to 6am","8",IF([Shift Sched]="10pm to 7am","8",IF([Shift
Sched]="11pm to 8am","7",IF([Shift Sched]="12pm to 9am","6",IF([Shift Sched]="1am to 10am","5",IF([Shift Sched]="2am to 11am","4",IF([Shift Sched]="3am to 12pm","3",IF([Shift
Sched]="4am to 1pm","2",IF([Shift Sched]="5am to 2pm","1",IF([Shift Sched]="6am to 3pm","0",IF([Shift Sched]="7am to 4pm","0",IF([Shift Sched]="8am to 5pm","0",IF([Shift
Sched]="9am to 6pm","0",IF([Shift Sched]="10am to 7pm","0",IF([Shift Sched]="11am to 8pm","0",IF([Shift Sched]="12pm to 9pm","0"))))))))))))))))))))))))
it was able to work fine however my issue is when i extract the information to excel and use a pivot table the table is not able to calulate the sum of the value for this field. Can you please help me with this. this is for an Attendance traker for Night
Differential pay for employees. they create a daily log of their shift schedule and if i summarize this in pivot the value in the calculated field for this is not getting the sum.
Thanks,
Norman -
ARD 3.2.2: Open Items doesn't work for share point application
I am using open items to open a Mackiev Kidpix network document on an ARD client. It used to work but suddenly it just failed, where it seemed that the client was not able to find the application to open the document.
Being a network version of KidPix, the application it self is located on a sharepoint instead of the application folder. I also tried to copy the KidPix to the application folder, but to no avail.
Other documents from from other applications work without a hitch. So I am sure it is not the ARD. I also called Apple and the software vendor, neither can give a solution to the issue.
If anybody can provide me with any help, I would really be grateful. At this point I do not know where to go about this.i'm sorry. I wanted to say 3.1.1.21 version.
-
Best practice for creating a new email address to Exchange Server 2010 for share point Library
Hi,
Please advise if there is any best practice for the above issue?
Thanks
srabonHi Srabon,
Hope these are what you want.
Use a cmdlet to Create a User account and Mailbox in Exchange 2010
http://technet.microsoft.com/en-us/magazine/ff381465.aspx
Create a Mailbox for an Existing User
http://technet.microsoft.com/en-us/library/aa998319(v=exchg.141).aspx
Thanks
Mavis
Mavis Huang
TechNet Community Support -
When create a new user into AD by default permissions also added for share point site
HI
i have a sharepoint farm.
when i create new user in AD, by default below permissions are added to that user,
how its happen ?
site permissions:
View Web Analytics Data
Browse Directories - Enumerate files and folders in a Web site using SharePoint Designer
and Web DAV interfaces.
View Pages - View pages in a Web site.
Enumerate Permissions - Enumerate permissions on the Web site, list, folder, document, or
list item.
List permissions:
View Items - View items in lists and documents in document libraries.
Open Items
View Versions - View past versions of a list item or document.
View Application Pages - View forms, views, and application pages. Enumerate lists.
Use Remote Interfaces
adilHi
yes i dont know how these permissions are added in sharepoint?
how its happen? , even i did not added this user in any sharepoint group or sitepermission
adil -
Compute formula for forecasting
Hello,
I want to compute the formula for reorder point in the system which includes min inventory + safety stock + daily consumption while doing forecasting for a material.
The automatic reorder point type MRP is set for the material masters & forecasting is done for the same.
But when the reorder point is computed through system , it does not match with the manually computed reorder point.
Can anyone tell me any method to incorporate this manual formula into the system?
Regards,
KrutikaUse this user exits, to deviate from Standard Formula.
M61X0001 User exits PP-MRP materials planning
M61X0002 User Exits PP-MRP Material Requirements Planning Evaluations
You may also be required to to look into funtion modules of planning evaluations report. Check out this menu in IMG.
SPRO > MM > Consumption-Based Planning > Evaluation > Reports, Function Modules: Program Customer-Specific Lists
Thanks & regards
Hameed Parvez -
Different passwords for different share points on 1 server?
On a lion server I have two share points.
A 'general' is accessible for all users, a 'confidential' is for a select group of users.
The permissions are set and the select group have their server access password in their key chain.
The server password is stored in a separate key chain ie. not in the login key chain.
The select users connect to the server and allways mount the 'general' share point.
The 'confidential' share point is mounted only when needed and unmounted afterward.
Problem is when the users walk away from their computer and forget to lock the computer or to completely disconnect from the server, which is generally very inconvenient because of open documents.
"Unmounting" the confidential share in my setup is not really putting it away securely because at that moment, anyone can sit down at that computer and mount 'confidential' because the login credentials were already given when mounting 'general'.
Is there any way, lest having Parallels running another Lion server that shares the 'confidential' mount point, to force users to enter a password before 'confidential' can be mounted WHILE 'general' IS ALREADY MOUNTED?
In other words, can credential exchange be tied to share point mounting time rather than to server connection time and thus be different for different shares and allow for share-specific unmounting, effectively locking it away?Has nobody done this before?
-
hello,
How can i upload two different logos for 2 sub sites [which falls under one super site ] in share point 2013 ?
thanks,
JayHi,
I understand that it applied first logo to all other sub sites.
Please make sure that you change the logos in the subsites.
If we change the logo in the root site, the logos in the subsites will be changed at the same time.
However, we can change the logo in the subsites separately.
We can go to a subsite, click the Site Sitting-> Look and Feel-> Title, description, and logo->Insert Logo->select a picture, then it will has a different logo than the root site.
Then go to the other subsite, click the Site Sitting-> Look and Feel-> Title, description, and logo->Insert Logo-> select another picture, then it will has a different logo that the first subsite.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
System creates group for every share point
Every time I create a new share point on my OS X Server 10.5, a group is created by the system on the fly along with it.
For example, I created a folder nameded Research Office and shared in Server Admin. Then when I assign the permission for the share point in Server Admin, I see a group called Research Office group with a GID of 124. However, this group does not appear in Workgroup Manager so I can not assign members to it.
Anyone see this before?These groups are 'local' (Not LDAP) I still have difficulty wrapping my head around some of the rules about the 'how' this works but assigning LDAP users to this group does work!
OK _To see this group(s)_.
1: Open Workgroup Manager.app.
2: Select /Local/Default in your Authentication list (this spot is between the Toolbar and the 4 (or 5) icons for User, Groups, Computer Groups etc.) We are looking for the place that should say something like 'Authenticated as XXXXX to local directory /Local/Default')
3: Select the Groups icon (3 Shadows standing together)
4: Select Menu View, Show System Users and Groups
5: Now you will be able to select these groups.
_To add LDAP users and groups to this 'local' group._
1: Highlight the group in question
2: Select the Members tab in the right pane
3:Click the plus
4: After the tray slides out, at the top of the tray, you will see a disclosure arrow and Local Directory /Local/Default. Click on it and select /LDAP/127.0.0.1
Now you can select your LDAP users to assign rights.
Peter -
1)what is the best way to follow the scenario for Out look integration with share point using SAP Gateway?
2)workflow concepts for Purchase order?
3)Email triggering from out look for an approval process of PO? how these scenario can be best implemented with updated functions in Duet Enterprise.Hi,
I do not have much idea on gateway integration with outlook but found out this document GWPAM Workflow Template which can be helpful for you to start with.
also you may want to post your question in SAP Microsoft Interoperability forum
Regards,
Chandra
Maybe you are looking for
-
Keynote 6.0.1 Crashing When Entering Text Boxes
On my late 2012 Mac Mini with 16GB - running Mavericks (up to date) - and Keynote 6.0.1 I am going NUTS! Entering text in a TEXT BOX on a page with an inserted photograph or image is impossible. Every single time, while entering or editing the text b
-
How can I send a PDF in the spool as email attachment?
-
RE: Style bugs in RoboHelp 7
Have tried to modify a Style using methods explained in Help.? Example: modified Heading 1 to font 12, bold & Keep with Next - then compiled & clicked on Review Results - Heading 1 is OK - BUT when I return to project to add or edit text the Heading
-
MacBoook lcd screen black/gray will not display
My MacBook LCD screen will not display. It powers on but I cannot see anything on the screen. What is happening?
-
Looking for CRconfig.xml
Post Author: something_stupid CA Forum: JAVA Hi, I wrote a small program that should start the embedded reportviewer and show a report. When I run the program the line reportClientDoc.open("D: UserTemp JRCViewReport.rpt", 0); throws an exception: com