Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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? |
#2
![]() |
|||
|
|||
![]()
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? |
#3
![]() |
|||
|
|||
![]()
Thanks Bob - worked a treat. Better start glueing my hair back in!
"Dawn-Anne" wrote: 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? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to nest a left function within a sumif function? | Excel Worksheet Functions | |||
Conversion | Excel Worksheet Functions | |||
Trim function doesn't clean out ASCII Code 160 (Space) | Excel Worksheet Functions | |||
Formula to list unique values | Excel Worksheet Functions | |||
How do I nest an OR function within an AND function? | Excel Worksheet Functions |