LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default SUM Prices with variables.

I tried putting this in "Worksheet Functions" and have had no response yet so
I thought I would try here. If you could even point me to another similar
post that would be good.
------------
This is for drainage pit. I have been trying to incorporate IF and
sumproduct(-- statements..) and I can't seem to get it right. (Maybe I need
to
write a program?)

I have a large number of pits which will be made up of a combination of a
base piece and a number of riser components to make up the height required.
The minimum width of pit is determined by the largest pipe to it, according
to; Pipe Dia<=450 then min. width=670 and Pipe Dia450 then min.
width=670+200(mm).

Prices are for pieces in standard sizes, as follows.
750 (pit width):
Base=900mm(depth)=$a
Risers=600mm=$b
Risers=300mm=$c
Risers=150mm=$d

900 (pit width):
Base=1200(depth)=$w
Risers=600mm=$x
Risers=300mm=$y
Risers=150mm=$z
etc.

All bases are either 900 or 1200 deep.
All pits will require a base and at least 1 riser (as all pit depths greater
than 1200mm (presumably easier then to leave out base in pit height calc)
Spreadsheet has been set up accordingly.

Eg. Pit depth = 1600mm and largest pipe = 500mm.
Therefore, need:
- pit with greater than 700mm so use 750 pit.
- 1 base+2 risers (900+600+1500=1650)
- output price (one pit) = $(a+b+d)

I hope this makes sense, let me know if you need any more info.
I know this is longwinded, but any help would be greatly appreciated; I've
seen the answers on this site and I'm sure one of you can do this!

 
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
Not at all clear on use of variables and/or object variables JMay-Rke Excel Discussion (Misc queries) 11 July 4th 08 06:36 PM
Storing variables in a macro and using those variables to performcalculations. [email protected] Excel Programming 3 December 10th 07 04:13 PM
Looking up prices BEH1230 Excel Worksheet Functions 3 July 25th 07 08:42 PM
prices Manager that needs help Excel Discussion (Misc queries) 7 March 27th 06 05:30 PM
Use a multiplier to change List Prices to Net prices Dangada Excel Worksheet Functions 1 July 6th 05 06:31 AM


All times are GMT +1. The time now is 12:31 AM.

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"