#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Data via Web Query - Can values be passed to query? [email protected] Excel Discussion (Misc queries) 5 May 9th 06 06:21 PM
Save data retreived from query without saving query Anthony Excel Discussion (Misc queries) 0 January 25th 06 07:17 PM
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? jocke Excel Discussion (Misc queries) 0 November 28th 05 06:37 PM
Microsoft Query rejects "nz" function in Access Query Vaughan Excel Discussion (Misc queries) 0 May 4th 05 05:20 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM


All times are GMT +1. The time now is 01:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"