How do I count numbers in one column based on values in another column. Count column A, if column B= x, for example.
How do I count numbers in one column based on values in another column. Count column A, if column B= x, for example.
=sumproduct(isnumber((B1:B100="X")*(A1:A100))*1)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST
More we learn about excel, more it shows us, how less we know about it.
for chemistry
https://www.youtube.com/c/chemistrybyshivaansh
I tried this but it didn't work =COUNTIFS(E1:E74478,F1:F74480=HVAC)
E is the column I want to count based on criteria in column F.
Hi Hemesh. I tried that but it didn't work. Maybe I'm not applying it right.
What does the name HVAC refer to? Or, is this really supposed to be the text string "HVAC"?
Can you explain what the difference is in your actual data between "how many entries in column F are "HVAC?" and how column E actually fits into your desired calculation? It seems to me that, unless there is a second condition based on column E, then a conditional count of column F is adequate. If you need to place a condition on column E, it should be as simple as using the COUNTIFS() function =COUNTIFS(F1:F74480,"HVAC",E1:E74480,condition for column E).
Originally Posted by shg
Hi Hemesh. I tried that but it didn't work. Maybe I'm not applying it right.
Actually, I confused myself haha. Sorry I'm going to close this one and reopen a different thread because the question is slightly different. Thanks.
what did you try, I updated formula, Can you please upload a sample book to know whats actually there
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks