vba - Can i copy the exact value instead of refencing another sheet inside a formula for multiple rows in EXCEL? -
I would like reference of another sheet inside the formula to replace with the actual value instead of context. I can not do this with a special copy because it is inside a formula and I want to do it for several rows. Is this possible? Thank you in advance.
Year inflation price price inflation 1990 = (E9 * 70%) * Sheet 2! C3122 0.28888 1991 = (E10 * 70%) * Sheet 2! C4 125 0.36 9 2 99 = (E11 * 70%) * Sheet 2! C5 128 0.45078 1993 = (E12 * 70%) * Sheet 2! C6 131 0.53173 = 1994 (E13 * 70%) * Sheet 2! C7 134 0.61268 1995 = (E14 * 70%) * Sheet 2! C8 137 0.69363 1996 = (E15 * 70%) * Sheet 2! C9 140 0.77458 1997 = (E16 * 70%) * Sheet 2! C10 143 0.85553 1998 = (E17 * 70%) * Sheet 2! C 11 146 0.93648 1999 = (E18 * 70%) * Sheet 2! C12 14 9 1.01743 2000 = (E9 * 70%) * Sheet 2! C13 152 1.0 9 838
Yes, you can do this - though this is a bit difficult - given below See the instructions passed.
However, quick wording of the warning - using values in any formula is usually not the best practice. Already = (E 9 * 70%) * Sheet 2! Seeing C3 , should not be in the formula, but external beliefs should have a cell! Otherwise it is a hidden perception that is buried in the formula - and when you later see your file - or someone audits it - you will find it a difficult time - and knowing that you did this!
Still, enough 'lecture' (sorry, could not help it!), If you still want to, then here's the way to go:
- In a new column, enter the part of the formula that you want to change and excel calculate this part. To wit. If you have
Sheet2! In your first column! C3, then in this new column the formula= Sheet2! C3and copy it - Change your formulas from A1 style to R1C1 style. To do this, work with file-> Options-> Formulas-> Sources and check the R1C1 referenced style:
- Delete support column and referenced style to A1 Set back
done!
Comments
Post a Comment