Hi All,
I have three columns (A,B,C) in sheet and I need to sum column C data where data in A = *AB* AND data in column B is "*ype1*"
A B C
ABC type1 1
DEF type2 0
ABC type2 1
XYZ type1 1
ABC type1 0
DEF type1 0
Also I need to count the unique values in column C when below two conditions are satisfied:
Cond 1: Column a has *AB*
Cond 2: Coumn B has *ype1*
Thanks in advance
Last edited by NBVC; 06-30-2011 at 04:21 PM.
Try these:
and=SUMIFS(C1:C6,A1:A6,"*AB*",B1:B6,"*ype1*")
this last formula needs to be confirmed with CTRL+SHIFT+ENTER to work, not just enter.=SUM(FREQUENCY(IF(ISNUMBER(SEARCH("*AB*",A1:A6)),IF(ISNUMBER(SEARCH("*ype1*",$B$1:$B$6)),MATCH(B1:B6,B1:B6,0))),ROW(B1:B6)-ROW(B1)+1))
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Try:
CSE confirmed=COUNT(1/(FREQUENCY(IF(ISNUMBER(SEARCH("*AB*",A1:A6)),IF(ISNUMBER(SEARCH("*ype1*",$B$1:$B$6)),IF(C1:C6<>"",MATCH(C1:C6,C1:C6,0)))),ROW(B1:B6)-ROW(B1)+1)))
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks