How to Convert Numbers Using a Linear or Quadratic Function in Excel?

  • Thread starter Thread starter chrisalviola
  • Start date Start date
  • Tags Tags
    Convert
Click For Summary
To convert numbers like 100 to 1.0 and 99 to 1.1 in Excel, a linear function can be used, expressed as y = ax + b. For the specific conversions requested, the equations yield a = -0.1 and b = 11, resulting in the formula y = -0.1x + 11. However, this formula does not convert 25 to 2.5; it gives y = 8.5 instead. To achieve the desired transformation for all specified values, a quadratic function would be necessary, requiring a more complex set of equations to solve for coefficients a, b, and c. Rethinking the approach may be beneficial to clarify the intended conversions.
chrisalviola
Messages
80
Reaction score
0
any formulas pls.
 
Mathematics news on Phys.org
\frac{25}{10}=2.5


What exactly are you asking for?
 
i need the formula in excel
i need to convert 100 to 1.0, 99 to 1.1 so on

to make it simple how do you convert 25 to 2.5?
 
You need,

www.mrexcel.com

or similar. Try a google search on excel tutorials.
 
divide by 10 :/

25/10 = 2.5 :/ not sure if this is write, just thought i'd try to help
 
chrisalviola said:
i need the formula in excel
i need to convert 100 to 1.0, 99 to 1.1 so on

to make it simple how do you convert 25 to 2.5?

Divide by 10? You have not stated what you really want to do. There are an infinite number of ways to "convert 10 to 1.0, 99 to 1.1" that would give different results for all other numbers.

A LINEAR function, the simplest, is of the form y= ax+ b. You want y= 1 when x= 100 and y= 1.1 when x= 99 so you want 1= 100a+b and 1.1= 99a+ b. Subtracting the first equation from the second, 0.1= -a so a= -0.1. Then the first equation becomes 1= -10+ b so b= 11.

If y= -0.1x+ 11 then x= 100 gives y= -0.1(100)+ 11= -10+ 11= 1 and x= 99 gives y= -0.1(99)+ 11= -9.9+ 11= 1.1.

However, if x= 25, y= -0.1(25)+ 11= -2.5+ 11= 8.5, not 2.5.

If you really want to transform 100 to 1, 99 to 1.1, and 25 to 2.5, you will need at least a quadratic function: y= ax2+ bx+ c.

Then 1= 10000a+ 10b+ c, 1.1= 9801a+ 99a+ c, and 2.5= 625a+ 25b+ c. Solve those equations for a, b, and c.

However, I would suggest that you rethink what it is that you are trying to do.
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
8K