Data best fit?

gobblechops

New Member
Joined
Apr 27, 2017
Messages
24
Hi all,

If I have a range of numbers to 2 decimal places in column A, for example from -2.52 to 3.84 with intervals that are not the same -2.52, -2.49, -2.48, -2,42, -2.42, -2.41, -2.38....... 3.65, 3.69, 3.70, 3.80.

In column B the number in the cell adjacent to -2.52 is 20

The number is the cell adjacent to 3.80 is 1.10.

How can you fill the empty cells in column B with numbers between 20 and 1.10 that best fit based on the data set in column A?

I am sure there is a mathematical term for this but I think this explains the situation.

Thank you.
 

Some videos you may like

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

gobblechops

New Member
Joined
Apr 27, 2017
Messages
24
Hi thanks for the reply,

This may be along the right lines but I have a full data set in column A but only 2 values in column B which are adjacent to the highest and lowest values in column A.

I want to fill the empty cells in column B with the best fit based on column A data?

Thanks.
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
52,216
Office Version
365
Platform
Windows
It might be best if you post an actual snap shot of your actual data, and then another showing your expected results.

There are tools you can use to post screen images. They are listed in Section B of this link here: http://www.mrexcel.com/forum/board-a...forum-use.html.
Also, there is a Test Here forum on this board that you can use to test out these tools to make sure they are working correctly before using them in your question.
 

gobblechops

New Member
Joined
Apr 27, 2017
Messages
24
I think I have found the solution, it was more of a mathematics question. Thanks for the quick reply.
 

Watch MrExcel Video

Forum statistics

Threads
1,090,461
Messages
5,414,658
Members
403,541
Latest member
J0hnJ

This Week's Hot Topics

Top