Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Updating Item in SharePoint when Data in Column from List A match Column from List B

(0) ShareShare
ReportReport
Posted on by 4,146 Super User 2025 Season 1

Hello,

 

I have two Lists A and B

List A have a column WorkingHours what Concatenate StartTime and FinishTime columns in format 10:00-18:00

I have also List B, that one have column ShiftName and it's list of different Start Times ShiftName is in same format as WorkingHours.

 

List B have additional Columns like D,B,N and Hours in each depend on Time person working that Columns are also present in List A

Now I want to Update List A columns D,B,N when WorkingHours or StartTime&"-"&FinishTime are equal  ShiftName 

 

Can I ask for Help with showing me how the condition and Update item should Look to achieve this Please.

 

Regards

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Updating Item in SharePoint when Data in Column from List A match Column from List B

    Hi @SebS,

    Do you want to concatenate two time value into string?

     

    If so, I think you could directly use the concat() expression to achieve your need. Note that you should firstly format the date time into string using the formatedatetime().

    Here is a simple demo, please check as below:

    vqiaqimsft_1-1662351858845.png

    formatDateTime(utcNow(),'hh:mm')

    vqiaqimsft_0-1662351845872.png

    concat(outputs('Compose'),'-',outputs('Compose_2'))

     

  • SebS Profile Picture
    4,146 Super User 2025 Season 1 on at
    Re: Updating Item in SharePoint when Data in Column from List A match Column from List B

    Is there a way in expression to concatenate two Time Value to format 10:00-18:00 ?

    I'm assuming if I just concat(StartTime,"-",FinishTime) I will get String like 0.22222-0751 is there a way to format StartTime same as in excel or power apps Text(StartTime,"hh:mm")& "-" &Text(FinishTime,"hh:mm") ?   

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow