+ Reply to Thread
Results 1 to 5 of 5

Manual Entry without deleting formula

  1. #1
    Registered User
    Join Date
    03-30-2015
    Location
    bolingbrook, il
    MS-Off Ver
    2010
    Posts
    4

    Manual Entry without deleting formula

    Hi-

    I have searched all over for this, but I thought I just make sure. I want to somehow have a manual entry allowed in a field that contains a formula, without losing the formula. Many places I've searched say this is not possible, but there have been a couple of times I've found people who posted VBAs that said they would allow the field to contain a manual entry and if that entry was then cleared, the formula would return to the field. I tried their posts, but I couldn't get them to work. Can anyone assist me on this? Is there any other way? My other thought was that I only need the manual entry values to allow either a blank space or a "+1" in the field. Is there a way to do a conditional drop-down menu that only appears if it is triggered by specific data in another field? Does that make sense?

    I really appreciate any help you could provide on this issue. If you need me to go in to details on the specifics of what I'm looking for, please let me know.


    -G

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Manual Entry without deleting formula

    You can allow manual entry to another cell (e.g. M1), and then amend your formula like this:

    =IF(M1<>"",M1,your_existing_formula)

    so that if there is an entry in M1 it will be returned rather than the result of the formula.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    03-30-2015
    Location
    Barbados
    MS-Off Ver
    2013
    Posts
    4

    Re: Manual Entry without deleting formula

    It is not possible to manually input data while having a formula in the same cell. An alternative is that you can place the formula in another cell that references back the original cell (for manual entry).

    In regards to data validation you can use a formula like: =OR(M1="",M1=1).
    This formula allows for 1 of 2 values: Empty cell, 1
    Feel free to visit my store at www.ebdapps.com

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Manual Entry without deleting formula

    Hi, welcome to the forum

    I want to somehow have a manual entry allowed in a field that contains a formula, without losing the formula.
    no, not possible with regular formulas
    manual entry values to allow either a blank space or a "+1" in the field. Is there a way to do a conditional drop-down menu that only appears if it is triggered by specific data in another field?
    Likewise, not possible.

    The basis of this is that a cell can contain either data entry OR a formula, it cannot contain both

    Using VBA, you could probably have the value be entered, then, given certain criteria, have that value over-written with the formula again
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    03-30-2015
    Location
    bolingbrook, il
    MS-Off Ver
    2010
    Posts
    4

    Re: Manual Entry without deleting formula

    "Using VBA, you could probably have the value be entered, then, given certain criteria, have that value over-written with the formula again"

    Yes, that's what I'm trying to figure out how to do, with VBA, but I'm not really at the point where I could write that myself, so I'm trying to find someone else's script I could use. Would you know how I would write that?

+ 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] Allowing manual entry into cell which has formula while keeping th formula
    By Bobz1983 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2014, 12:12 AM
  2. Replies: 1
    Last Post: 02-22-2011, 05:16 AM
  3. Difficulty with manual entry/formula in the same cell
    By dolphinstardust in forum Excel General
    Replies: 7
    Last Post: 02-10-2011, 04:19 PM
  4. Replies: 1
    Last Post: 01-23-2007, 02:33 PM
  5. Manual or Formula entry in cell.
    By Naz in forum Excel General
    Replies: 0
    Last Post: 05-24-2005, 06:06 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