+ Reply to Thread
Results 1 to 4 of 4

Increment Suffix of cell contents by 2

  1. #1
    Registered User
    Join Date
    09-08-2019
    Location
    UK
    MS-Off Ver
    365
    Posts
    15

    Increment Suffix of cell contents by 2

    Hello All,

    I have the value abmd-10 in cell b5 and wish to increase the number by 2 to 12 (keeping the prefix abmd-) and put the result in cell b6.
    This then needs to repeat down column b ad infinitum.

    Can somebody be kind enough to suggest a solution please.
    Many thanks,
    Tony

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Increment Suffix of cell contents by 2

    How about
    =LEFT(B5,FIND("-",B5))&MID(B5,FIND("-",B5)+1,100)+2

  3. #3
    Registered User
    Join Date
    09-08-2019
    Location
    UK
    MS-Off Ver
    365
    Posts
    15

    Re: Increment Suffix of cell contents by 2

    Many thanks Fluff13 - you have saved my index finger!
    Kind regards

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Increment Suffix of cell contents by 2

    You're welcome & thanks for the feedback

+ 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. Refining the contents of a combo box drop down list that utilises additem suffix
    By BoosterZn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2019, 08:16 PM
  2. [SOLVED] Changing a positive or negative value based on the input's suffix, then removing suffix
    By Theredwind in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-06-2014, 05:19 AM
  3. [SOLVED] Control Button to increment by 1 and then select next cell in row to increment that cell
    By rammergu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2012, 07:35 PM
  4. [SOLVED] Increment down 1 row at a time, copy cell contents to another workbook
    By burl_rfc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2006, 05:50 PM
  5. Replies: 4
    Last Post: 08-18-2005, 03:05 PM
  6. [SOLVED] How do I had a suffix to a cell i.e. -1,-2,-3?
    By controller_woman in forum Excel General
    Replies: 1
    Last Post: 07-12-2005, 01:05 PM
  7. increment cell reference whilst reading numeric contents
    By Pete Collings in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2005, 02:05 PM

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