How replicates video game type

I need a formula in R that replicates the type of video game in each row, that data comes in cells C3 and C13

Hi, what have you tried? What should the output be like? Can you provide a reproducible example (not a screenshot)?