I have a table in Sheet1 that looks like this
**Sport**
Basketball
Basketball
Basketball
Volleyball
Volleyball
Football
Football
Football
Football
Football
Football
Hockey
Hockey
Hockey
I have a table in Sheet2 that looks like this:
SPORT Basketball Volleyball Football Hockey
SCORE 3 2 6 3
I applied the following formula in B1:
=TRANSPOSE(UNIQUE(FILTER(Sheet1!$A$2:$A$15,Sheet1!$A$2:$A$15<>"")))
The formula in B2:
=COUNTIF(Sheet1!$A$2:$B$15,Sheet2!B1)
When Sheet1's column, however, is updated For instance, if one of the hockey fields is converted to a golf course, the HEADER is modified, but the formatting and formula below are not transferred automatically.
SPORT Basketball Volleyball Football Hockey Golf
SCORE 3 2 6 3
The score for Gold is zero, as you can see. I require automatic filling of this. Is there a way for Excel to "pull" the formula that is adjacent to the column into the newly created row automatically?