+ Reply to Thread
Results 1 to 8 of 8

Sequential Concatenation

  1. #1
    Registered User
    Join Date
    02-06-2014
    Location
    United States
    MS-Off Ver
    Standard 2019
    Posts
    26

    Unhappy Sequential Concatenation

    Hello,
    I am new here, but have a question I have not been able to answer anywhere else. I woulk to have the window tag section, which is a concatenate formula [=IF($B44>0,CONCATENATE($D$5,-1),"")] pull the floor number from cell D5, and then for each sequence that is added in this case below, add another number. For example, "MARK" A would be 13-1; "MARK" B would be 13-2; "MARK" C would be 13-3; "MARK" D would be 13-4 and so on. Basically, I was thinking that everytime there is a value >0 in the "MARK" column I would like the second half of the "Window Tag" concatenation to increase by "1". Anyone have any ideas? Does anyone actually understand what I am asking? HAHA

    Thank you!

    concatenate.png

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Sequential Concatenation

    Hi and welcome to the forum

    I understand what you want, but please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you Also, not all members can upload picture files (Company firewalls and stuff)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    02-06-2014
    Location
    United States
    MS-Off Ver
    Standard 2019
    Posts
    26

    Re: Sequential Concatenation

    Thank you for the clarification! Attached you will find a copy of the sheet I am working with. Please note that I would like to have my sequential concatenation begin in cell A44, and continue down to A103. If anyone has any questions or requires additional information or clarification from me, please let me know.

    Thank you!
    Attached Files Attached Files

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Sequential Concatenation

    you could try
    =IF(B44<>"",$D$5&"-"&COUNTA($B$44:B44),"")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Sequential Concatenation

    Thanks, that makes things much easier

    If you want to have the sequence to continue, despite blanks in B (ie 13-1, 13-2, 13-3, 13-6, 13-7), then use this...
    =IF($B44>0,$D$5&"-"&ROWS($A$1:A1),"")

    If you dont want the blanks counted, use this instead...
    =IF($B44>0,$D$5&"-"&COUNTA($K$43:K43)-COUNTBLANK($K$43:K43),"")

  6. #6
    Registered User
    Join Date
    02-06-2014
    Location
    United States
    MS-Off Ver
    Standard 2019
    Posts
    26

    Re: Sequential Concatenation

    Thank you! That was EXACTLY what I was looking for!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Sequential Concatenation

    Just out of curiosity, which 1 worked for you?

  8. #8
    Registered User
    Join Date
    02-06-2014
    Location
    United States
    MS-Off Ver
    Standard 2019
    Posts
    26

    Re: Sequential Concatenation

    MartinDWilson's answer was exactly what I was looking for.

    Thank you again.

+ 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. Replies: 3
    Last Post: 01-30-2014, 05:31 AM
  2. [SOLVED] Create sequential letters (A, B, C) in sequential cells
    By Theale in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-29-2012, 02:47 PM
  3. How to copy sequential vales into non sequential rows
    By dchalem in forum Excel General
    Replies: 11
    Last Post: 01-18-2011, 12:19 PM
  4. Plotting sequential data against sequential dates
    By Morph71 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-04-2009, 05:33 PM
  5. Non-sequential VLOOKUP function -OR- sequential sort of web query
    By Eric S in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2005, 04: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