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 / Sharepoint list look u...
Power Automate
Unanswered

Sharepoint list look up value and sum

(0) ShareShare
ReportReport
Posted on by 10

Hi there, I'm seeking for some help about Sharepoint list.

 

I have two columns in a Sharepoint list, one column (Named Operation) get data when a new response is submitted in Forms, and another column (Named Time) is based on Operation column another list, there is an example:

 

A list stored data that Time column to look up

ItemTime2 (min)
A10
B15
C25
D40
E30

 

If Operation column get data ACD, the Time column will output 75 which is the sum of corresponding terms in item column (A-10, C-25,D-40, the sum is 75).

I have tried the Sharepoint lookup column but it doesn't seem to work the way I want it to. Is there any way to achieve this in Sharepoint List or Power Automate Flows?

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Does your form allow users to choose multiple options, and do you want to calculate the total time corresponding to the selected options?

     

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @vanzs ,

    In my scenario, the 'Operation' list is not related to the 'Time' list. I do not use a 'lookup' type column. The 'Item' column and the 'Time(min)' column in my Operation list are single lines of text and numbers respectively type.

    I did a test for your reference.

    In my scenario:

    vyetonggumsft_0-1699848254408.png

    vyetonggumsft_2-1699848359205.png

    replace(replace(replace(replace(outputs('Get_response_details')?['body'],']',''),'[',''),'"',''),',',decodeUriComponent('%0A'))

    vyetonggumsft_5-1699848627775.png

    vyetonggumsft_4-1699848553815.png

    vyetonggumsft_8-1699848798617.png

    vyetonggumsft_7-1699848693884.png

    vyetonggumsft_9-1699848823177.png

    vyetonggumsft_10-1699848852794.png

    My SharePoint:

    vyetonggumsft_14-1699849523007.png

    My MS Form:

    vyetonggumsft_13-1699849114238.png

    Best Regards,

    Sunshine Gu

     

  • vanzs Profile Picture
    10 on at

    Dear Ghatak,

     

    The answer of  these two question is both yes.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard