A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

criteria to filter and extract row data into separate worksheet



 
 
Thread Tools Display Modes
  #1  
Old December 16th 08, 02:57 AM posted to microsoft.public.excel.worksheet.functions
karenc
external usenet poster
 
Posts: 2
Default criteria to filter and extract row data into separate worksheet

Hi

I have 2 worksheets in a same workbook.

Example:

Worksheet A - Details of name of products, prices, supplier, month of export
and order amount. Details consisting of whole year's transactions. There are
more than 1 row of transaction recorded every month.

Worksheet B - A table which automatically consolidates the required details
from Worksheet A.

In this case, how can I formulate / structure the worksheet and cells so
that in Worksheet B: -
1.) Cell A2, I can have the automated count of November's transactions as
recorded in rows of Worksheet A
2.) Cell A3, I can have the automated count of December's transactions as
recorded in rows of Worksheet A
3.) Cell A4, consolidate "order amount" for the product Carrots in the month
of November as recorded in Worksheet A
4.) Cell A5, consolidate "order amount" for the product Carrots in the month
of December as recorded in Worksheet A

In a nutshell, my plan is to just manually update Worksheet A while
Worksheet B will automate itself based on the crtierias which I instruct the
cells to extract information from.

Thanks!
Ads
  #2  
Old December 16th 08, 03:25 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,766
Default criteria to filter and extract row data into separate worksheet

Hi,

For questions 1 and 2, you can use the COUNTIF() function -
=countif(range,"November"). Please note that criteria part of the countif()
function will depend upn how you have month in worksheet 1 - whether
November, Nov etc.

For questions 3 and 4, you can use
=sumproduct((range1="Carrots")*(range2="November") ,sum_range)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"karenc" > wrote in message
...
> Hi
>
> I have 2 worksheets in a same workbook.
>
> Example:
>
> Worksheet A - Details of name of products, prices, supplier, month of
> export
> and order amount. Details consisting of whole year's transactions. There
> are
> more than 1 row of transaction recorded every month.
>
> Worksheet B - A table which automatically consolidates the required
> details
> from Worksheet A.
>
> In this case, how can I formulate / structure the worksheet and cells so
> that in Worksheet B: -
> 1.) Cell A2, I can have the automated count of November's transactions as
> recorded in rows of Worksheet A
> 2.) Cell A3, I can have the automated count of December's transactions as
> recorded in rows of Worksheet A
> 3.) Cell A4, consolidate "order amount" for the product Carrots in the
> month
> of November as recorded in Worksheet A
> 4.) Cell A5, consolidate "order amount" for the product Carrots in the
> month
> of December as recorded in Worksheet A
>
> In a nutshell, my plan is to just manually update Worksheet A while
> Worksheet B will automate itself based on the crtierias which I instruct
> the
> cells to extract information from.
>
> Thanks!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort/Filter Data alphabetically into separate worksheets A-Z RAL/PSCN Excel Discussion (Misc queries) 2 November 24th 08 11:16 PM
Pull info from separate worksheet based on given criteria Chas Excel Discussion (Misc queries) 10 September 26th 08 08:48 PM
Summing totals on separate worksheet based on 2 criteria Cheese_whiz Excel Discussion (Misc queries) 4 January 6th 08 10:34 PM
filter data from 10+workbooks and display in separate workbook? crush Excel Discussion (Misc queries) 1 July 8th 05 08:46 PM
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du TC Excel Worksheet Functions 1 May 12th 05 02:06 AM


All times are GMT +1. The time now is 11:25 AM.


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