+ Reply to Thread
Results 1 to 14 of 14

Formula Automation

  1. #1
    Registered User
    Join Date
    03-23-2017
    Location
    VERNON, CA
    MS-Off Ver
    EXCEL 2016
    Posts
    10

    Formula Automation

    Hello Excel Forum,

    I'm a new member and I have a question that I'm not sure how to phrase exactly. I'll post what I want but this will be done manually, but I'd really like it if there was a formula that could do it for me.

    A A
    A A
    A A
    A A
    B A
    B
    B B
    C B
    C B
    S B
    S
    S C
    S C
    S C




    The Left side is the first column, and the right side is the second column. Please Note I've placed S's in a white font color at the bottom of the first column, they are just place holders so that the B's and C's in the second column don't move after this has been posted.

    I need a formula that will be able to take the values from the first column, put them in the second column with an extra of each of the letters and a blank cell between the different sets. Is this at all possible through the use of a formula? I've been trying with various if Statements, but so far I've been unsuccessful.

    I'd appreciate any answers, and especially the one that solves this conundrum. Thank you all.

    Please let me know if I've done anything wrong per formula etiquette or if I need to add any clarification to my post. Thanks again. I really appreciate it.
    Last edited by haube103; 03-24-2017 at 03:28 PM.

  2. #2
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: Formula Automation

    In B2 put"

    =A2&" "&A2 and drag down the column B

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,940

    Re: Formula Automation

    Does this need to be done with a formula?
    A VBA solution may be easier.

    BSB

  4. #4
    Registered User
    Join Date
    03-23-2017
    Location
    VERNON, CA
    MS-Off Ver
    EXCEL 2016
    Posts
    10

    Re: Formula Automation

    Hello LewisJ. Thank you for replying. Unfortunately, this does not help me. That's okay though. I should have made myself more clear as to what I wanted. I'll attach a sheet to the original post and you'll be able to better see what I mean.

  5. #5
    Registered User
    Join Date
    03-23-2017
    Location
    VERNON, CA
    MS-Off Ver
    EXCEL 2016
    Posts
    10

    Re: Formula Automation

    Hello BadlySpelledBuoy,

    I'm not opposed to a VBA, but I have zero experience with a VBA and so I wouldn't know how to even use it.

  6. #6
    Registered User
    Join Date
    03-23-2017
    Location
    VERNON, CA
    MS-Off Ver
    EXCEL 2016
    Posts
    10

    Re: Formula Automation

    Here is a sample of what I'd like to do. I'd really appreciate a formula solution.
    Attached Files Attached Files

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,940

    Re: Formula Automation

    I cannot get my head around a formula only approach to this right now, but I will keep thinking on it.

    In the mean time, attached is a sample workbook with a VBA solution. Just click the button on sheet one to run the macro.

    I'm sure it's not the most efficient (I threw it together just to get you going) but it works as required.

    Code copied below:
    Please Login or Register  to view this content.
    BSB
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    03-23-2017
    Location
    VERNON, CA
    MS-Off Ver
    EXCEL 2016
    Posts
    10

    Re: Formula Automation

    Thank you so much BSB. I really appreciate your help.

    This is definitely pushing me in the right directions. But you see, as you might have guessed I'm not really going to be using A, B, & C. I'll be using other phrases, and I've seen that I can put whatever phrase I want in it, and It'll do the same thing.

    My next question is though. I'm trying to create this sheet in such a way that If I were to ever add anymore data or take away any data from the first column then the sheet will modify itself, or with the click of a button. But the point, is I'd like it to be flexible when it comes to the addition or subtraction of data. Can you please help with that?

    If I need to clarify myself more, let me know and I'll do my best to rephrase what I've said.
    Last edited by haube103; 03-24-2017 at 04:32 PM.

  9. #9
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,940

    Re: Formula Automation

    I'm not sure I understand. If you amend the data in column A, by adding/amending/deleting, then run the macro again it will adjust column B appropriately.

    As I don't fully understand why you need to create this in the first place it's difficult to pre-empt what would be an ideal solution for you.

    BSB

  10. #10
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: Formula Automation

    This does seem to be pointless but anyway I am getting out.

  11. #11
    Registered User
    Join Date
    03-23-2017
    Location
    VERNON, CA
    MS-Off Ver
    EXCEL 2016
    Posts
    10

    Re: Formula Automation

    It's for work. And I just checked it does Accommodate what I wanted.

    What I did notice about the macro you sent me is that it doesn't add the extra "C". It Adds the extra B & A but not the C. How would I fix that?

    Thank you for your help.

  12. #12
    Registered User
    Join Date
    03-23-2017
    Location
    VERNON, CA
    MS-Off Ver
    EXCEL 2016
    Posts
    10

    Re: Formula Automation

    Quote Originally Posted by LewisJ View Post
    This does seem to be pointless but anyway I am getting out.
    It's not pointless to me. But thank you for trying to help me. It is appreciated.

  13. #13
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,940

    Re: Formula Automation

    Quote Originally Posted by haube103 View Post
    What I did notice about the macro you sent me is that it doesn't add the extra "C"..
    It adds the extra C for me. We start off with 2 and end up with 3.

    That's what this line does:
    Please Login or Register  to view this content.
    BSB

  14. #14
    Registered User
    Join Date
    03-23-2017
    Location
    VERNON, CA
    MS-Off Ver
    EXCEL 2016
    Posts
    10

    Re: Formula Automation

    Quote Originally Posted by BadlySpelledBuoy View Post
    It adds the extra C for me. We start off with 2 and end up with 3.

    That's what this line does:
    Please Login or Register  to view this content.
    BSB
    You're right. That does happen; however, when I added another C to the first column it doesn't add the extra C. Does adding an extra C below the first two c's result in you getting four C's in the second column. when you press the button.

+ 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. Year To Date Return Formula - automation needed
    By brains in forum Excel General
    Replies: 7
    Last Post: 02-05-2015, 03:04 PM
  2. formula required to enable automation of discount calc on quote sheets
    By stevedunn1973 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2013, 11:28 AM
  3. Automation Of Date In A Column Formula
    By jrusso in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-16-2012, 08:26 PM
  4. [SOLVED] 5 columns, need help on automation formula to copy
    By iswami11 in forum Excel General
    Replies: 13
    Last Post: 06-26-2012, 01:27 PM
  5. Excel 2007 : formula automation
    By studentlearner in forum Excel General
    Replies: 5
    Last Post: 06-10-2009, 07:16 PM
  6. Automation Formula almost complete
    By pboost1 in forum Excel General
    Replies: 14
    Last Post: 05-18-2006, 07:25 PM
  7. [SOLVED] pasting a formula without so much automation
    By Scott in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2005, 02:10 PM
  8. Excel formula update automation off
    By Mdlf in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2005, 07:53 AM

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