Excel - Conditional display of data

May 2017




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)) 

Related


Published by aakai1056. Latest update on May 21, 2012 at 08:58 AM by aakai1056.
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 (ccm.net).