How to get Row color in excel

hey i am inserting value in excel with some condition if condition is true the cell will be green otherwise it will be red .
so my requirement is if one row has only green color then in last column(H<img

if row has ONLY red value then write FAIL

Hey @pankaj

You can look into this thread: