+ Reply to Thread
Results 1 to 8 of 8

Manually edit the cell without delete the original formula

  1. #1
    Registered User
    Join Date
    09-18-2015
    Location
    Malaysia
    MS-Off Ver
    EXCEL 2013
    Posts
    20

    Manually edit the cell without delete the original formula

    Hi,

    I have a cell with formula which will call up a part number.

    But in some case, i want to allow user to manually enter new part number in the respective cell. How do i make it work?

    If manually enter a number, the formula will gone.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Manually edit the cell without delete the original formula

    use two columns.
    First with formula, second manually.

    If second value is blank then use formula.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Manually edit the cell without delete the original formula

    Use a temporary cell for entering Part Number.

    Replace your formula cell with an If Function.

    =if(B1<>"",b1,"Your Formula Here")

    B1 is the cell used as temporary cell.

    The above formula will check b1 and if there is any content in b1 then it will take the B1 cell value.

    If B1 is blank then it will run your formula.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    09-18-2015
    Location
    Malaysia
    MS-Off Ver
    EXCEL 2013
    Posts
    20

    Re: Manually edit the cell without delete the original formula

    any solution if i dont want to create any temporary cell?
    This is because the cell is used by other user, just like a form.

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Manually edit the cell without delete the original formula

    You can't overwrite formula and expect that formula exist.
    What would be meaning of overwritting then?!

  6. #6
    Registered User
    Join Date
    09-18-2015
    Location
    Malaysia
    MS-Off Ver
    EXCEL 2013
    Posts
    20

    Re: Manually edit the cell without delete the original formula

    i am doing the formula to be used in the document controlling system.
    For instance:
    Cell A1 has drop down list: NEW, CURRENT, REPLACEMENT
    Cell A2 is a empty cell with formula and i need it to allow manually edit
    Cell A3 has a data

    Cell A2 has a formula to do the following:
    i) IF A1=REPLACEMENT, then A2=A3
    ii) IF A1 IS BLANK or NEW or CURRENT, then A2 = ""
    iii) BUT IF A1=REPLACEMENT & A2 IS NOT EQUAL WITH A3, then User will have to manually edit A2. After manually edit, the system will lookup data in another workbook.

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Manually edit the cell without delete the original formula

    We already explained you what is possible, repeating your initial post content in many posts is a waste of time for you.

  8. #8
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: Manually edit the cell without delete the original formula

    Quote Originally Posted by CYCHEAH View Post
    i am doing the formula to be used in the document controlling system.
    For instance:
    Cell A1 has drop down list: NEW, CURRENT, REPLACEMENT
    Cell A2 is a empty cell with formula and i need it to allow manually edit
    Cell A3 has a data

    Cell A2 has a formula to do the following:
    i) IF A1=REPLACEMENT, then A2=A3
    ii) IF A1 IS BLANK or NEW or CURRENT, then A2 = ""
    iii) BUT IF A1=REPLACEMENT & A2 IS NOT EQUAL WITH A3, then User will have to manually edit A2. After manually edit, the system will lookup data in another workbook.
    As they was told it is not possible to have a formula in a cell and then write something in that cell.
    Something is wrong in your logic:
    You said:
    i) IF A1 =REPLACEMENT, THEN A2 = A3
    and
    iii) BUT IF A1 = REPLACEMENT & A2 IS NOT EQUAL WITH A3 ????
    How might happen if A1 = REPLACEMENT and thus A1 = A2?

+ 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] Edit File Manually while Macro is running.
    By lifeankit in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2014, 05:52 AM
  2. [SOLVED] Move entire row from one sheet to another based on cell value & delete the original row
    By ceciliacrawford in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-08-2014, 03:12 AM
  3. Formula -- subtract date, delete original column?
    By mlengel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-14-2013, 12:58 PM
  4. Macro to delete set of cells but return to original cell
    By hani9041 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-29-2012, 03:48 PM
  5. Delete Cell Value but keep the cell formula through VBA and Manually
    By dev.amit in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2010, 08:22 AM
  6. Replies: 0
    Last Post: 10-11-2010, 11:20 PM
  7. IF formula question:edit the fist half of the original formula
    By impress in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2006, 08:35 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