How can I make a Google Sheets arrayformula+vlookup(or if statements) return the value more than once? Right now it defaults to returning the value but doesnt do it if its listed again. Currently looks something like this:
=ARRAYFORMULA((IF(ROW(A:A)=1,"Class",
if(G:G=Sheet3!C:C,"Fruit"," "))))
Column G being the "Type" Column
Type, Class
Apple, Fruit
Apple, N/A
Apple, N/A
Banana, Fruit
Banana, N/A
Link to example sheet
https://docs.google.com/spreadsheets/d/10Z9JhGSQ7oi3hyYUBjcx3kAWo2ASrqovIk5OOCsv4Hk/edit?usp=sharing