Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() krismtx Wrote: #NAME? What could I be still doing wrong? On the UDF, make sure you included the line "Function PercPerSegment(Amount As Double, Table As Range) As Double" An alternate solution to the problem is a big ole honkin' nested IF statement: =IF(A11000,(12.5+0.0025*(A1-1000)),IF(A1500,(10+0.005*(A1-500)),IF(A1400,(9+0.01*(A1-400)),IF(A1300,(7.5+0.015*(A1-300)),IF(A1200,(5.5+0.02*(A1-200)),IF(A1100,(3+0.025*(A1-100)),(0.03*A1))))))) Note that this formula would work for the Original Poster, but your numbers are probably different. -- Teodomiro ------------------------------------------------------------------------ Teodomiro's Profile: http://www.excelforum.com/member.php...o&userid=33140 View this thread: http://www.excelforum.com/showthread...hreadid=531821 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing the scale major unit in a graph | Excel Discussion (Misc queries) | |||
calculating commission on sliding scale | New Users to Excel | |||
can I calculate S&H on a sliding scale in an order form? | Excel Worksheet Functions | |||
commission spreadsheet | Excel Worksheet Functions | |||
Help with Commission forumlas | Excel Worksheet Functions |