Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
WCO WCO is offline
external usenet poster
 
Posts: 9
Default Looking for a formula

I need to see if it is possible to create a formula that will look for 2
variants to pull a range of 21 prices. For example if square foot is between
24-39 and qty=1 then it would pull a price of 10.00. This formula would
include 7 different square footage possibilities, 3 different quantity
options, for a total of 21 different price possibilities.

I wasnt sure if i could put the info on another tab and have the formula
pull from there or if it was easier to create a straight formula for it. Any
ideas are greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Looking for a formula

On Thu, 4 Sep 2008 13:40:02 -0700, WCO wrote:

I need to see if it is possible to create a formula that will look for 2
variants to pull a range of 21 prices. For example if square foot is between
24-39 and qty=1 then it would pull a price of 10.00. This formula would
include 7 different square footage possibilities, 3 different quantity
options, for a total of 21 different price possibilities.

I wasnt sure if i could put the info on another tab and have the formula
pull from there or if it was easier to create a straight formula for it. Any
ideas are greatly appreciated.


If you can mathematically describe the relationship between quantity, size and
price, you could certainly use a formula.

Or you could just set up a table and use a combination of INDEX/MATCH to do the
lookup.

You need to provide more information.
--ron
  #3   Report Post  
Posted to microsoft.public.excel.programming
WCO WCO is offline
external usenet poster
 
Posts: 9
Default Looking for a formula


It is not important which method is used as long as i can get everything to
come up at the correct times. What sort of information do you need ?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Looking for a formula

On Fri, 5 Sep 2008 05:38:01 -0700, WCO wrote:


It is not important which method is used as long as i can get everything to
come up at the correct times. What sort of information do you need ?


The simplest would be the algorithm that you use to compute price given area
and quantity.
--ron
  #5   Report Post  
Posted to microsoft.public.excel.programming
WCO WCO is offline
external usenet poster
 
Posts: 9
Default Looking for a formula

What i was looking for is that formula or algorithm. Oviosuly i would have to
fit it into my cells and such but a generic one to start off with so that i
have something to work with.

"Ron Rosenfeld" wrote:

On Fri, 5 Sep 2008 05:38:01 -0700, WCO wrote:


It is not important which method is used as long as i can get everything to
come up at the correct times. What sort of information do you need ?


The simplest would be the algorithm that you use to compute price given area
and quantity.
--ron



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Looking for a formula

On Fri, 5 Sep 2008 11:15:07 -0700, WCO wrote:

What i was looking for is that formula or algorithm. Oviosuly i would have to
fit it into my cells and such but a generic one to start off with so that i
have something to work with.


I think we are not communicating.

*I* have no way of knowing what price you want to use for a combination of area
and quantity. If you are unable to provide that information, there is no way
for me to figure it out.

The only information you have provided is that for an area of 24-39 sq ft and
qty=1 the price is 10.00.

The formula for that would be

=if(and(area=24,area<=39,qty=1),10)

This would not be an efficient method for the 21 variations you have, however.

As I wrote in my initial response, you could set up a TABLE, with area values
in the left-most column; quantity values in the top row; and prices in the
table -- and then use index/match to find the correct combination.

In general, that formula would look like:

=INDEX(TABLE,MATCH(area,column_of_area_values),MAT CH(quantity,row_of_quantity_values))

--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula PJ[_3_] Excel Worksheet Functions 2 June 2nd 10 03:45 PM
Formula expected end of statement error, typing formula into cell as part of VBA macro [email protected] Excel Programming 1 July 20th 06 07:58 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 06:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"