I am trying to make an excel formula that will tell me which site has which box. Basically if the site matches what site we are looking for and the value in the cell is > 0 then return that Box color.
Table
I need the table to look something like this
Outcome
I have tried to use the If statement, however I am not able get the formula to repeat the statement if outcome is false. The formula I am using, =IF(AND($H4=$A4,C4>0),C$1," ")
. The table I am getting is
I do not want the table to have the blank cells.