0
Thanks

A few words of thanks would be greatly appreciated.

Excel - Conditional display of data




Issue


I am trying to find a way to perform the following without Macro but met with much difficulty.
  • If Cell A1=Any value available in Column B (e.g. B3), Cell A2 would display corresponding value shown in Column C of the same row (e.g. C3).

Solution


Use the following formula in A2:
  • =VLOOKUP(A1,B:C,2) 
  • Or you can use this one:
  • =IF(ISERROR(VLOOKUP(A1,B:C,2,0)),"",VLOOKUP(A1,B:C,2,0)) 
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled "Excel - Conditional display of data," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).

0 Comments