+ Reply to Thread
Results 1 to 10 of 10

Macro to add new column

  1. #1
    Registered User
    Join Date
    01-23-2014
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    79

    Macro to add new column

    Macro to add new column which will be the result from two exisisting columns.??

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Macro to add new column

    Hi,

    With a plethora of free online translating services now available on the internet, I feel sure that you can make more of an effort in describing your requirements.

    Regards
    Click * below if this answer helped

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

  3. #3
    Registered User
    Join Date
    01-23-2014
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: Macro to add new column

    Quote Originally Posted by XOR LX View Post
    Hi,

    With a plethora of free online translating services now available on the internet, I feel sure that you can make more of an effort in describing your requirements.

    Regards
    Sorry if my language is not understandable

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Macro to add new column

    Where do you want this new column to be inserted? What do you mean by "result from two existing columns"?

    Regards

  5. #5
    Registered User
    Join Date
    01-23-2014
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: Macro to add new column

    I need a macro which will firstly search column with column headers name then apply some operation on those two columns and give the result on the last blank column.
    suppose i have one column with header "store no" and some other column with header as "Store Name" i want 3rd column at the end which will be the concatenation of both columns. How can i get this result through macro. ?

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Macro to add new column

    I think you need to attach a workbook with your desired results clearly outlined.

    Regards

  7. #7
    Valued Forum Contributor
    Join Date
    01-19-2010
    Location
    Melbourne Australia
    MS-Off Ver
    latest is Excel 2016. have older versions
    Posts
    624

    Re: Macro to add new column

    Hi.

    it is not your language that I think @XOR LX was talking about.

    If you need assistance to resolve a problem you are facing then please take the time to read the forum rules and suggestions.

    Always explain what you are trying to do, attach a sample spreadsheet (with no confidential information please) with your input data AND what you expect the output to be for each input data row

    Then you will increase you chances of getting help by about 1000% percent. The contributors on this forum are all volunteers and if the problem isn't easily understood we are likely to just pass the request by, sorry but we only have a limited amount of time to help others as we all have "other jobs"

    Jmac1947

  8. #8
    Registered User
    Join Date
    01-23-2014
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: Macro to add new column

    In the Attached workbook you can see the column with red color is the combination of A and B column . i have applied formula on that column manually. So,i need to populate this computed column through macro.
    Attached Files Attached Files

  9. #9
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Macro to add new column

    Thanks. Based on that workbook:

    (Note: enter the letter of each column in the input boxes, not the header name.)

    Please Login or Register  to view this content.

    Regards

  10. #10
    Valued Forum Contributor
    Join Date
    01-19-2010
    Location
    Melbourne Australia
    MS-Off Ver
    latest is Excel 2016. have older versions
    Posts
    624

    Re: Macro to add new column

    hello @ tanvi_kalra

    It is now nearly a month since @ XOR LX supplied you with a possible solution.

    It is good "form" to mark a thread as solved if indeed it has been resolved (see thread tools in the top right of your first post) and even better "form" to click on the "*Add Reputation" button on any post from any person who helped you resolve your problem

    Jmac

+ 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. Code/Macro that takes fluctuating info in one column and makes static in another column.
    By Sonny Crockett in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-18-2013, 08:36 PM
  2. [SOLVED] Macro to count unique values in a column, enter it in next column, then delete duplicates
    By pmorisse in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-25-2013, 03:27 PM
  3. Formula/macro to edit cells in one column based on contents of a cell in another column
    By robbyvegas in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-25-2012, 06:10 AM
  4. Need copy the column d instead of column b, macro working fine for column b
    By audax48 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-20-2012, 04:32 PM
  5. Replies: 1
    Last Post: 05-06-2011, 03:08 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