#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel formulas

I have a worksheet that we would like to use to calculate price + labor for
work. The price formula has me stumped. I would like to be able to put in the
price in one box and have the formula determine the amount at which to
multiply it by.

For example:

Price = 20.00 then the formula would determine how many to multiply it by
(3.25) from the range given below.

Range is 0-2.00 *4
2.01-5 *3.75
5.01-10 *3.5
10.01-20.00 *3.25
20.01-40 *3
40.01-60 *2.75
60.01-100 *2.5
100.01-150 *2.25
150.01 *2


I have the labor formula and then the total is a sum formula. Please help
with the price formula. Thank you.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Excel formulas

With price in cell A1 try the below formula in cell B1

=LOOKUP(A1,{0,2.01,5.01,10.01,20.01,40.01,60.01,10 0.01,150.01},{4,3.75,3.5,3.25,3,2.75,2.5,2.25,2})

'handle blank entries in cell A1
=IF(A1="","",LOOKUP(A1,{0,2.01,5.01,10.01,20.01,40 .01,60.01,100.01,150.01},{4,3.75,3.5,3.25,3,2.75,2 .5,2.25,2}))

--
Jacob


"Gifford Mom" wrote:

I have a worksheet that we would like to use to calculate price + labor for
work. The price formula has me stumped. I would like to be able to put in the
price in one box and have the formula determine the amount at which to
multiply it by.

For example:

Price = 20.00 then the formula would determine how many to multiply it by
(3.25) from the range given below.

Range is 0-2.00 *4
2.01-5 *3.75
5.01-10 *3.5
10.01-20.00 *3.25
20.01-40 *3
40.01-60 *2.75
60.01-100 *2.5
100.01-150 *2.25
150.01 *2


I have the labor formula and then the total is a sum formula. Please help
with the price formula. Thank you.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Excel formulas

To make the formula shorter you can type in the range of values in another
sheet say Sheet2 as below and try the below formulas

Col A Col B
0 4
2.01 3.75
5.01 3.5
10.01 3.25
20.01 3
40.01 2.75
60.01 2.5
100.01 2.25
150.01 2

using LOOKUP()
=IF(A1="","",LOOKUP(A1,Sheet2!A1:A9,Sheet2!B1:B9))

OR using VLOOKUP()
=IF(A1="","",VLOOKUP(A1,Sheet2!A1:B9,2,1))

--
Jacob


"Jacob Skaria" wrote:

With price in cell A1 try the below formula in cell B1

=LOOKUP(A1,{0,2.01,5.01,10.01,20.01,40.01,60.01,10 0.01,150.01},{4,3.75,3.5,3.25,3,2.75,2.5,2.25,2})

'handle blank entries in cell A1
=IF(A1="","",LOOKUP(A1,{0,2.01,5.01,10.01,20.01,40 .01,60.01,100.01,150.01},{4,3.75,3.5,3.25,3,2.75,2 .5,2.25,2}))

--
Jacob


"Gifford Mom" wrote:

I have a worksheet that we would like to use to calculate price + labor for
work. The price formula has me stumped. I would like to be able to put in the
price in one box and have the formula determine the amount at which to
multiply it by.

For example:

Price = 20.00 then the formula would determine how many to multiply it by
(3.25) from the range given below.

Range is 0-2.00 *4
2.01-5 *3.75
5.01-10 *3.5
10.01-20.00 *3.25
20.01-40 *3
40.01-60 *2.75
60.01-100 *2.5
100.01-150 *2.25
150.01 *2


I have the labor formula and then the total is a sum formula. Please help
with the price formula. Thank you.


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
Counting # of Formulas in a column with formulas and entered data Brand Excel Worksheet Functions 1 October 10th 09 01:01 PM
ms-excel guidence notes, complete formulas in excel, How to runmacros in Ms excel [email protected] Excel Discussion (Misc queries) 0 June 14th 08 03:19 PM
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
Copying formulas from Excel 2003 to Excel 2007 [email protected] Excel Discussion (Misc queries) 4 August 9th 07 06:06 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM


All times are GMT +1. The time now is 08:25 AM.

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

About Us

"It's about Microsoft Excel"