Thread: Need formula
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Need formula

Create a 2 column table that lists the text and its corresponding value.
Like this:

...........E..........F
1.....text1.......1
2.....text2.......1
3.....text3.......2
4.....text4.......1

Then use this formula:

=B1+VLOOKUP(A1,E1:F4,2,0)

--
Biff
Microsoft Excel MVP


"travelinman" wrote in message
...
I am looking for a way to have Cell C1 look at A1 and determine by the text
to add 1 or 2 to the date in B1. A1 may contain up to 10 Statements. Four
of
the statements will require adding 1 to B1 and 6 of the statements will
require adding 2 to B1. Can this be done and if yes I need help. Thanks.


Cell A1 Cell B1
Cell C1
<Report Request 18-Aug <B1 +1