Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default I want formula for multiple criteria using ih differnt column

example

col-A COL-B COL-C COL-D COL-E
AA 1 C/S F 05.APR.08
AA 4 S/S S 02.MAY.08
BB 2 C/S S 03.MAY.08
CC 1 C/S F 10.APR.08
AA 0.5 C/S F
DD 2 A/S S
BB 10 C/S F

I WANT THE RESULT IF COL-A=AA, IF COL-E = NON BLANK OR DATE,IF COL-D=S,
COL-B <2, SUM(COL-B)

PLEASE HELP IN THIS
MAX NO OF ROWS MAY BE UPTO 40000 DATAS.

AWAITING YOUR HELP UREGENT PLEASE

S.P.SAMY
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default I want formula for multiple criteria using ih differnt column

=SUMPRODUCT(--(A2:A8="AA"),--((ISNUMBER(E2:E8))+(D2:D8="S")),--(B2:B8<2),B2:B8)

Sumproduct only works on defined ranges, not full columns, prior to Excel
2007.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"PERANISH" wrote in message
...
example

col-A COL-B COL-C COL-D COL-E
AA 1 C/S F 05.APR.08
AA 4 S/S S 02.MAY.08
BB 2 C/S S 03.MAY.08
CC 1 C/S F 10.APR.08
AA 0.5 C/S F
DD 2 A/S S
BB 10 C/S F

I WANT THE RESULT IF COL-A=AA, IF COL-E = NON BLANK OR DATE,IF COL-D=S,
COL-B <2, SUM(COL-B)

PLEASE HELP IN THIS
MAX NO OF ROWS MAY BE UPTO 40000 DATAS.

AWAITING YOUR HELP UREGENT PLEASE

S.P.SAMY



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default I want formula for multiple criteria using ih differnt column

Thanks for yr immediate reply.Since i am in leave, i cant reply immediately.
Anyhow, i will apply this formula in my datas, will comeback soon.

Once again thanks

"Bob Phillips" wrote:

=SUMPRODUCT(--(A2:A8="AA"),--((ISNUMBER(E2:E8))+(D2:D8="S")),--(B2:B8<2),B2:B8)

Sumproduct only works on defined ranges, not full columns, prior to Excel
2007.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"PERANISH" wrote in message
...
example

col-A COL-B COL-C COL-D COL-E
AA 1 C/S F 05.APR.08
AA 4 S/S S 02.MAY.08
BB 2 C/S S 03.MAY.08
CC 1 C/S F 10.APR.08
AA 0.5 C/S F
DD 2 A/S S
BB 10 C/S F

I WANT THE RESULT IF COL-A=AA, IF COL-E = NON BLANK OR DATE,IF COL-D=S,
COL-B <2, SUM(COL-B)

PLEASE HELP IN THIS
MAX NO OF ROWS MAY BE UPTO 40000 DATAS.

AWAITING YOUR HELP UREGENT PLEASE

S.P.SAMY




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
sum column based on multiple criteria BrianLW Excel Worksheet Functions 0 January 23rd 08 11:24 PM
How do I sum column D and F based on multiple column criteria? sharon t Excel Worksheet Functions 12 August 20th 07 03:44 PM
How to add differnt font colors to Formula results Mini-zKris Excel Discussion (Misc queries) 2 March 17th 07 10:45 PM
Multiple Criteria in same Column Charlene Excel Worksheet Functions 9 February 19th 07 06:04 PM
multiple criteria in one column Barb Excel Worksheet Functions 1 December 3rd 04 07:49 PM


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