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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get specific excel cel...
Power Automate
Unanswered

Get specific excel cell value based on condition

(0) ShareShare
ReportReport
Posted on by 10

Need help here.

I am trying to get specific cell values from excel sheet and extract those values in list:

 

Required results:

LabSum
CN2234
BN3245
IN8765

 

Below is the data

 

LABindexCW1CW2CW3CW4CW5CW6CW7CW8
CN1111222150320119655957 
CN2119655957111222150320 
CN3436656875889119655957 
Sum 66615331982132046014602234 
BN1111222150320119655957 
BN2119655957111222150320 
BN3436656875889119655957 
Sum 66615331982132046014603245 
IN1111222150320119655957 
IN2119655957111222150320 
IN3436656875889119655957 
Sum 66615331982132046014608765 
Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Shivaandure ,

    I've made a test for your reference:

    vbofengmsft_1-1682302294271.png

    function main(workbook: ExcelScript.Workbook): MyData {
     let selectedSheet = workbook.getWorksheet("Sheet1");
     return {
     CN: selectedSheet.getRange("I5").getValue(),
     BN: selectedSheet.getRange("I9").getValue(),
     IN: selectedSheet.getRange("I13").getValue(),
     } as MyData;
    }
    
    interface MyData {
     CN: string;
     BN: string;
     IN: string;
    }

    vbofengmsft_2-1682302314282.png

    Result:

    vbofengmsft_0-1682302235582.png

     

    Best Regards,

    Bof

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard