Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Data Buckets (in a range)


I currently have data orgnised as such:

CUSTOMER[/b] *YEARS* AMOUNT(USD)
CUSTOMER A 1.2 100
CUSTOMER B 2.5 200
CUSTOMER C 0.66 300
CUSTOMER D 6.2 100
CUSTOMER E 3.4 150
CUSTOMER F 1.7 50
CUSTOMER G 5.0 200
CUSTOMER H 4.2 25

I HAVE A BIG SPREADSHEET OF AROUND 6000 ROWS AND WOULD LIKE TO
REARRANGE THE DATA INTO A RANGE BUCKET BY YEARS (USING PIVOT TABLES),
I.E.

*YEAR BUCKET * [b]AMOUNT(USD)
0-3 650
3.1-5 375
5.1-10 100


Many thanks in advance for your help

Attached is the excel version of the example above


+-------------------------------------------------------------------+
|Filename: Example.zip |
|Download: http://www.excelforum.com/attachment.php?postid=5187 |
+-------------------------------------------------------------------+

--
salireza
------------------------------------------------------------------------
salireza's Profile: http://www.excelforum.com/member.php...o&userid=37465
View this thread: http://www.excelforum.com/showthread...hreadid=571256

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Data Buckets (in a range)

Add a column to calculate the bucket

=LOOKUP(B2,{0,3.1,5.1},{"0-3","3.1-5","5.1-10"})

copy this down and include in the pivot.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"salireza" wrote in
message ...

I currently have data orgnised as such:

CUSTOMER[/b] *YEARS* AMOUNT(USD)
CUSTOMER A 1.2 100
CUSTOMER B 2.5 200
CUSTOMER C 0.66 300
CUSTOMER D 6.2 100
CUSTOMER E 3.4 150
CUSTOMER F 1.7 50
CUSTOMER G 5.0 200
CUSTOMER H 4.2 25

I HAVE A BIG SPREADSHEET OF AROUND 6000 ROWS AND WOULD LIKE TO
REARRANGE THE DATA INTO A RANGE BUCKET BY YEARS (USING PIVOT TABLES),
I.E.

*YEAR BUCKET * [b]AMOUNT(USD)
0-3 650
3.1-5 375
5.1-10 100


Many thanks in advance for your help

Attached is the excel version of the example above


+-------------------------------------------------------------------+
|Filename: Example.zip |
|Download: http://www.excelforum.com/attachment.php?postid=5187 |
+-------------------------------------------------------------------+

--
salireza
------------------------------------------------------------------------
salireza's Profile:

http://www.excelforum.com/member.php...o&userid=37465
View this thread: http://www.excelforum.com/showthread...hreadid=571256



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
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM
data range props Steve M Excel Discussion (Misc queries) 0 April 11th 05 10:32 AM
data range Steve M Excel Discussion (Misc queries) 0 April 4th 05 11:17 PM


All times are GMT +1. The time now is 12:47 PM.

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

About Us

"It's about Microsoft Excel"