Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jan Buckley
 
Posts: n/a
Default Nested IF and MID functions

I am trying to use a MID function with an IF statement and keep getting an
error prompt. I can enter the MID function with no problem: MID(D2,4,1) IF
the 4th digit of the info in cell D2 is an A or greater, then I want to see
D2 in my cell, otherwise I don't want anything. Help!
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF(MID(D2,4,1)="A",D2,"")

--

HTH

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


"Jan Buckley" wrote in message
...
I am trying to use a MID function with an IF statement and keep getting an
error prompt. I can enter the MID function with no problem: MID(D2,4,1) IF
the 4th digit of the info in cell D2 is an A or greater, then I want to

see
D2 in my cell, otherwise I don't want anything. Help!



  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

ONe way:

=IF(MID(D2,4,1)="A",D2,"")

You may be surprised by the results of ="A". Post back with more info
if you need another criterion.

In article ,
"Jan Buckley" wrote:

I am trying to use a MID function with an IF statement and keep getting an
error prompt. I can enter the MID function with no problem: MID(D2,4,1) IF
the 4th digit of the info in cell D2 is an A or greater, then I want to see
D2 in my cell, otherwise I don't want anything. Help!

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 06:39 PM.

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

About Us

"It's about Microsoft Excel"