Thread: IF function
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kivikatz kivikatz is offline
external usenet poster
 
Posts: 4
Default IF function

I would like to replicate an "IF" function to encompass several rows of data.
For instance, I have the formula =IF(A1=B1,C1,C1), which I want the cell to
show C1 whenever A1=B1 (Cell A1 is a validation list showing data from
B1:B20). I want the "IF" formula to encompass all the rows of B data
(B1:B20), so that if A is on B2, it should show C2, and if on B3, it should
show C3, and so forth). Is it possible to create a formula within a cell A1
to do that? Many thanks.