+ Reply to Thread
Results 1 to 2 of 2

Only replace certain cells while leaving others intact

  1. #1
    Registered User
    Join Date
    12-04-2018
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    28

    Only replace certain cells while leaving others intact

    So this is a new problem I have come up against which I cannot figure out how to solve.

    What I am trying to do is look up the various container numbers in the "Daily Report" from "Lookup sheet 1" and replace the values in "Daily" report with the values from "Lookup sheet 1." However, I do not want to use a vlookup or something so I wipe the other data.

    For example:
    CAIU7252705 only needs the Shipment Reference - SRN replaced in Daily report, however BEAU4778380 needs only the Material Code replaced and not the SRN. So how do I go about creating a formula or something that I can change / replace these various fields while keeping the rest of the data intact? Like for BEAU4778380 the SRN is correct, but the material code is not.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-14-2019
    Location
    Charlotte, NC, USA
    MS-Off Ver
    Office 365
    Posts
    20

    Re: Only replace certain cells while leaving others intact

    Other than with a VBA solution, I don't know how you can do this without replace existing values... unless you create a copy of the daily-report "All Shipments" tab. If you do that... on say an "All Shipments(2)" tab, then you could do something like this in cell B1 as an example:
    Please Login or Register  to view this content.
    In human speak, this is saying... lookup the container number on the lookup report.. if that returns a zero or an error, then use the original data, otherwise use the new data.

+ 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. [SOLVED] Remove items from cell, leaving formatting intact.
    By staggers47 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-08-2022, 09:32 AM
  2. Write to next 3 cells based on condition VBA while leaving formulas intact
    By iorivera in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-17-2015, 02:56 PM
  3. [SOLVED] Extract all the words from a string for processing, while leaving string intact.
    By staggers47 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-10-2014, 02:02 PM
  4. Replies: 6
    Last Post: 07-30-2014, 04:46 PM
  5. [SOLVED] How to efficiently change function, leaving the rest of the formula intact?
    By seanspotatobusiness in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-24-2014, 10:40 AM
  6. [SOLVED] Routine to remove brackets around words, leaving the format intact. Doesn't always work.
    By staggers47 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-30-2013, 09:02 AM
  7. Replies: 5
    Last Post: 01-18-2013, 11:21 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