+ Reply to Thread
Results 1 to 5 of 5

Counting value in a cell if a cell in the same row but a different column has a set value

  1. #1
    Registered User
    Join Date
    02-20-2024
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    2

    Counting value in a cell if a cell in the same row but a different column has a set value

    Hi guys,

    New to lots of excel so please bare with me.

    I have a spreadsheet to monitor if and when staff have completed various different training courses.

    There are 2 categories of staff member and one of the categories is not required to complete one of the training courses. I am trying to create a formula to count which of the staff from the category haven't completed the training. I have attempted to use COUNTIFS but it returns a count of zero. I need the formula to check whether a cell in a column has a certain value and then, if it does, does a cell from the same row in a different column have a certain date or a blank value and count the total of these that match. So in the screenshot attached, if Column D has the value 'SAP', it will need to check if column N has a date within 90 days or if it is blank and then give me a total so I know how many to book on the course next time.

    I hope this makes sense.

    Any help would be greatly appreciated.
    Attached Files Attached Files
    Last edited by JackJJr; 02-20-2024 at 12:48 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,090

    Re: Counting value in a cell if a cell in the same row but a different column has a set va

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: Counting value in a cell if a cell in the same row but a different column has a set va

    A picture is not much use to us - better to attach a sample Excel workbook, as described in the yellow banner at the top of the screen.

    Pete

  4. #4
    Registered User
    Join Date
    02-20-2024
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    2

    Re: Counting value in a cell if a cell in the same row but a different column has a set va

    Apologies, I have now uploaded the spreadsheet I am working from

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,587

    Re: Counting value in a cell if a cell in the same row but a different column has a set va

    Try the following:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Problem with counting item in adjacent cell if the cell in a particular column is empty
    By stlee96 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2021, 06:43 AM
  2. Replies: 3
    Last Post: 07-30-2020, 06:02 PM
  3. [SOLVED] Counting strings in a cell only in a row where another column value >0
    By deneh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2013, 05:03 AM
  4. Counting some of the cells in one column IF the cell in another column is true
    By Jeep326 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2013, 02:53 AM
  5. Counting Cell value change in a column using macros
    By anshul1516 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-30-2013, 06:06 AM
  6. [SOLVED] counting Multiple answers in 1 cell + column
    By the6thlee in forum Excel General
    Replies: 1
    Last Post: 02-21-2005, 06:06 AM
  7. counting Multiple answers in 1 cell + column
    By help me i have an excel problem in forum Excel General
    Replies: 1
    Last Post: 02-21-2005, 05:24 AM

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