Need assistance w/ Alphanumerical Function...

eskelies

Board Regular
Joined
May 27, 2010
Messages
95
Thank you for taking the time to help me. I'm trying to use a function which will look at a n alphanumeric string and return a specific word. For example, =search("912*", H2,"test")...By using this function it requires me to return a number and not the word test. Should I use and if function?

Please know that I will need a nested if which will look for unique strings and return test, test1 and test2.

Thank you.

Adam
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Rather than add extra changes each time someone offers a solution, plan out exactly what you want to do first otherwise we'll be here all day.

Try
=IF(ISERROR(SEARCH("912",H2))=FALSE,"test",IF(ISERROR(SEARCH("313",H2))=FALSE,"test2","NOT FOUND"))
 
Upvote 0
Thank you for your help and sorry about that.


Rather than add extra changes each time someone offers a solution, plan out exactly what you want to do first otherwise we'll be here all day.

Try
=IF(ISERROR(SEARCH("912",H2))=FALSE,"test",IF(ISERROR(SEARCH("313",H2))=FALSE,"test2","NOT FOUND"))
 
Upvote 0

Forum statistics

Threads
1,213,527
Messages
6,114,148
Members
448,552
Latest member
WORKINGWITHNOLEADER

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top