Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / May 2008

Tip: Looking for answers? Try searching our database.

smoothing integer data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KRK - 19 May 2008 17:53 GMT
Hello, I have Excel 2007

I have a series of increasing numbers which have been trucated (rounded
down) to integers , eg

2,  2,  2,  3,  3,  3,  3,  4,  5,  5,  6,  6,  6 etc

The decimal part of the numbers has been 'lost' and cannot be recovered.

I want to 'smooth' the data to estimate the original numbers to 1 decimal
place, eg to give someting like

2.0,  2.4,  2.8,  3.1,  3.3,  3.6,  3.9, 4.5,  5.1,  5.7,  6.1,  6.4,  6.8,
...

I am ok at maths and could devise an algorithm to do this, but I wonder if
there is an Excel function which can do it more easily. I have looked at the
functions and cannot see anything obvious, but I might have missed
something.

Any ideas warmly welcomed.

Thanks

K
Dave Curtis - 20 May 2008 11:43 GMT
Hi,

This can only ever be an approximation, but the following should give you
something to work with.
Assuming your truncated data is in A1:A20, enter the following in B1 and
drag down

=A1+(COUNTIF($A$1:A1,A1)-1)/COUNTIF($A$1:$A$20,A1)

or use

=A1+(COUNTIF($A$1:A1,A1)-1)/COUNTIF($A$1:A1,A1)

for a slightly different set of numbers

Dave

url:http://www.ureader.com/msg/10355706.aspx
KRK - 21 May 2008 13:28 GMT
Dave

This seems to work quite nicely - thanks.   I'm not yet sure how it works,
but I will figure it out !!

I've plotted the original data alongside the smoothed data for both your
suggestions  & they are both very good. The 2nd option might be better for
me as it does not require the row number of the last entry (your $A$20), and
my data is updated regularly.

Thanks again

K

> Hi,
>
[quoted text clipped - 14 lines]
>
> url:http://www.ureader.com/msg/10355706.aspx
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.