+ Reply to Thread
Results 1 to 5 of 5

please help COUNTIF using time as criteria - but remove hidden cells from count

  1. #1
    Registered User
    Join Date
    10-02-2020
    Location
    Mackay, Australia
    MS-Off Ver
    365 PROPLUS
    Posts
    2

    please help COUNTIF using time as criteria - but remove hidden cells from count

    Hi all,

    have a number of questions with a table I'm trying to make easier to use on a daily basis.

    just a bit of a background, the main table on sheet2 is a direct export from a report generated in SAP, I have filtered the rows to only encompass 01/10/2020 and sorted column H (time) from earliest to latest.

    I'm trying to create a graph that is on sheet1 daily and rather then going through manually completing the table in AD:532 to AN:534 I'm trying to get the information to draw from the main table automatically.

    1. the first problem I have is getting lines picked (the number of records that fall between a given time I:E 6am -7am in column AD) the formula I used in cell AD:532 works but it also includes hidden cells from other days so it returns 17 but what I really want is just for the date 01/10/2020 so it should be returning 2.

    2. the second problem is my lack of knowledge, the next step is getting a sum for total kg picked in each hour from column O:O and sum of picked quantity from Column Q:Q.

    I have manually filled the secondary table (AD:532 to AN:534) to show what results I'm trying to get.

    appreciate any assistance I can get.

    regards,

    Adrian
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: please help COUNTIF using time as criteria - but remove hidden cells from count

    With AD1 is date criterie, i.e 1-Oct-2020,
    AD532

    Please Login or Register  to view this content.
    AD533:
    Please Login or Register  to view this content.
    AD534
    Please Login or Register  to view this content.
    Drag all accross
    Attached Files Attached Files
    Quang PT

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,408

    Re: please help COUNTIF using time as criteria - but remove hidden cells from count

    AD532 cell , Array formula , Drag to right
    HTML Code: 
    AD533 cell , Array formula , Drag to right
    HTML Code: 
    AD534 cell , Array formula , Drag to right
    HTML Code: 

  4. #4
    Registered User
    Join Date
    10-02-2020
    Location
    Mackay, Australia
    MS-Off Ver
    365 PROPLUS
    Posts
    2

    Re: please help COUNTIF using time as criteria - but remove hidden cells from count

    thank-you bebo021999,

    works perfectly, appreciate the help.

    regards,
    adrian

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,408

    Re: please help COUNTIF using time as criteria - but remove hidden cells from count

    Thank You for the feedback and for marking the thread as 'Solved'.

+ 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. Countif except hidden (filtered) cells
    By Sgt. in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2012, 06:59 AM
  2. Using Countif to count cells that meet date criteria
    By Gooford in forum Excel General
    Replies: 2
    Last Post: 10-28-2010, 08:09 AM
  3. [SOLVED] How do I remove a hidden space in Excel cells
    By EJ B in forum Excel General
    Replies: 4
    Last Post: 11-18-2005, 03:30 PM
  4. how to ignore hidden cells with a countif
    By Lee in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] how to ignore hidden cells with a countif
    By Lee in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  6. [SOLVED] how to ignore hidden cells with a countif
    By Lee in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. how to ignore hidden cells with a countif
    By Lee in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  8. how to ignore hidden cells with a countif
    By Lee in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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