+ Reply to Thread
Results 1 to 4 of 4

Looking for a formula to paste cells without override.

  1. #1
    Registered User
    Join Date
    09-19-2013
    Location
    Kuala Lumpur, malaysia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Looking for a formula to paste cells without override.

    Hi gurus. am looking for a formula to paste value without overriding another value. For example in my case, I want to replace the value in G column (highlighted in red) by the value from J column (cells that on the same row as the values highlighted in red). For those values in B column that originally start with M180, i want it to be untouched. Right now I dont know what formula should i use.

    U can see the attachment for reference. Tq
    Attached Images Attached Images

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Looking for a formula to paste cells without override.

    You can not place a value and a formula in the same cell. Rather you can place the formula in another column (say H).
    There are several ways to achieve this and one of this is as below. Try this in H2

    Please Login or Register  to view this content.
    and drag down.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Looking for a formula to paste cells without override.

    You can try this

    in K2 use formula

    =IF(J2="",G2,SUBSTITUTE(G2,G2,J2))

    and copy it down then copy all values in column K and Paste Special back in column G Values only.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Looking for a formula to paste cells without override.

    Alkey's formula is much better because you said that you want to replace the value from the same row and I forgot that point.

  5. #5
    Registered User
    Join Date
    09-19-2013
    Location
    Kuala Lumpur, malaysia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Looking for a formula to paste cells without override.

    Thanks Alkey and sktneer. its working. now i understood the IF function

+ 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. Override a cell that has a formula
    By Treecko in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-29-2013, 07:11 PM
  2. [SOLVED] Checkbox to override excel formula
    By sasindiv in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-04-2013, 07:22 PM
  3. Combo Box which can override a Sum Formula
    By mcarr5 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2009, 11:09 AM
  4. Formula argument limit override?
    By jpsnaggs in forum Excel General
    Replies: 1
    Last Post: 01-18-2007, 02:10 PM
  5. DropBox w/out user override through paste
    By Leo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-18-2006, 12:35 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