Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
=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
![]() |
|||
|
|||
![]()
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 |
Display Modes | |
|
|