+ Reply to Thread
Results 1 to 4 of 4

Formula clears in the data validation cells

  1. #1
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Formula clears in the data validation cells

    Hi Experts

    Requesting your help in the below query

    I am trying to validate if a cell is blank with a 'if condition+data validation'. However sometime I have to overwride the formula, and change the value of the validation manually. However when I do that the formula get cleared in the cell.


    I need help in retaining the formula still in the cell.. Attached is the test sheet.. Looking for your assistance.. thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Formula clears in the data validation cells

    You can't change the formula and still have it.

  3. #3
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: Formula clears in the data validation cells

    Hii Jason... thanks however is this possible through VBA

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Formula clears in the data validation cells

    If you overtype the formula then the formula is gone, if you use any other method to retain the formula when it is deleted then it will immediately replace the override value with the original formula and return to the original result, leaving you in an infinite loop.

    The only possible way out is to use multiple columns, one for formulas, one for overrides, then probably a third column =IF(override<>"",override,formula) to use with any formula that needs to look at the results of the whole column.

+ 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. Data validation to allow blank cells with formula
    By tbrooksy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2017, 12:09 PM
  2. [SOLVED] How do I speed up VBA code that clears cells
    By Bobbbo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-03-2017, 07:05 PM
  3. [SOLVED] Table cells data validation with formula and list
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-02-2017, 04:41 PM
  4. Replies: 7
    Last Post: 02-12-2016, 01:54 PM
  5. Data Validation Formula to compare groups of cells
    By slaro in forum Excel General
    Replies: 5
    Last Post: 01-14-2012, 08:01 PM
  6. Macro that saves cell data to a separate spreadsheet and clears cells?
    By peepo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2010, 10:47 AM
  7. [SOLVED] Moving section of cells clears instead!?
    By Don Wiss in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2005, 10:06 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