Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
haitch2
 
Posts: n/a
Default Help with using the IF and Mid functions


Hi

I was hoping sombody could look at my formual and tell me were im going
wrong.

I have a number in I38 and depending on the value (1,2 or 3) it splits
the Text in H38 acordingly

=IF(I38=1,MID(H38,1,1),IF(I38=2,MID(H38,2,1),MID(H 38,3,1)))

Any pointers to were i have gone wrong would be great

Thanks


--
haitch2
------------------------------------------------------------------------
haitch2's Profile: http://www.excelforum.com/member.php...o&userid=27677
View this thread: http://www.excelforum.com/showthread...hreadid=474626

  #2   Report Post  
Rowan Drummond
 
Posts: n/a
Default

What about: =MID(H38,I38,1)

Hope this helps
Rowan

haitch2 wrote:
Hi

I was hoping sombody could look at my formual and tell me were im going
wrong.

I have a number in I38 and depending on the value (1,2 or 3) it splits
the Text in H38 acordingly

=IF(I38=1,MID(H38,1,1),IF(I38=2,MID(H38,2,1),MID(H 38,3,1)))

Any pointers to were i have gone wrong would be great

Thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"