formula in a cell that won't turn over.

joeq

Board Regular
Joined
May 31, 2003
Messages
109
Hi all.

Got a weird one here.

What would cause a cell that contains a formula (which should translate to some value on another sheet), to only display the formula and not 'turn over' to show the value it should translate to.

I have other cells on the sheet that used to do this corectly, but now if I copy their existing formula, then clear out the cell, then past that formula back in, it shows only the formula.

thanks, joe
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Have you checked if the cell is formatted as Text?
 
Upvote 0
Yes,

Its formatted as text. Im looking at a cell on the sheet right now that is also formatted as text and is working ok.

If I copy its formula, clear out the cell and recopy the formula back, itl just show the formula.

The only thing Ive done recently that might have caused this is Ive renamed the source tab. But Ive looked at it and it seems to have been accounted for with the new name everywhere.

thanks, Joe
 
Upvote 0
Well....

All I can say is I must have stumbled onto the answer (seems to be my strength these days)

When coping a formula from a cell on sheet1 into a cell on sheets 2 - where I'd like the formula to result in the same value - the destination cell didn't seem to like it if the formula contained $A2.

But it was ok if the formula was $A$2 instead.

Don't know why ;)
 
Upvote 0
$A$2 means the cells A2 in anchored, i.e. if you copy $A$2 and past at a position below to the right it will still refer to A2.

On the other hand if the formula is $A2 only the column is anchored, not the row, i.e. do the same copy and past and you'll find it still refers to column A, but 2 has changes to a number that equals to as many rows below the original copy you pasted.

Here's another example:
Book5
ABCD
1PricePrice tax incl.Tax
2$ 25.00$ 26.8757.50%
3$ 30.00$ 32.250
4$ 35.00$ 37.625
5$ 40.00$ 43.000
6$ 45.00$ 48.375
7$ 50.00$ 53.750
8
Sheet1


Copy this table in a fresh Excel sheet, but type only in the first formula. The use the fill handle and copy down the formula to the last row that has a price. Then double-click on the last cell and see to what cells the last formula refers to. It should be A7 and C2. C2 is anchored ($C$2) and does not move.

Make an example for $A2 and post back.

RAM
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,561
Members
449,038
Latest member
Guest1337

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