web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Hi experts, Im new to ...
Power Automate
Answered

Hi experts, Im new to this platform , i have an excel as below, which contains "due date" column on 1-january-2023 , i want to change 2022 dates into 2023 in due date column using power automate

(0) ShareShare
ReportReport
Posted on by 30

Hi experts, Im new to this platform , i have an excel as below, which contains "due date" column,

 

On 1-january-2023 , i want to change dates of 2022 into 2023 in due date column using power automate. please suggest me the way.

 

year changer.jpg

 

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Ganesh31_K In schedule flow you can take current year using expression utcnow('yyyy') and update this column value.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • Verified answer
    RobElliott Profile Picture
    10,416 Super User 2026 Season 1 on at

    @Ganesh31_K you will need to make sure that you have a column in your table in Excel that has a unique value. So add a column called Row ID, select all the data and format as a table. 

    0-Excel.png


     Then the flow looks like this:

    1-Flow.png

     

    In the List rows present in a table open the advanced options and make sure you select ISO 8601 as the datetime format. The reason for that is that Excel doesn't store dates as a date but as an integer so we need to make sure the flow considers the DueDate as an actual date.

    2-Flow.png

     

    Add an apply to each and select value from the dynamic content box. Then add 2 Compose actions. For the first one select DueDate from the dynamic content box. For the second one we want to add 1 year to it and format it in the dd MMMM yyyy format you have in your spreadsheet. To do this click inside the Inputs field and in the dynamic content box click the Expression tab and paste in the following expression:

    formatDateTime(addToTime(outputs('ComposeDueDate'),1,'Year'),'dd MMMM yyyy')

     

    3-Flow.png

     

    Finally add an update a row action, again make sure that you click the advanced options link and select ISO 8601 as the date time format. For the Key Column select RowID from the dropdown. For the Key Value select Row ID from the dynamic content box. Leave the Department field empty as you are not changing the data for that. For the DueDate column select the outputs of the Compose above(ComposeAdd1Year).

    4-Flow.png

     

    When the flow runs it will update each row with 1 year added to the DueDate date.

    5-Excel.png

     

    Hope that helps.

     

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard