How do i read excel data as key value pair without using cell number
I have an excel file that has data as following
filename - example.xlsx
USERNAME | PASSWORD
email@example.com | abcdefgh
I don't want to pass cell number instead, when i pass the email parameter as(firstname.lastname@example.org ) i need to get the password(abcdefgh) value equivalent to the email id as we do in the key value pairing, there are many usernames like that in that excel.