View Single Post
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Hi Dawn-Anne,

You need to test for a string when using MID

="2/99/-4/-"&IF(MID($C$8,7,1)="1",8,MID($C$8,4,1))&"/980120"

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Dawn-Anne" wrote in message
...
My formula for a worksheet is ="2/99/-4/-" &
IF(MID($C$8,7,1)=1,8,MID($C$8,4,1)) & "/980120", where C8 value is
2/02/-1/825100.

Cell returns 2 and not 8 as I had hoped. Any ideas?