Formula help

Mutatis Mutandis

New Member
Joined
May 6, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi folks,
Without going into detail I have the following problem. I use a quite complex worksheet that calculates many X Y and Z values to a .csv document that is used by another department to do whatever with.
Recently it has been decided that the base line 0 for each value will be changed and I now have to rescale several thousand values from the old to the new.
Old X 0.0 will now be 4.00, old Y 0..0 will now be -1.00 and old Z will remain at 0. The old scale increased/decreased by 0.10. However the new scale will increase/decrease by 0.02



Old XNew XOld YNew YOld ZNew Z
1.004.201-0.810.2
0.904.180.9-0.820.90.18
0.804.160.8-0.840.80.16
0.704.140.7-0.860.70.14
0.604.120.6-0.880.60.12
0.504.100.5-0.90.50.1
0.404.080.4-0.920.40.08
0.304.060.3-0.940.30.06
0.204.040.2-0.960.20.04
0.104.020.1-0.980.10.02
0.004.000-100
-0.103.98-0.1-1.02-0.1-0.02
-0.203.96-0.2-1.04-0.2-0.04
-0.303.94-0.3-1.06-0.3-0.06
-0.403.92-0.4-1.08-0.4-0.08
-0.503.90-0.5-1.1-0.5-0.1
-0.603.88-0.6-1.12-0.6-0.12
-0.703.86-0.7-1.14-0.7-0.14
-0.803.84-0.8-1.16-0.8-0.16
-0.903.82-0.9-1.18-0.9-0.18
-1.003.80-1-1.2-1-0.2

What I want is a formula that can take the old values and convert them to the new? I could create a lookup table but original values run into +/- four digit numbers?

Am I asking the impossible here?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Your formula is basically:
=new_baseline+old_value*0.2
so:
New X = 4+oldX*0.2
New Y = -1+oldY*0.2
New Z = oldZ*0.2
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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