Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
adding in exel
hi, i have a problem, i'm trying to add to numbers in a column, i have a
column with 1000 different prices, is there a way to add to the different groups within this column? "example" prices from $0 to $75.00 add $25.00 - $76.00 to $150.00 add $30.00 - $151.00 to $250.00 add $50.00 and so on, all within this one column and all in the different groups? thanks Morefeusdirect.com |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
adding in exel
There's no way to do what you ask, staying within the one column by using
formulas.....as a cell can contain either a value, or a formula......it might be done using code, but more details would be needed for the "and so on" part......a better solution would probably be by using a helper column with an appropriate IF or VLOOKUP type formula.......still the range beyond $250 would have to be defined. Vaya con Dios, Chuck, CABGx3 "Morefeus Direct" wrote in message ... hi, i have a problem, i'm trying to add to numbers in a column, i have a column with 1000 different prices, is there a way to add to the different groups within this column? "example" prices from $0 to $75.00 add $25.00 - $76.00 to $150.00 add $30.00 - $151.00 to $250.00 add $50.00 and so on, all within this one column and all in the different groups? thanks Morefeusdirect.com |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
adding in exel
thanks for the reply, the and so on is, $251 to $350 add $60 - $351 to $500
add $75 $501 - $700 add $90 - $701 to $1000 add $110 - and $1001 and up add $ 200, and i'm not familiare with IF or VLOOKUP please exsplane . thanks again Morefeusdirect.com "CLR" wrote: There's no way to do what you ask, staying within the one column by using formulas.....as a cell can contain either a value, or a formula......it might be done using code, but more details would be needed for the "and so on" part......a better solution would probably be by using a helper column with an appropriate IF or VLOOKUP type formula.......still the range beyond $250 would have to be defined. Vaya con Dios, Chuck, CABGx3 "Morefeus Direct" wrote in message ... hi, i have a problem, i'm trying to add to numbers in a column, i have a column with 1000 different prices, is there a way to add to the different groups within this column? "example" prices from $0 to $75.00 add $25.00 - $76.00 to $150.00 add $30.00 - $151.00 to $250.00 add $50.00 and so on, all within this one column and all in the different groups? thanks Morefeusdirect.com |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
adding in exel
Hi, you can try this. If your amount is in A2 ....
=IF(A2<75;A2+25;(IF(A2<150;A2+30;(IF(A2<250;A2+50; (IF(A1<350;A1+60;(IF(A2<500;A1+75;IF(A1<700;A1+90; (IF(A1<1000;A1+110;A1+200)))))))))))) IF the first statement is correct (under 75) it adds 25, if not it checks the second (under 150) if it's correct it will add 30, if not it goes on checking. Not sure what should be happening for amounts like 75.50, so this might not be exactly what you need. "Morefeus Direct" wrote: hi, i have a problem, i'm trying to add to numbers in a column, i have a column with 1000 different prices, is there a way to add to the different groups within this column? "example" prices from $0 to $75.00 add $25.00 - $76.00 to $150.00 add $30.00 - $151.00 to $250.00 add $50.00 and so on, all within this one column and all in the different groups? thanks Morefeusdirect.com |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
adding in exel
Oops, you probably don't have norwegian excel, so you'll need to swap ; to ,
"Light" wrote: Hi, you can try this. If your amount is in A2 .... =IF(A2<75;A2+25;(IF(A2<150;A2+30;(IF(A2<250;A2+50; (IF(A1<350;A1+60;(IF(A2<500;A1+75;IF(A1<700;A1+90; (IF(A1<1000;A1+110;A1+200)))))))))))) IF the first statement is correct (under 75) it adds 25, if not it checks the second (under 150) if it's correct it will add 30, if not it goes on checking. Not sure what should be happening for amounts like 75.50, so this might not be exactly what you need. "Morefeus Direct" wrote: hi, i have a problem, i'm trying to add to numbers in a column, i have a column with 1000 different prices, is there a way to add to the different groups within this column? "example" prices from $0 to $75.00 add $25.00 - $76.00 to $150.00 add $30.00 - $151.00 to $250.00 add $50.00 and so on, all within this one column and all in the different groups? thanks Morefeusdirect.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
exel hyperlink moves when adding new row or column | Excel Discussion (Misc queries) | |||
Sum formula is not adding up properly | Excel Discussion (Misc queries) | |||
how can I set up a backdrop in Exel? | Excel Discussion (Misc queries) | |||
Need help with exel database | Excel Discussion (Misc queries) | |||
Need help with exel database | Excel Discussion (Misc queries) |