LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default data selection query no1.

Would you consider using a pivot table? If necessary, add a row at the
top of your data that contains the field names.

XL97: Click into your data and select Data Pivot Table Report. When
the Pivot Table Wizard appears, click Next to accept the default
"Microsoft Excel List or Database". Click Next if the Wizard has
correctly detected your database range. Then drag Field1 from the list
on the right into the area that is marked ROW and drag Field2 into the
area marked DATA. This will probably be converted into "Sum of Field2".
If so, double-click on "Sum of Field2" and change "summarize by" from
Sum to Average. Click OK to accept this change and then click Finish to
close the Wizard and place your pivot table into a new sheet.

If this isn't suitable or you need more help with pivot tables, post
back.

--
HTH,
Dianne

In ,
SS typed:
I have two columns of data something like

1 10
2 11
2 12
2 11
2 13
3 15
4 16
5 17
5 19
5 17
5 17
6 20
6 20
6 20
6 21

From this I want to make another table of data
I want, where the numbers are duplicated in the LH column, to take
that number and put it in the new column once but have the values
from the second column averaged and put in as one value.

e.g.

new column would be

1 10
2 all the numbers corresponding to this value added and averaged.
3 15
4 16
5 all the numbers corresponding to this value added and averaged.


can this be done??


===================================

Alternatively can I form two new columns by taking every fourth pair
form the original columns and putting them into the new columns.



 
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
Use MS Query to query data within the current work book Steve Kesler Excel Discussion (Misc queries) 0 August 6th 09 05:22 PM
Using Query for a selection of items Keith Excel Discussion (Misc queries) 0 January 4th 07 12:10 PM
Using a ListBox selection to query a database CLamar Excel Discussion (Misc queries) 1 June 1st 06 07:32 PM
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


All times are GMT +1. The time now is 06:32 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"