+ Reply to Thread
Results 1 to 3 of 3

How do I count a certain number in a column given within a row?

  1. #1
    Registered User
    Join Date
    01-10-2019
    Location
    Copenhagen
    MS-Off Ver
    2016
    Posts
    5

    Red face How do I count a certain number in a column given within a row?

    Hi there.

    I have a COUNTIFS formula where I try to count a certain number, with a condition of the week number. Between D6 and P6 i have the week numbers that the formula should search for, however, I don't think this is correct. Anyone who knows how I could make it work? :-)

    =COUNTIFS(Data!$Z:$Z;"Arm*";Data!$AD:$AD;D6:P6)

    (In the Data sheet, I'm looking for how many times the word arm (plus maybe some more text hence the *) occurs in a given week.)

    Thanks in advance

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,837

    Re: How do I count a certain number in a column given within a row?

    Try it like this:

    =SUM(COUNTIFS(Data!$Z:$Z;"Arm*";Data!$AD:$AD;D6:P6))

    This is an array formula, so you need to use the key combination of Ctrl/Shift/Enter (CSE) to confirm it, rather than the usual Enter.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    01-10-2019
    Location
    Copenhagen
    MS-Off Ver
    2016
    Posts
    5

    Re: How do I count a certain number in a column given within a row?

    Hi Pete_UK!
    This worked for me. Thank you very much! Have a wonderful day, kind regards from Copenhagen.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to count number of blank cells on a column up to a number value is typed
    By carlosnixon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-25-2018, 02:46 AM
  2. how to count number of blank cells on a column up to a number value is typed
    By carlosnixon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-25-2018, 01:01 AM
  3. [SOLVED] VBA to count number in column and give number sequence in next column
    By saravanan1981 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-03-2016, 09:38 AM
  4. [SOLVED] Count the number of gaps of a number occured in a column
    By eiistrir in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-21-2014, 07:05 AM
  5. [SOLVED] Count the number of unigue numbers based on number in another column.
    By ksmith4809 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-27-2013, 09:11 AM
  6. [SOLVED] Filtering macro, count number of rows and include count in last column.
    By Folshot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-12-2012, 07:17 AM
  7. Count row number and populate column with count number
    By ajay1967 in forum Excel General
    Replies: 3
    Last Post: 12-01-2011, 02:49 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1