Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sriram R
 
Posts: n/a
Default Multiple conditions data analysis

I have a database of 50 columns and 4000 rows. I am trying to calculate the
number of rows that match multiple criteria. For example:
If column A < 0.5, Column B=0 and Column C: between 2/1/06 - 3/1/06.
Note that not all cells have data and are blank. Say some cells with A < 0.5
will not have any value for B.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
B. R.Ramachandran
 
Posts: n/a
Default Multiple conditions data analysis

Hi Sriram,

Try the following formula.

=SUMPRODUCT(--(A2:A1001<0.5)*ISNUMBER(A2:A1001)*(B2:B1001=0)*ISN UMBER(B2:B1001)*(C2:C1001=$E$1)*(C2:C1001<=$F$1)* ISNUMBER(C2:C1001))

where E1 and F1 contain the start and end dates (2/1/06 and 3/1/06 in your
example). If blanks occur only in Column B (and not in columns A or C), you
may remove from the formula the ISNUMBER parts corresponding to those columns.

Regards,
B. R. Ramachandran


"Sriram R" wrote:

I have a database of 50 columns and 4000 rows. I am trying to calculate the
number of rows that match multiple criteria. For example:
If column A < 0.5, Column B=0 and Column C: between 2/1/06 - 3/1/06.
Note that not all cells have data and are blank. Say some cells with A < 0.5
will not have any value for B.

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
Look up info in a database using 2 conditions cbuker Excel Worksheet Functions 0 January 25th 06 08:59 PM
Move multiple rows of data that are not sequential Mel Excel Discussion (Misc queries) 1 January 20th 06 06:33 AM
Why does the Data Analysis Toolbar Disappear Vinnie Excel Discussion (Misc queries) 1 October 7th 05 07:04 PM
merge multiple row cells of text corresponding to one row of data roberta t williams Excel Worksheet Functions 0 August 12th 05 04:09 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


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