View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Siper1 Siper1 is offline
external usenet poster
 
Posts: 22
Default Can't figure out formula error

The following formula works great until I exceed 500,000
units (ie. 480,000 units = $192,00)

=D19*MIN(--J3,C19)+D20*MIN(MAX(J3-C19,0),C20)+D21*MAX(J3-B21,0)

J3 = 540,000

I could use something as simple as the following link but I need it to
cover multiple periods and want to show the results on a single spreadsheet:

http://cjoint.com/data/ilxdsTVzGk.htm

This is how the table is set up on my spreadsheet -exact columns & rows

Actual:

A B C D
Price
19 Tier 1 0 49,999 0.50
20 Tier 2 50,000 499,999 0.40
21 Tier 3 500,000 0.35


Tiers used as baseline to validate formula is correct (Should = $216,000)

A B C D
Price
19 Tier 1 0 49,999 0.40
20 Tier 2 50,000 499,999 0.40
21 Tier 3 500,000 0.40