Simple Copy Paste Formula Question

Devonair

New Member
Joined
Apr 17, 2019
Messages
26
Hi,

I have a question, in my A1 cell thare is a value 35 no formula
but if I copy it then paste > formula to B1 the value 35 from A1 is also copied why is that?
I was expecting blank.

Thanks
 

jondavis1987

Active Member
Joined
Dec 31, 2015
Messages
302
From your wording it sounds like you're copying the value of of A1 and then pasting that. Can you break it down a little bit further. What exactly are you copying, where are you pasting, what's the formula you're trying to do?
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
7,793
Office Version
365
Platform
Windows
If you were to look at that cell with vba eg with the below code:

Code:
Set x = Range("a1")

MsgBox x.Formula
MsgBox x.HasFormula
The answers would be 35 and false. Its just the way excel works for the paste formulas.
 

Devonair

New Member
Joined
Apr 17, 2019
Messages
26
Thank you guys for your reply

What I did was make it to a table. it only worked at the H rows my problem now is that every time I insert a row in the table1 created only row H automatically copies the formula . other rows like I and J isn't copied automatically left blank

the formula inside my H rows is
VLOOKUP(G20,'COMPANY TRN'!$A$2:$B$136,2,FALSE)

the formula inside my I rows is
J22*0.05





Sorry Im looking for no VBA on this one
 

Forum statistics

Threads
1,082,323
Messages
5,364,579
Members
400,809
Latest member
formulasataglance

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top