Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

IF With Like Func

$
0
0

hey,

i try do make some command but i get error (code problem), i know hwo to do it in sql but in excel 2010 command it's litel difrent.

what i looking to do ?

  • i need to check if B2 Cell Blank or not, if it's blank i need to get "Blank" Text.
  • if B2 start with the "103*" (like "103*" so it's write "A310").
  • if B2 start with the "002-013" (BETWEEN 002 AND 013) so it's write "R380".

Cell B2 it's Text and the user need to input here some serial Number, i have a multiple rows with another s/n (B3, B4, B4, etc...)

for example: 
if B2 Cell = "007PGAH33221" it's write "R380"

The Code i write:

=IF(ISBLANK(B2)=TRUE,"BLANK",IF(=LIKE "103*", "A310","R380")

I am sure that this minor error, can anyone help?


Please Mark This As Answer if it helps to solve the issue

Tzuri Ben Ezra | My Certifications:CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP|
FaceBook: Tzuri FaceBook | vCard: Tzuri vCard | 
Microsoft ID:Microsoft Transcript 
 |
 


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>