Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Thu, 7 Feb 2008 12:47:04 -0800, GoodTrouble
wrote: I need to have Excel calculate percentages of a cell based on where it falls between numbers...for example: Percentage of this number: (B2) $3,500.00 0 - 2500 = 25% $0.00 (B4) 2501 - 3500 = 30% $0.00 (B5) 3501 + = 35% $0.00 (B6) So if B2 were $4000.00 the calculations should equal out to as follows: 2500 * 25% = 625 1000 * 30% = 300 500 x 35% = 175 Can this be done? I tried SUMIF, IF(AND), and stuff like that but nothing seems to come out right. Please help! Set up a table and NAME it tbl 0 0 25% 2500 625 30% 3500 925 35% If tbl refers to: H1:J3 then I2: =I1+(H2-H1)*J1 Then, use this: =(B2-VLOOKUP(B2,tbl,1))*VLOOKUP(B2,tbl,3)+VLOOKUP(B2,tb l,2) --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLOOKUP should compare numbers stored as text to plain numbers. | Excel Worksheet Functions | |||
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? | Excel Worksheet Functions | |||
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? | Excel Worksheet Functions | |||
convert negative numbers to positive numbers and vice versa | Excel Worksheet Functions | |||
Count comma separated numbers, numbers in a range with dash, not t | Excel Discussion (Misc queries) |