Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
NP NP is offline
external usenet poster
 
Posts: 6
Default Creating a summary from existing spreadsheet data ...

Looking for a solution to this little problem in Excel ...

Cells A1 to C7 contain the main data. What I would like to do is select all
of the items with a Condition of A and place them in a little summary as
shown in A9 to C12. Any ideas how to automate this please?

Many thanks,

NP.

Spreadsheet:

A B C
1 Pt No. Desc Condition
2 1 Apple A
3 2 Pear A
4 3 Banana B
5 4 Orange A
6 5 Grape C
7 6 Sultana B
8
9 Pt No. Desc Condition
10 1 Apple A
11 2 Pear A
12 4 Orange A


  #2   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Creating a summary from existing spreadsheet data ...


Use the SUMIF function if you only have one criteria.



"NP" wrote in message ...
Looking for a solution to this little problem in Excel ...

Cells A1 to C7 contain the main data. What I would like to do is select

all
of the items with a Condition of A and place them in a little summary as
shown in A9 to C12. Any ideas how to automate this please?

Many thanks,

NP.

Spreadsheet:

A B C
1 Pt No. Desc Condition
2 1 Apple A
3 2 Pear A
4 3 Banana B
5 4 Orange A
6 5 Grape C
7 6 Sultana B
8
9 Pt No. Desc Condition
10 1 Apple A
11 2 Pear A
12 4 Orange A




  #3   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,885
Default Creating a summary from existing spreadsheet data ...

Hi
'Data - Filter - Advanced Filer'
or even try using 'Data - Filter - autofilter'

For an addin see:
http://www.rondebruin.nl/easyfilter.htm

"NP" wrote:

Looking for a solution to this little problem in Excel ...

Cells A1 to C7 contain the main data. What I would like to do is select all
of the items with a Condition of A and place them in a little summary as
shown in A9 to C12. Any ideas how to automate this please?

Many thanks,

NP.

Spreadsheet:

A B C
1 Pt No. Desc Condition
2 1 Apple A
3 2 Pear A
4 3 Banana B
5 4 Orange A
6 5 Grape C
7 6 Sultana B
8
9 Pt No. Desc Condition
10 1 Apple A
11 2 Pear A
12 4 Orange A



  #4   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,885
Default Creating a summary from existing spreadsheet data ...

Hi
see your other post

"NP" wrote:

Looking for a solution to this little problem in Excel ...

Cells A1 to C7 contain the main data. What I would like to do is select all
of the items with a Condition of A and place them in a little summary as
shown in A9 to C12. Any ideas how to automate this please?

Many thanks,

NP.

Spreadsheet:

A B C
1 Pt No. Desc Condition
2 1 Apple A
3 2 Pear A
4 3 Banana B
5 4 Orange A
6 5 Grape C
7 6 Sultana B
8
9 Pt No. Desc Condition
10 1 Apple A
11 2 Pear A
12 4 Orange A



  #5   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Creating a summary from existing spreadsheet data ...

One way:

Record a macro doing an advanced filter.

With a little editing, I got

Public Sub AutoFilterAs()
Range("C1").Copy Range("E1")
Range("E2").Value = "A"
With Range("A1").CurrentRegion
.AdvancedFilter _
Action:=xlFilterCopy, _
CriteriaRange:=Range("E1:E2"), _
CopyToRange:=.Offset(.Rows.Count + 2, 0).Resize(1, 1), _
Unique:=False
End With
Range("E1:E2").ClearContents
End Sub

See

http://www.contextures.com/xladvfilter01.html

for more help.



In article , "NP" wrote:

Looking for a solution to this little problem in Excel ...

Cells A1 to C7 contain the main data. What I would like to do is select all
of the items with a Condition of A and place them in a little summary as
shown in A9 to C12. Any ideas how to automate this please?

Many thanks,

NP.

Spreadsheet:

A B C
1 Pt No. Desc Condition
2 1 Apple A
3 2 Pear A
4 3 Banana B
5 4 Orange A
6 5 Grape C
7 6 Sultana B
8
9 Pt No. Desc Condition
10 1 Apple A
11 2 Pear A
12 4 Orange A



  #6   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
NP NP is offline
external usenet poster
 
Posts: 6
Default Creating a summary from existing spreadsheet data ...

how would i use this please?

NP.


"Paul Corrado" wrote in message
...

Use the SUMIF function if you only have one criteria.



"NP" wrote in message ...
Looking for a solution to this little problem in Excel ...

Cells A1 to C7 contain the main data. What I would like to do is select

all
of the items with a Condition of A and place them in a little summary as
shown in A9 to C12. Any ideas how to automate this please?

Many thanks,

NP.

Spreadsheet:

A B C
1 Pt No. Desc Condition
2 1 Apple A
3 2 Pear A
4 3 Banana B
5 4 Orange A
6 5 Grape C
7 6 Sultana B
8
9 Pt No. Desc Condition
10 1 Apple A
11 2 Pear A
12 4 Orange A






  #7   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
NP NP is offline
external usenet poster
 
Posts: 6
Default Creating a summary from existing spreadsheet data ...

is there a way to summarise B's and C's also in a separate summary?

thankx,

NP.


"Frank Kabel" wrote in message
...
Hi
'Data - Filter - Advanced Filer'
or even try using 'Data - Filter - autofilter'

For an addin see:
http://www.rondebruin.nl/easyfilter.htm

"NP" wrote:

Looking for a solution to this little problem in Excel ...

Cells A1 to C7 contain the main data. What I would like to do is select

all
of the items with a Condition of A and place them in a little summary as
shown in A9 to C12. Any ideas how to automate this please?

Many thanks,

NP.

Spreadsheet:

A B C
1 Pt No. Desc Condition
2 1 Apple A
3 2 Pear A
4 3 Banana B
5 4 Orange A
6 5 Grape C
7 6 Sultana B
8
9 Pt No. Desc Condition
10 1 Apple A
11 2 Pear A
12 4 Orange A





  #8   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Creating a summary from existing spreadsheet data ...

NP

I don't think I understood your question correctly when I posted my reply.

Frank has a better answer




"NP" wrote in message ...
how would i use this please?

NP.


"Paul Corrado" wrote in

message
...

Use the SUMIF function if you only have one criteria.



"NP" wrote in message ...
Looking for a solution to this little problem in Excel ...

Cells A1 to C7 contain the main data. What I would like to do is

select
all
of the items with a Condition of A and place them in a little summary

as
shown in A9 to C12. Any ideas how to automate this please?

Many thanks,

NP.

Spreadsheet:

A B C
1 Pt No. Desc Condition
2 1 Apple A
3 2 Pear A
4 3 Banana B
5 4 Orange A
6 5 Grape C
7 6 Sultana B
8
9 Pt No. Desc Condition
10 1 Apple A
11 2 Pear A
12 4 Orange A








  #9   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27,285
Default Creating a summary from existing spreadsheet data ...

copy the data to a new worksheet

Sort on the third column

Put in some rows to separate the data.

After you sort, you can select the data and do

Data=Subtotals
select the third column and count

--
Regards,
Tom Ogilvy

"NP" wrote in message ...
is there a way to summarise B's and C's also in a separate summary?

thankx,

NP.


"Frank Kabel" wrote in message
...
Hi
'Data - Filter - Advanced Filer'
or even try using 'Data - Filter - autofilter'

For an addin see:
http://www.rondebruin.nl/easyfilter.htm

"NP" wrote:

Looking for a solution to this little problem in Excel ...

Cells A1 to C7 contain the main data. What I would like to do is

select
all
of the items with a Condition of A and place them in a little summary

as
shown in A9 to C12. Any ideas how to automate this please?

Many thanks,

NP.

Spreadsheet:

A B C
1 Pt No. Desc Condition
2 1 Apple A
3 2 Pear A
4 3 Banana B
5 4 Orange A
6 5 Grape C
7 6 Sultana B
8
9 Pt No. Desc Condition
10 1 Apple A
11 2 Pear A
12 4 Orange A







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 from a pre-existing spreadsheet Todd Helmick Excel Discussion (Misc queries) 2 July 23rd 09 01:13 PM
creating regional summary data twcinnh Excel Discussion (Misc queries) 2 January 23rd 07 10:07 AM
Creating a summary sheet from data across multiple worksheets Mookarts Excel Discussion (Misc queries) 1 July 17th 06 11:51 AM
Creating a summary list from source data - can you?? Marty Excel Discussion (Misc queries) 1 September 16th 05 04:12 AM
Creating a summary from existing spreadsheet data ... NP Excel Worksheet Functions 8 October 29th 04 02:39 PM


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