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 / Worksheet Functions / September 2005

Tip: Looking for answers? Try searching our database.

output based on data in a graph

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Patrick C. - 15 Sep 2005 00:11 GMT
I'm trying to write a formula that will predict any number along a curve if I
provide the x coordinate.  Specifically, I'm a salesman and I have a product
that is less expensive the more you buy.  in other words, the price per unit
becomes flatter in higher quantities, but is very steep in lower quantites.  
I have lots of data points on this curve at general quantites: 1000, 2000,
3000 etc.  I want to write a formula that calculates the coresponding
price/unit for whatever quantity I input (eg: 2374) based on the curve.  Any
suggestions?
MrShorty - 15 Sep 2005 16:49 GMT
It sounds like you have a decent data table to work with.  A
interpolation function sounds like a good candidate for your situation
Unfortunately, Excel doesn't have a built in interpolation functio
(Quattro Pro does if you have access to it).  You can build a
interpolation function either with spreadsheet functions or in VBA
both have been discussed before by people better qualified than me t
build such functions.

I don't know how useful it would be, but VLOOKUP would be able t
return the price/unit for each of the main data points.  Example, i
you wanted to lookup 2500, VLOOKUP would return the price/unit fo
2000.

You might also be able to regress the data (using LINEST or othe
regression functions) with some suitable function; trouble is selectin
an appropriate function.  Based on your description of the data
something like y=f[sqrt(x)] or y=f[log(x)] may be suitable, but I can'
say for sure exactly what form those functions would take without th
actual data and time to play with the regression.

Of course, if you have access to how the supplier determines price/uni
(or total price), then you can use that.

Not much help, but I hope it's a start for you
 
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.