I will keep it simple - I have a list that will include 'creation date' as a required field. I need the next column to display the dynamic aging (essentially taking today's date and subtracting 'creation date').
Is this possible in Sharepoint Office 365? And if so what's the best way to go about this?
Thanks!
You could create a Calculated Column and use the formula
=TODAY()-[CreationDate]
That will return the number of days between Today and your 'creation date' column
Useful link:
Calculated Filed Formulas - it says it is applicable to SharePoint 2010 but some could work in O365
Related
I am attaching the macros, and desired result as an image.
So, I am running a macro to find differences (amounts) between dates that are selected from the slicer, using 'previous' as the base item in 'difference from' and it works perfectly. Now, I want to run another macro where the difference should be from the oldest of the selected dates. I hardcoded it once with a set of dates where the oldest date will always be 31-12-2021. But if I want to compare the data from 2021 then I need to find differences from 31-12-2020, basically the end of previous year. How do I make this base item dynamic so that it's either last end of year date or the oldest chosen date if someone is manually choosing the dates from the slicer?
My Macros
The desired pivot table result
Can I have the user enter the oldest date in a cell and have the vba code refer to that cell or something?
Any help would be appreciated. Thanks!
As the title states, I have a spreadsheet with a column full of float values (groceries payments I've made over time) and I would like to see when I entered the value into each cell. Is this possible or am I out of luck? The version I am running seems to be Excel 2002 from Office 365.
Say if I had the following sample table:
Country Year
USA 2010
USA 2010
USA 2010
Australia 2011
India 2010
China 2010
Output should be:
2010: 3 (USA, India, and China)
2011: 1 (Australia)
2012: 0 ()
I am trying to count the unique number of countries during a certain year.
I having trouble how to get the nested conditional count working.
Any help would be greatly appreciated.
I cannot use VBA, i must use native excel functions or pivot tables.
Copy and paste your data into a new worksheet to allow you to play with it.
Remove Duplicates (Data>Data Tools>Remove Duplicates) based on country and year.
Then sort ascending with filter based on year (Data>Sort & Filter).
Then subtotal a count (Data>Outline>Subtotal) based on change in year.
I think you can get some way there by concatenating Year&Country and then do a count within a pivottable. The only problem is that you can't get a zero. This also won't lay it out in the way it looks like you want but is that important?
If so, then a formula might help which would list unique entries in a range (again utilising the concatenated column)......
I have developed a formula which does this using countif:
Hope this help you or someone else need to list and count unique values.
Just adding a link to share the excel file I've created. Enjoy. Excel file
How does acalculated column work in Sharepoint? When a calculated column is added to list, the next moment it'll update the list items. How does it happen?
Calculated columns in SharePoint 2010 are similar to formulas in Excel spread sheet. Their result is attained by writing formula that uses the values of other columns (their names). There are all sorts of formulas to perform calculations as pointed out in the Calculated Field Formulas –msdn page, with example and possible result. You could also check the two links below that show steps of how to achieve a calculated column:
SharePoint: Creating Calculated Column Formulas
About SharePoint Calculated Columns
Hopefully, this will make things more clear.
Short Answer: it updates the value when you save an item OR when you change the calculation in the field setting
read this very interesting post. discussion in the comments section is very interesting.
Calculated fields are stored in Database and they are updated when you save an input.
I am building a 12-month cash flow forecast and I want the user to be able to choose the start month from a dropdown. This will then change all the column headers. I have set up a dropdown, which now returns the month position in the built in array i.e. selecting Aug, returns month 8. What’s the best way to get 8=Aug?
Thank you for looking.
If you have full date (yyyy-mm-dd) you can format header to display month, by setting mmm non-standard format.
Also, you can define list of months and use CHOOSE() funcion, which returns given position from a list.
Excel choose funcion