Formula in a cell disappears when data is entered

teachman

Active Member
Joined
Aug 31, 2011
Messages
319
Hello,

My problem is that I have a cell that concatenates 4 other cells. For example cell A1 has the following formula: =G6&K6&P6&V6 Let's say that G6 = 2019; K6 =MI; P6 = 031; and V6 = 037. As these four cells are populated the concatenation in A1 yields 2015MI031037 So, the concatenation works.

The problem is, sometimes the formula in A1 disappears and only the concatenation remains. What the heck! Why is this happening and how to make the formula stay?

Thanks,
George Teachman
 

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
35,943
Office Version
365
Platform
Windows
Either somebody is copy/pasting as values, or you have macro that is doing it.
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
34,692
Office Version
365, 2019, 2016, 2010
Platform
Windows, MacOS
Or you open a workbook with a userform in it that has a control linked to cell A1.
 

teachman

Active Member
Joined
Aug 31, 2011
Messages
319
Their are no user forms. Their are no macros used to enter the data. All of the code their is is what is in the cells mentioned. I thought about if the cell was protected or unprotected but experimenting with that didn't make any difference. The only person using this spreadsheet (that looks like a form) is me. And I don't copy and paste. What is more strange is that sometimes after the concatenation takes place moving the cursor (via the keyboard) into that cell will show the formula but when I put the cursor in the cell using the mouse all I see is the value of the concatenation and not the formula.
 

Watch MrExcel Video

Forum statistics

Threads
1,090,137
Messages
5,412,680
Members
403,439
Latest member
KalengoPhiri

This Week's Hot Topics

Top