View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default What function do I use to return a certain value for specific text

=(A1="5-2000")*31 + (A1="5-6100")*36
format as currency
--
Gary's Student


"marjoryann" wrote:

e.g. if 5-2100 is entered into A1 then A2 should automatically = $31.00, if
5-6100 is entered into A1 then A2 should automatically = $36.00.