How To Use SharePoint List Calculated Column Date Formulas

Поділитися
Вставка
  • Опубліковано 8 лют 2025

КОМЕНТАРІ •

  • @LuiIacobellis
    @LuiIacobellis  7 місяців тому

    🔔SIGN UP FOR MY SHAREPOINT LIST FUNDAMENTALS COURSE🔔 bit.ly/461F4iX
    ❓Looking for support with an issue or to get a response to a question - submit it here: asqme.com/@LuiIacobellis

  • @spchengQ1
    @spchengQ1 2 роки тому

    Thanks Luigi, it solved my issue after watching your video! Kudos to you.

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      You're very welcome and thanks for watching

  • @gerardrngauss7163
    @gerardrngauss7163 2 місяці тому

    Thank you so much for this video; you got me out of a sticky situation!

  • @phileaster7141
    @phileaster7141 Рік тому

    Lui, just ran across you videos. I like your style. Subscribed!

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Hi Phil, thanks for the kind words and for subscribing. Talk soon!

  • @andrezocco
    @andrezocco 5 місяців тому

    Loved your video! it helped me for a very important tracking report!!! thank you so much!

    • @LuiIacobellis
      @LuiIacobellis  4 місяці тому +1

      @andrezocco You're very welcome! Thanks for watching!

  • @jjajwjw
    @jjajwjw 2 роки тому

    Your videos are really informative and effective, keep going

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Thanks Rahul! I'm glad you find them helpful!

  • @heatherdufour6727
    @heatherdufour6727 20 днів тому

    This was very helpful, thank you! How would I show a blank cell if I don't have an invoice date yet? Mine is returning 47,623 for all my blank ones. Ive been doing some research smd it has something to do with the 1900 year and I'm lost on how to fix it. Thanks in advance!!

  • @张晓-u3i
    @张晓-u3i 3 місяці тому

    Thank you for sharing to resolve my problems❤

    • @LuiIacobellis
      @LuiIacobellis  3 місяці тому

      You're very welcome! Glad it was helpful.

  • @JorgeEmilioVázquezMoran
    @JorgeEmilioVázquezMoran 5 місяців тому

    Thank you very much Lui!

    • @LuiIacobellis
      @LuiIacobellis  4 місяці тому

      @JorgeEmilioVázquezMoran You're very welcome! Thanks for watching!

  • @briangaulrapp8989
    @briangaulrapp8989 2 роки тому +1

    Hi Lui. Is it possible to use the calculated date columns to display on a calendar overlay? I've had issues getting these columns to display versus normal date columns. Any advice would be greatly appreciated. Thanks!

  • @angelogilio9565
    @angelogilio9565 11 місяців тому

    Hi MAN! First of all THANKS for your help you very help full! I have a question for you. Is possible to re-set a date list filed according month? For example i need that after having approve by email a job the specific date reset itself one year later or two months later and so on...

  • @fanzfanzilla
    @fanzfanzilla 2 роки тому +1

    Hello, Thank you for the video. As you mentioned the calculation is not dynamic and requires that item is updated/edited before calculation occurs. Is there a way around it? Is only way to achieve this by using workflow? The workflow will cause the meta data to be updated. For example, if workflow updates a field in the list it then sharepoint will generate new version, last updated and last update date will change. Do you have recommendations or thoughts?

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi there, unfortunately the only workaround to that limitation in a list is to use workflow. If you require live fields that update regularly then a SharePoint list may not be the best solution and you may want to consider a Power App. I hope this helps and thanks for watching

  • @jordansmith9230
    @jordansmith9230 2 роки тому +1

    Hi Lui, brilliant video. How would you write a formula to generate a column that is + 1 year from the date in another column?

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Hi Jordan, thanks for the comment. Your formula would be the date + 365 to add in the additional time. Hope this helps!

  • @salomonmurave160
    @salomonmurave160 Рік тому

    Thanks Lui, great video. One question. Is there a way to calculate the week of the year, from a date in another column?

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Hi there, yes this is possible. I came across this article which may be what you are looking for techcommunity.microsoft.com/t5/sharepoint/formula-calculated-column-show-date-as-week-number/m-p/3291504

  • @ryancockrel6947
    @ryancockrel6947 Рік тому

    Do you have a video that shows how to calculate the date of a specific weekday. My intention would be to have a calculated default date that is the next saturday from whenever the item was created. Thanks for your content, you've been really helpful to me!

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Sorry for the delay unfortunately I do not have a video outlining how to do this at this time but this is on my backlog. Thanks

  • @jorgejimenez6199
    @jorgejimenez6199 Місяць тому

    Hi Lou, Could you help me please whit this formula in MS List:
    =IF(
    ISBLANK([Completado]),
    IF([Fecha de vencimiento] > TODAY(), "A tiempo", "Retrasado"),
    IF([Completado] < [Fecha de vencimiento], "A tiempo",
    IF([Completado] = [Fecha de vencimiento], "Completado justo a tiempo", "Retrasado")
    )
    )

  • @jasonhampton
    @jasonhampton 11 місяців тому

    Is it possible to have two formulas embedded in the sharepoint list? The first formula is TODAY()-Creation Date

  • @StrippedBare-w3g
    @StrippedBare-w3g 11 місяців тому

    Hi There, your videos are very useful however, I’m struggling to find a formula that will assist in saying: If date in ‘column A’ is todays date or earlier change ‘column B’ to word “overdue”. Can you help me?

  • @juansaldana2704
    @juansaldana2704 6 місяців тому

    Is there a way to calculate how many years have passed? For example, the column's title is "Date Completion", and I want another column to show how many years ago it was completed.

  • @caleblauber6613
    @caleblauber6613 2 роки тому +1

    What about generating a future date in the Date column using the default value formula option?
    Example... if I create a "Revision Log" date column and want it to generate the date 180 days from when it was last modified.

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi Caleb, for this you will need to use a calculated column type and not a date type. In date type columns, you cannot reference other columns in the calculated value field. Therefore, to do this, create a calculated column and set the formula to [Modified]+180 and set the return data type to date. Hope this helps and thanks for watching!

  • @moisestatis5418
    @moisestatis5418 2 роки тому

    good video, thanks.

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Moises Tatis You're very welcome! Thanks for watching!

  • @biesalles5859
    @biesalles5859 2 роки тому

    Hi Lui! How are you? Your videos are awesome, thanks for that!
    I'm trying to create a column that tracks the date and time based on the status of another column. The goal here is to have a TIMESTAMP of when the status is Resolved. So that I can have the duration of the task since entered at the list to the time is was resolved. Do you have a video that can help me with this situation?

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi there, unfortunately I do not have a specific video that covers your exact use case. However, it does sound like your use case might be best satisfied by building a workflow in Microsoft Power Automate that records the time when the status changes. Alternatively you could try and built out a calculated column using statements that do the same but that might be a bit more difficult. Here is a link to my tutorial on IF statements: ua-cam.com/video/bz1qSexNW9Y/v-deo.html
      - hope this helps

  • @andrecosta612
    @andrecosta612 2 роки тому +1

    Hi, How can I make my current date (today) update automatically an of course without changing anything of my columns?
    Do you have any recommendations or ideas?

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому +1

      Hi there, unfortunately the only way to do this would he to use a workflow via Power Automate or to develop a Power App. Both allow for functions to be built that can add realtime values. Hope this helps and thanks for watching

  • @Todd-W
    @Todd-W 2 роки тому

    Lui, thank you for this! It gave me a clue as to what needs to be done however I'm still struggling. I have an existing list with a date column C (expiration date) and a column A that is labeled (active/inactive). I would like for the list to look at expiration date column and if it's before TODAY, then set column A (active/inactive) to INACTIVE. Can you give me pointer on how to accomplish this please sir.

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Hello, my apologies for the delay in responding to your comment. I hope that you found an answer by now. If not, I believe I cover what you’re looking for in this video: ua-cam.com/video/bz1qSexNW9Y/v-deo.html . Hope this helps and thank you for watching

  • @alfonsolans
    @alfonsolans Рік тому

    Great Stuff Buddy thanks for sharing it AWESOME, quick question what about I have a entry date and exit date, If I want to create a calculated estatus column based on entries and exits, for example entry "" and exit = "" is On Site, entry "" and exit "" is Out and entry = "" and exit = "" is Not Registered, I have tried everything on it and I am always getting the same error after I hit the OK button, THanks in advance for your suggestions and Keep Rocking Buddy

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Hi there, thank you so much for the kind words. Unfortunately, I can't provide support with troubleshooting SharePoint calculated column formulas. I would need to see the full context to do this. I'd suggest posting the formula over on the Microsoft Tech Community as you will likely be able to get a fast and more detailed response. You can access it at this link: techcommunity.microsoft.com/ - Hope this helps and thanks for watching!

  • @kennyfabian2126
    @kennyfabian2126 2 роки тому +1

    Hello Lui, i am trying to do something that someone noob would think is easy based on logic but it isn´t. I just want a formula with the difference in days between two dates and excluding the weekends, is this possible? Simple example, three columns:
    Start date: 01/07/2022
    End date: 15/07/2022
    Difference: 14 (number format)
    I want to exclude 4 days because of weekends, making it a 10 days difference.
    Thanks in advance if you get to see and answer this comment.
    PD: Im from the DR (Latin America), thats why the dd/mm/yyyy format.

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi Kenny, I hope you're well. Here is an article on stack exchange that has a formula to calculate the difference in working days between 2 dates. Based on the comments, it seems to work. I've not tested it myself however. Let me know if you figure it out! Thanks for the comment and for watching.
      sharepoint.stackexchange.com/questions/197827/calculate-number-of-working-days-between-two-dates

  • @area_2111
    @area_2111 2 роки тому

    Hello thanks for the video, Is it possible to set "date and time" by the end date of each month?

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому +1

      Hi there, are you asking if its possible to set a calculated column to the last day of the month? If so, it is possible using date formulas within the calculated column. Here is a resource that can help you get started on the formula: www.johnluangco.com/2016/07/sharepoint-default-value-end-month.html - Hope this helps! thanks for watching.

  • @kannetimahesh836
    @kannetimahesh836 Рік тому

    Hi sir,
    I need a calculation to find week number in SharePoint list pls give me advise.

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      I'll add this to my backlog. In the interim, I would suggest posting this question over on the Microsoft Tech Community as you will likely be able to get a fast and more detailed response. You can access it at this link: techcommunity.microsoft.com/ - Hope this helps and thanks for watching!

  • @lemuel_adrian
    @lemuel_adrian Рік тому

    Hi Lui, is it possible to calculate the total number of seconds spent on a specific work in Sharepoint?

    • @LuiIacobellis
      @LuiIacobellis  Рік тому +1

      If you are asking if you can record the time a user spends working in SharePoint, that's not a capability provided by SharePoint. You'd need a time tracking solution for that.

    • @lemuel_adrian
      @lemuel_adrian Рік тому

      @@LuiIacobellis thank you. Been trying to figure out the formula and you finally answered the question. Bummer that its not possible. 😔

  • @tedbenson1958
    @tedbenson1958 Рік тому

    One small error in the nested IF statements. The left parameter in the IF/AND statement should be >=, or a size of 250 would cause a null result

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Thank you for catching this error! Much appreciated

  • @vijaysharma7677
    @vijaysharma7677 2 роки тому

    Hello Lui Need your help with a quick query I am using a SharePoint list where I have start and end dates below are the things that I wish to achieve
    1. Calculate the difference between the two dates that includes the start date and excludes weekends and holidays if any

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi Vijay I'm working on a tutorial to cover this scenario. In the meanwhile here is an article that might be helpful techcommunity.microsoft.com/t5/sharepoint/calculate-working-days-in-sharepoint/td-p/1081664 thanks

  • @genesisbrito7209
    @genesisbrito7209 Рік тому

    How calculated colum with this formula: =IF(Categoria="Baja";F_Solicitud+21;IF(Categoria="Media";F_Solicitud+14;F_Solicitud+7)), adding only business days?
    Thanks!

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Unfortunately I can't provide this type of support via comments. I'd suggest you post your question over on the Microsoft Tech Community

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Unfortunately I can't provide this type of support. I'd suggest you post your question over on the Microsoft Tech Community

  • @jimnibob
    @jimnibob 2 роки тому +1

    Hi,
    How would I set the column to express the age of a person in years & months (i.e 17.5 = 17 years and 5 months old) using the formula =today()-date of birth?
    Thanks

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi there, I've come across this post on the Microsoft Tech Community that might assist with your query. techcommunity.microsoft.com/t5/sharepoint/lists-formulas-for-calculate-age-from-date-of-birth/m-p/3593267 - Hope this helps and thanks for watching!

  • @hendrakusuma5523
    @hendrakusuma5523 Рік тому

    ask sir, how to calculate the age of the invoice based on working days?

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Hi there, I would suggest you post this question with more detail over on the Microsoft Tech Community: techcommunity.microsoft.com/ - Hope this helps!

  • @АлександрЛебедев-ж8б

    Can i calculate ISO string from date?

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi there, this may be possible using Microsoft Power Automate. I've never done this myself unfortunately. Here is a thread that might help. Thanks for watching! powerusers.microsoft.com/t5/Building-Flows/Datetime-string-must-match-ISO-8601-format-Can-t-figure-it-out/m-p/910092#M128076

  • @selinarousseau5055
    @selinarousseau5055 Рік тому

    Hiya - thanks for your easy to follow steps....
    So many great options - however -- could you help me replicate an excel formula to extract total age of an asset in SharePoint.
    This is my current formula coming off the Warranty start date:
    =DATEDIF([Warranty start date],TODAY(),"y")&" Yrs "&DATEDIF([Warranty start date],TODAY(),"ym")&" mths "
    I am happy for it to just show up as a number like 2.3 (like two years and 3 months old
    Any help would be great - thanks

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Hi there I'm glad you found this video useful. Unfortunately I cannot assist with adhoc requests to develop formulas sorry. I would suggest posting the inquiry over the Microsoft Tech Community as someone will likely he able to support you. Thanks

  • @simplevideos8605
    @simplevideos8605 Рік тому

    How to calculate no of days on below conditions
    I have open date as yesterday
    But do not have close date?

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Hi @simplevideos8605 there, I would suggest posting this question over on the Microsoft Tech Community as you will likely be able to get a fast and more detailed response. You can access it at this link: techcommunity.microsoft.com/ - Hope this helps and thanks for watching!

  • @MadanKumar-uy4iu
    @MadanKumar-uy4iu 9 місяців тому

    Good one

  • @thalapanenirakesh8459
    @thalapanenirakesh8459 2 роки тому +1

    How we can do calculated column based on start date and end date

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi there, you should be able to create a calculated column that references both a start date and end date you have already created in your list. I hope this helps and thanks for watching

  • @juliowastaken
    @juliowastaken Рік тому

    Are you able to hide date field until a column value is selected?

    • @LuiIacobellis
      @LuiIacobellis  Рік тому +1

      This video covers conditional hide show of field - ua-cam.com/video/V9ysKQRMJ00/v-deo.html - it might help address your question

  • @abbasthegreat5
    @abbasthegreat5 2 роки тому

    All the dates are in UTC timezone. How to change that in Current/Local timezone?

    • @LuiIacobellis
      @LuiIacobellis  Рік тому

      Sorry for the delay see this article support.microsoft.com/en-us/office/change-regional-settings-for-a-site-e9e189c7-16e3-45d3-a090-770be6e83c1a - hope this helps and thanks for watching

  • @mandysingh3878
    @mandysingh3878 2 роки тому +1

    How to use networkdays btw two dates

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi there, I've added this to my backlog & will be publishing a tutorial on this topic in the coming weeks. Thanks for watching!

  • @LuiIacobellis
    @LuiIacobellis  2 роки тому

    CHECK OUT MY HOW TO USE SHAREPOINT PLAYLIST - 40+ TUTORIALS: ua-cam.com/play/PLmE7KGV9-I4uibXaJ7ZqTXbbS4tukRJPh.html

  • @Smitty_in_SD
    @Smitty_in_SD 2 роки тому

    This is a great tutorial, thank you!! How would I have the formula ignore the column it is looking at, if the column is empty? I have a Column called CHA Date which is taking the number of days from the CHA Days Column (displays the number of days) and is returning the date. It works fine, but is also putting today's date when the CHA Days column is empty. How can I have it ignore when CHA Days doesn't contain any data or at the very least, have it display nothing?
    CHA Date (Calculated Column) with this as the formula =TODAY()-[Last CHA (Days)]

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi there, sorry for the delay! if you are looking for assistance with building out IF statements in SharePoint, I would suggest you visit the Microsoft Tech Community and post your question there: techcommunity.microsoft.com/
      Hope this helps and thanks for watching!

  • @DevendraSingh-tx2pt
    @DevendraSingh-tx2pt 2 роки тому

    How to update sharepoint list to get current date in real time. In my case If I export list to excel it does not show current date it has date when I updated last time. Please advise

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi there, to do this you would want to create a calculated column that uses the =TODAY. However, this calculated column will only show the current date if an item is edited. Else, it will show the current date based on the last time an item was edited. Hope this helps!

    • @DevendraSingh-tx2pt
      @DevendraSingh-tx2pt 2 роки тому

      @@LuiIacobellis Thanks for reply. I have used same formula for current date but problem is it does not update automatically. I have to calculate due date on the basis of current date. But don't want to modify records

  • @jackemanalo7741
    @jackemanalo7741 2 роки тому

    Hello I am trying to create a automatic column with a Pass or Fail result from 5 parameters however i cant get the right result or none is working. Help😭

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi there, it seems as though you might need to use multiple IF statements in your calculated column. I actually posted a tutorial on this topic last week & included the formulas used in the tutorial in the video description. Here is the link: ua-cam.com/video/bz1qSexNW9Y/v-deo.html - Let me know if this helps. Thanks for watching!

    • @jackemanalo7741
      @jackemanalo7741 2 роки тому

      @@LuiIacobellis Hello thanks for quick response. I actually tried that one too but disnt work or perhaps im doing it wrong. Basically i have 5 columns each columns have sub categories and the 6th column the result should be either a pass or a fail.

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Feel free to email me at liacobellis01@gmail.com with some screenshots and more details and I'll see if I can help.

    • @jackemanalo7741
      @jackemanalo7741 2 роки тому

      @@LuiIacobellis thank you just sent you an email

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      @@jackemanalo7741 Just sent over a formula that should work!

  • @lesliecaldwell3131
    @lesliecaldwell3131 2 роки тому

    I need to add a column that auto populate a due date

    • @LuiIacobellis
      @LuiIacobellis  2 роки тому

      Hi there, you can definitely use this approach go do that. You can add a predetermined amount of time to another date column. For example you can create a formula with the created column + 45 days if that was your definition of a due date. Hope this helps!