Solved

Formula to select name modified by in Sharepoint

Posted on 2015-02-13
2
129 Views
Last Modified: 2015-02-17
is it possible to have a calculated field in Sharepoint list that will say something like this in the formula

if the column 'Approved' =Y get name from Modified
0
Comment
Question by:Jagwarman
  • 2
2 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 40608037
Hi,
sorry but this will not work in calculated formulas as the "Modified By" column (with the internal name of "Editor") is of type "Person or Group" which is an unsupported column type for calculation formulas.

HTH
Rainer
0
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 40608054
And alternative ways are:
1. Using a workflow
2. Using a scheduled Powershell script
The script should simply run a SPQuery to get all list items where Approved = Y and your  new column <> Modified By column
Tricky part would be to update the list item without changing the timestamps and modified by :-)
But this code should help:
http://www.sharepointsapiens.com/blog/update-item-document-properties-without-changing-modified-modified-fields-using-sharepoint-powershell/

HTH
Rainer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint 2010 Foundation Gatherer 10 47
Excel case statements 3 25
InStr Function not working properly in macro 3 19
Split a string in excel 9 36
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now