I would need the count of Number 1 in the B column, I tried count IF, but still a separate Hlook up is required.
Can someone help me out with the countif and hlookup formula in same cell.
enclosed sample excel
I would need the count of Number 1 in the B column, I tried count IF, but still a separate Hlook up is required.
Can someone help me out with the countif and hlookup formula in same cell.
enclosed sample excel
you need to be more clear, why is a countif not sufficient? What results are you looking for?
Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
Sam Capricci
in c12
=COUNTIF(INDEX($B$3:$D$6,0,MATCH(B12,$B$2:$D$2,0)),1)
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Do you mean?
Formula:Please Login or Register to view this content.
Regards
Fotis.
-This is my Greek whisper to Europe.
--Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Advanced Excel Techniques: http://excelxor.com/
--KISS(Keep it simple Stupid)
--Bring them back.
---See about Acropolis of Athens.
--Visit Greece.
Maybe this...
Entered in D12 and copied down:
=COUNTIF(INDEX(B$3:D$6,,MATCH(B12,B$2:D$2,0)),C12)
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
er tony that wouldnt that try to count the number of "A"'s
=COUNTIF(INDEX($B$3:$D$6,0,MATCH(B12,$B$2:$D$2,0)),1) counts the number of 1's
My formula does count the 1's.
In the sample file cell C12 contains a 1. I assume that's the count criteria.
ahh i see i thought that was b12 wonky eyes
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks