Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Query
I have a spreadsheet with one column that contains random numbers - I need to
group these numbers in fields - "0-5" "6-10" & " over 10" I want to create a Pie Chart with those three groupings, what is the best way to do this,thatt if a number changes that it will change the quantity in one of those 3 groupings. I want it to calc automatically...any ideas, and if so please can I have an example as well.... Many Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Query
Hi,
For try these formulas: for (0-5) the formua is: =SUMPRODUCT(--(A1:A1000),--(A1:A100<=5)) for (5-10) the formua is: =SUMPRODUCT(--(A1:A1005),--(A1:A100<=10)) for (over 10 the formua is: =SUMPRODUCT(--(A1:A10010)) assumed that you numbers are in the range A1:A100 and you can change it to whatever you want. if you change the source numbers then these numbers will change automaticaly Thanks, -- Farhad Hodjat "Frikkels" wrote: I have a spreadsheet with one column that contains random numbers - I need to group these numbers in fields - "0-5" "6-10" & " over 10" I want to create a Pie Chart with those three groupings, what is the best way to do this,thatt if a number changes that it will change the quantity in one of those 3 groupings. I want it to calc automatically...any ideas, and if so please can I have an example as well.... Many Thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Query
Hi Farhad,
Thanks for this, I tried the formula, with my column that has the values ( in different sheet ).... =SUMPRODUCT(--([Table1.xls]Table1!$J:$J0),--([Table1.xls]Table1!$J:$J<=5)) .....but it does not return the value - it shows " #Num " did i do something wrong?? "Farhad" wrote: Hi, For try these formulas: for (0-5) the formua is: =SUMPRODUCT(--(A1:A1000),--(A1:A100<=5)) for (5-10) the formua is: =SUMPRODUCT(--(A1:A1005),--(A1:A100<=10)) for (over 10 the formua is: =SUMPRODUCT(--(A1:A10010)) assumed that you numbers are in the range A1:A100 and you can change it to whatever you want. if you change the source numbers then these numbers will change automaticaly Thanks, -- Farhad Hodjat "Frikkels" wrote: I have a spreadsheet with one column that contains random numbers - I need to group these numbers in fields - "0-5" "6-10" & " over 10" I want to create a Pie Chart with those three groupings, what is the best way to do this,thatt if a number changes that it will change the quantity in one of those 3 groupings. I want it to calc automatically...any ideas, and if so please can I have an example as well.... Many Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Importing Data via Web Query - Can values be passed to query? | Excel Discussion (Misc queries) | |||
Save data retreived from query without saving query | Excel Discussion (Misc queries) | |||
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? | Excel Discussion (Misc queries) | |||
Microsoft Query rejects "nz" function in Access Query | Excel Discussion (Misc queries) | |||
How to use a Access Query that as a parameter into Excel database query | Excel Discussion (Misc queries) |