Excel, equating 2 columns formula

Closed
squirrrelly1 - 28 Jul 2011 à 10:24
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 28 Jul 2011 à 13:31
Hello,


I'm trying to take 3 columns and make them a bit neater.

Say column A came from a customer listing such things like Apple, Orange, Banana
Say column B is a set column to compare column A with, where if an item in column B equals column A then it should be equal to column C

So basicly, if A 1:? = B 1:? then the corresponding C to the column B should be displayed.

OK, perhaps I've even confused myself. If A1= Apple and in comparing the columns you find B12 = Apple then I want C12 which equals smoothie to be displayed.
Related:

1 response

rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
28 Jul 2011 à 13:31
Sound like you are looking for VLOOKUP.
in your C column you can have

=VLOOKUP(A2, A:B, 2, false)