+ Reply to Thread
Results 1 to 4 of 4

Formula Suggestions?

  1. #1
    Registered User
    Join Date
    08-21-2013
    Location
    Dallas, TX
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Formula Suggestions?

    The customer for the project I'm currently working on has requested that any of the I/O tags we're using be changed from "I_MOL_C1_8" to "I_MOL_C1_08" (zero before the numbers, except 10 and above) as well as "I_CS_C3_1A_KSWD" to "I_CS_C3_01_A_KSWD". (These are just examples). To sum things up, anywhere in the name that there is a single digit number (first example), needs to have a "0" before it. There also needs to be an underscore in between that same number (example 2) and the letter that follows. The really tricky part is that they're all mixed in the same column. Sorry, I know this is confusing, but it's difficult to explain. I'm looking for some suggestions to create a formula that could make the appropriate changes to these cells. Any suggestions? If more info is needed, just let me know. Thanks in advance

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,819

    Re: Formula Suggestions?

    Are your numbers always going to be in those locations, i.e. after the third underscore, or do you have other variations? Please show all variations you are likely to encounter.

    Pete

  3. #3
    Registered User
    Join Date
    08-21-2013
    Location
    Dallas, TX
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Re: Formula Suggestions?

    Hi Pete.The number will always be after the fourth underscore (as I didn't include the whole name in my previous post, sorry about that). The following is a chunk of some of the elements from the column which show all of the variations that will be encountered:

    [PLC_02]I_MOL_C1_10
    [PLC_02]I_PE_C1_10
    [PLC_02]I_MOL_C1_11
    [PLC_02]I_PE_C1_11
    [PLC_02]I_MOL_C1_12
    [PLC_02]I_PE_C1_12
    [PLC_02]I_MOL_C1_13
    [PLC_02]I_PE_C1_13
    [PLC_02]I_DR_C1_1_OPN
    [PLC_02]I_CS_C1_1_KSWD
    [PLC_02]I_CS_C1_1_KSWE
    [PLC_02]I_MOL_C1_01
    [PLC_02]I_PE_C1_1A
    [PLC_02]I_MOL_C1_2
    [PLC_02]I_PE_C1_2
    [PLC_02]I_MOL_C1_3
    [PLC_02]I_MOL_C1_4
    [PLC_02]I_PE_C1_4
    [PLC_02]I_MOL_C1_5
    [PLC_02]I_PE_C1_5
    [PLC_02]I_MOL_C1_6
    [PLC_02]I_PE_C1_6A
    [PLC_02]I_PE_C1_6B
    [PLC_02]I_PE_C1_6C
    [PLC_02]I_MOL_C1_7

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Formula Suggestions?

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula nightmare!!! All help/suggestions welcomed
    By COLIN ROSNAB in forum Excel General
    Replies: 3
    Last Post: 03-14-2012, 11:24 AM
  2. Formula Help/Suggestions
    By bentham7246 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2009, 06:46 AM
  3. Any suggestions: Formula issue
    By kelljeff in forum Excel General
    Replies: 3
    Last Post: 04-03-2006, 02:26 PM
  4. formula suggestions?
    By MacyStruthers in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2006, 12:15 PM
  5. Array Formula- Thanks for any suggestions
    By Tom Ulincy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2005, 01:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1