COUNT Cells

mypig7

Active Member
Joined
Sep 27, 2004
Messages
285
I have 2 columns on Sheet 2

In column 1 it says Mon all the way down to A10
Then Tues for a few more cells below, then Weds for a few cells and so on.
The list is sorted in order

To the right in Column B some cells have numbers in them and some are blank
On Sheet 1 I want a summary, so it would say:

"Mon" in one cell
And to the right of Mon a count of how many cells next to Mon in Column B (Sheet 2) that have something in them.

How do I do it?

Tried a combination of AND, COUNTIF...
 

Some videos you may like

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Eric W

MrExcel MVP
Joined
Aug 18, 2015
Messages
9,289
Try:

=COUNTIFS(Sheet2!A:A,"Mon",Sheet2!B:B,">0")
 
Last edited:

Forum statistics

Threads
1,089,320
Messages
5,407,553
Members
403,152
Latest member
Junaid Azhar

This Week's Hot Topics

  • help please
    SORRY NOT ANY GOOD AT EXCEL SO HELP WOULD BE MUCH APPRECIATED this formula is in a sheet called ignore...
  • two formulas needed
    Hello, I'll try my best to explain this: First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then...
  • Dynamic Counts
    Good afternoon, we are tidying up some data & the data seems to be growing quicker than we are tidying it up! What we confirm (by reviewing it...
  • Help Excel formula eliminate duplicate values and keep only 2 identical rows.
    as picture below column A has a duplicate value. but the values are not the same as the rule. sometimes 4 rows, sometimes 10 rows or 7 or 9...
  • Macro Compile Error Sub or Function not defined
    Hello, I am trying to run macros from a validation list, all macros have been created and run perfectly on there own but I'm getting a compile...
  • Last row combined with Current Region VBA
    I'm generally happy finding the last row of data through something like Lastrow = Cells(Rows.Count, "D").End(xlUp) but I don't always receive data...
Top