+ Reply to Thread
Results 1 to 5 of 5

Count word in row to a particular date

  1. #1
    Forum Contributor
    Join Date
    09-30-2014
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    266

    Count word in row to a particular date

    Hi

    I have a query. I have a badge scan file as attached. The badges numbers in column D will get scanned daily. I'm stuck in Row 5 where I need a count function to count the number of damaged cards in column A, as I scan each day. The problem is the card's status can get changed on any given day within the month Eg: from Damaged to Loan or Assigned. which I why I need a function to count on that current date.
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Count word in row to a particular date

    Try this in cell E5 and fill across.

    =SUMPRODUCT(COUNTIFS(E$2:E$4,E$1,$D$2:$D$4,$D$2:$D$4,$A$2:$A$4,"Damaged"))
    Dave

  3. #3
    Forum Contributor
    Join Date
    09-30-2014
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    266

    Re: Count word in row to a particular date

    Hi
    This worked but for example when I changed the status of badge 1 to loan on the 12 may, the total for the 11 may changes as well. Is there a way to fix the totals from not changing daily ehwn the card does gets its status reassigned.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Count word in row to a particular date

    If I understand correctly that will require an additional column indicating date of status change for Badge 1. Then this formula should do that when Badge 1 status is changed in a later row.

    =SUMPRODUCT(COUNTIFS(F$2:F$5,$E$2:$E$5,$D$2:$D$5,$D$2:$D$5,$E$2:$E$5,F$1,$A$2:$A$5,"Damaged"))
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    09-30-2014
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    266

    Re: Count word in row to a particular date

    Hi
    When I changed the date in column E, The tally in row 6 changes to the date that i input in column E. I need the tally to remain as I scan each day.
    For example if I scan today on the 11 may and there are 1 damaged badge, F6 will show 1. Tomorrow when I scan on 12 may, and i change card no 2 to damaged status, F6 should remain as "1" and G6 should show as "2"

+ 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. Count How Often Word Occurs in One Column Depending on Date Ranges
    By raeinla in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-18-2016, 05:56 PM
  2. Replies: 5
    Last Post: 08-17-2015, 10:55 AM
  3. Count word if date in other column is a specific month (July)
    By nicimcd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2015, 11:19 AM
  4. [SOLVED] Count cells within a specific date range that contain a specific word
    By oneillp1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-23-2014, 08:34 AM
  5. Count a word's appearance based on the date in a cell
    By Reno Nex in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-09-2014, 08:18 AM
  6. Formula for Value by Date & Find Number Count with Word on Multiple Sheets
    By mydragonstalents in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-20-2013, 06:29 PM
  7. [SOLVED] formula to count how many times a word appears in a row for a date
    By Megatronixs in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-27-2012, 03:57 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