Convert Excel formula to VB

adriaandl

New Member
Joined
Sep 4, 2015
Messages
10
Hi,

I am new to VB and would like to know how I can change my excel formula to VB?
this is my formula:
=IF(A3="Telkom","TGE",IF(ISNUMBER(SEARCH("mobile",A3)),"MOB",IF(ISNUMBER(SEARCH("ambulance",A3)),"TSC",IF(ISNUMBER(SEARCH("toll free n",A3)),"TSC",IF(ISNUMBER(SEARCH("toll free p",A3)),"TSC",IF(ISNUMBER(SEARCH("telkom spec",A3)),"TSC",IF(ISNUMBER(SEARCH("telkom univ",A3)),"TNG",IF(ISNUMBER(SEARCH(" e toll free",A3)),"TNG","OLO"))))))))

Any help is appreciated.

Adriaan.
 
sorry was in a meeting. so yes that is the solution to the header question.

glad I could help

rich
 
Upvote 0

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