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
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
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?
 
Upvote 0
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.
 
Upvote 0
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
 
Upvote 0
SCREENSHOT

FORMULA%20CONFIG.jpg
 
Upvote 0

Forum statistics

Threads
1,224,752
Messages
6,180,743
Members
452,996
Latest member
nelsonsix66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top