+ Reply to Thread
Results 1 to 2 of 2

How to have a data constant that merges upon copying data into the cell from another WB?

  1. #1
    Registered User
    Join Date
    08-19-2014
    Location
    Greensboro, NC
    MS-Off Ver
    2010 Professional Plus
    Posts
    1

    How to have a data constant that merges upon copying data into the cell from another WB?

    Hello Everyone,

    It's been awhile since i've visited but i've returned with a help request. I have 2 workbooks i have working with. Workbook 1 has constant headers and also has column A which has a constant "HomeDepot:" in the cells throughout that column. What i want to do is copy data from workbook2 which has different data in column A "John Smith" for example, as well as other data in other columns. I want to be able to copy all the data in workbook2 and paste in workbook1 but with retaining the constant data in workbook1 column A and merge them. For example: "HomeDepot: John Smith". I also want to be able to automatically have 1 space created between the : and the first letter of the data that is copied into the cell. Please see the attached screen shot for further clarity! Thanks!

    John
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,014

    Re: How to have a data constant that merges upon copying data into the cell from another W

    In G4, use the formula

    =A4 & ": " & D4

    Or use

    =IF(D4<>"", A4 & ": " & D4, "")

    Then copy down.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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. Autofill non-random or consecutive data (constant and multiple values data)
    By etgriffiths in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-22-2013, 09:16 PM
  2. [SOLVED] Macro that merges matching data from two sheets and pastes to a new sheet (in line)
    By njmiller31 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-16-2013, 11:06 AM
  3. Copying only the merges over from a table
    By tjnelso in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-09-2013, 01:48 PM
  4. Replies: 1
    Last Post: 03-20-2013, 10:18 PM
  5. How do you hold a cell constant when copying a formula?
    By stevenlcohen in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-12-2011, 10:20 AM
  6. Form button controlled macro that merges data from rows into Word & saves them
    By a.mack123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2010, 07:42 PM
  7. [SOLVED] Copying and Pasting a cell with a constant number
    By DenDz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-31-2006, 03:00 PM
  8. Replies: 3
    Last Post: 04-26-2006, 02:30 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