+ Reply to Thread
Results 1 to 6 of 6

Adding In Forward Slashes After text (/)

  1. #1
    Registered User
    Join Date
    01-19-2012
    Location
    Manchester, United Kingdom
    MS-Off Ver
    Excel 2003 (WORK), Excel 2010 (Home)
    Posts
    24

    Adding In Forward Slashes After text (/)

    Hi All,

    Im currently working on something and im in need of some help in getting excel to populate a /1 after defiend text, however this should change in each cell such as.


    exmple:

    (D1)88987

    (A4)=IF(D1="","",D1) which inserts 88987 unless blank, however i need this to go as 88987/1
    then
    (A5)=IF(D1="","",D1) 88987/2

    And so forth

    I have tired custom format in which i can get it go to 00000/0 which shows 00000/1 however doesnt change the /1 in the next cell and so on.

    Does anyone know a way of getting the / to populate and to change the end numeber in each cell.

    Thanks in advance

    AV1D
    Last edited by AV1D; 01-19-2012 at 07:59 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Adding In Forward Slashes After text (/)

    Hi,
    and welcome to the forum

    =IF($D$1="","",$D$1)&"/"&ROW()-3
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Adding In Forward Slashes After text (/)

    Hi and welcome to the forum.

    Try something like this.

    =IF($D$1="";"";$D$1&I1) >>Copy down.>> I, is a helper column.

    Hope to helps you.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    01-19-2012
    Location
    Manchester, United Kingdom
    MS-Off Ver
    Excel 2003 (WORK), Excel 2010 (Home)
    Posts
    24

    Re: Adding In Forward Slashes After text (/)

    Thanks guys these are awesome tbh,

    I went with Richards code, however i had to change it slightly from:

    =IF($D$1="","",$D$1)&"/"&ROW()-3
    to

    =IF($D$1="","",$D$1)&"/"&ROW()-14

    to allow it to start at 1.

    Heres another one for you.

    TEST1 = Sheet name

    =IF(TEST1!C4="Partics","FILTER"&TEST1!C6) which looks at TEST1 to see if cell has Partics, C6= a number (ie.. 325) (in which is used to track what filter was used),,

    It then populates SHEET1!D5 with, FILTER325 is there anyway to tell the function to add a space in which creates FILTER 325??


    Thanks

    AV1D

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Adding In Forward Slashes After text (/)

    Hello AVID,

    Just add a space after FILTER

    "FILTER "&TEST1!C6
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  6. #6
    Registered User
    Join Date
    01-19-2012
    Location
    Manchester, United Kingdom
    MS-Off Ver
    Excel 2003 (WORK), Excel 2010 (Home)
    Posts
    24

    Re: Adding In Forward Slashes After text (/)

    Ahh, dam why didnt i think of that

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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