It depends on how the dropdown is built in the web page. If it is a <select> element with children that have proper names, you should be able to simply use Set drop-down list value on web page and pass the variable value from Excel as the option to select. No need to have any conditions there.
If it's not a <select> element, but more like some <div> that invokes some JavaScript function on click, you will likely need to use Press button on web page to open the dropdown, then use Extract data from web page to retrieve the available values, loop through them to find the one matching what you need, and then use Press button on web page to press the one you matched against. You will need to modify the selector for the option to click on to also include a variable (such as a loop index). See here for more reference on how to modify selectors: https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors#use-variables-in-a-custom-selector Also watch this tutorial: https://www.youtube.com/watch?v=2PcyBa22Jj8&ab_channel=Thomas%22Shaky%22Petersen
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.