Formula automatic changes to cell refernces

davidfn

New Member
Joined
Mar 14, 2010
Messages
8
Hi

I'm using an equation to work out age based upon DOB when case opened.

I have three columns Formula, DOB, Date case opened.

When either the DOB or date case opened is cut and pasted further down the column, the formula refernce numbers follow the dates. There is no need to cut and paste the dates and the users have been given instructions not to. However, people are poeple, so if i can stop excel from doing this it would be prefererable. I had thought that using the $ sign in the formula might help, but I need to copy the formula into 1000 cells so need excel to be able to change the references to do this. I'm using excel 2003 and the equation is as follows:




Any suggestions? Thanks in advance

Nick
 
Change the formula in the top cell, select it and the 1000 cells below, then type ctrl+D.

ps: No formula followed in your OP.
 
Upvote 0
Hi

Sorry for missing the formula and perhaps for not explaining myself. The problem stated again by example:

row1 - (a2)=IF(COUNT(H2,F2)=2,DATEDIF(H2,F2,"y"),"") - (H2)DOB, (F2)Date Case opened
row2 - (a3)=IF(COUNT(H3,F3)=2,DATEDIF(H3,F3,"y"),"")- (H3)DOB, (F3)Date Case opened
row3 - (a4)=IF(COUNT(H4,F4)=2,DATEDIF(H4,F4,"y"),"")- blank

The problem is, if someone were to cut and paste (h2) dob into row h4 blank cell, the formula (a2) in row 1 changes from h2/f2 into h4/f4. How can I stop this from happening, in a column that needs to have the formula in 1000 rows.

Thanks again
 
Upvote 0
idunnonothing, but you can try this in the workbook open macro, or if you need to allow some cut/copy paste, in the selection change event macro.
Code:
Application.CutCopyMode = False
 
Upvote 0

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