+ Reply to Thread
Results 1 to 6 of 6

Unable to find out why a cell is being overwritten by the formula in that cell.

  1. #1
    Forum Contributor
    Join Date
    09-08-2005
    Location
    UK
    MS-Off Ver
    2010
    Posts
    107

    Unable to find out why a cell is being overwritten by the formula in that cell.

    I have 5 cells next to each other with a similar formula:

    Please Login or Register  to view this content.
    (Course is a named cell that shows a selected variable (the name of a course))

    Some of the cells show the result of the formula while others replace the formula with the result (sometimes with " ' " in front of it) seemingly at random!!

    I've attached the sheet that is causing the problem Q15 to V15 is the result area. The formula in Q19 - Q24 are there because I was fed up of replacing the text result with the formula time and again.

    Any advice would be appreciated.

    Cheers
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Unable to find out why a cell is being overwritten by the formula in that cell.

    I am confused: remove the single quote and the formula is OK.

    It suggests cells have somehow been formatted as TEXT.
    Last edited by JohnTopley; 01-19-2018 at 12:42 PM.

  3. #3
    Registered User
    Join Date
    08-07-2017
    Location
    Newport, Wales
    MS-Off Ver
    2013
    Posts
    13

    Re: Unable to find out why a cell is being overwritten by the formula in that cell.

    Hi John, this is Daminc with work profile.
    The single quote was there because I was fed up typing the formula's again whenever the cell got overwritten. I don't use the single quote in the active cells.
    Another possibility might have something to do with the form I am trying to build that views the data in a front end view.
    I originally discounted this because, as far as I can see, all the settings are equally applied to all 5 of the cells and yet 2 of the cells repeated keeps the formula while the others change to text with a single quote in front.
    If it helps, I could attach the whole workbook and you can check out the form?

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Unable to find out why a cell is being overwritten by the formula in that cell.

    I can't see any problem, either. The formula could be simplified, but you would need to be consistent in your use of spaces in column A PDR Training which has a space and all of the others, which don't. You could then use a straightforward INDEX-MATCH, like this one: adapted for non-spaces in column A and relevant spaces in Q15:

    =INDEX($C$11:$O$107,MATCH(SUBSTITUTE($Q15," ",""),$A$2:$A$98,0),1+3*(COLUMNS($A:A)-1))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    08-07-2017
    Location
    Newport, Wales
    MS-Off Ver
    2013
    Posts
    13

    Re: Unable to find out why a cell is being overwritten by the formula in that cell.

    Cheers Glen. I will look into that when I've sussed why my formulas are being overridden.
    Currently, I'm investigating the control source with the textbox's.

  6. #6
    Registered User
    Join Date
    08-07-2017
    Location
    Newport, Wales
    MS-Off Ver
    2013
    Posts
    13

    Re: Unable to find out why a cell is being overwritten by the formula in that cell.

    There seems to be a lot of reference's to problems with the ControlSource but it seems very odd that only 3 of the 5 cells have their formulas
    overridden when they virtually have the same formula and referencing

+ 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. Running Total that Feeds from Overwritten Cell
    By Adamac13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2017, 07:37 AM
  2. One worksheet cell being overwritten based on texts in other cells
    By brewsterdw in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 09-13-2015, 03:08 PM
  3. cell being overwritten by new information?
    By taylorjwbrown in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2014, 09:33 PM
  4. Replies: 1
    Last Post: 05-22-2013, 05:47 PM
  5. Replies: 4
    Last Post: 06-22-2012, 03:16 PM
  6. Replies: 1
    Last Post: 02-20-2006, 01:11 AM
  7. [SOLVED] how do I automatically advance data to next cell when overwritten
    By today() in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-19-2005, 12:05 PM

Tags for this Thread

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