Forum Discussion

berhardt93's avatar
berhardt93
Copper Contributor
Dec 15, 2020

Auto-filling column data

Hi,

 

I'm hoping to have help with an issue I've run into. I have columns A and B in one tab, which has the following data :

 

DogBlue
CatRed
TurtleGreen

 

On the second tab, I have the following table :

AnimalColor
Dog 
Cat 
Turtle 
Dog 
Cat 
Turtle 
Dog 
Dog 
Dog 

 

Is there a way to insert a function that looks to the first table, then autofills column B in the second table, so the colors would be filled in automatically?

 

This is an example, but my list A is about 400 items and my list B is about 2000, so it would take a long time to fill in manually.

2 Replies

  • 0rtli's avatar
    0rtli
    Copper Contributor

    berhardt93 =VLOOKUP(A2,Sheet1!$A$1:$B$3,2,FALSE)

     

    where this table is on Sheet 1 tab from A1 till B3

    DogBlue
    CatRed
    TurtleGreen

    and second table is on Sheet 2.

Resources