Hi,
What did you do so far? What is not working?
What i personally use and advice whenever possible is to use SQL to extract data.
It simplifies the task as you do not need to automate Excel gui, (on the other side, it might you need to learn how to handle data types).
You can read this to learn:
https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/sql-queries-excel
Then it comes down to 3 actions:
Action 1 - Open connection to excel file
Action 2 - Run SQL Select i.e.
SELECT * FROM [SHEET$] WHERE [COLUMN NAME] = 'VALUE'
Action 3 - Close connection