+ Reply to Thread
Results 1 to 8 of 8

Formula to look up how many records there are for a serial number on a certain date.

  1. #1
    Registered User
    Join Date
    08-10-2020
    Location
    Riyadh
    MS-Off Ver
    MS Office 365 Apps for Bussiness (Windows 10 64 Bit)
    Posts
    68

    Formula to look up how many records there are for a serial number on a certain date.

    Hi,
    Kindly suggest which formula i should use in this table cell (D2). which tell me all S.no in B column have how many records on date mentioned above (header) in sheet 2 B& C columns

    thanks




    12.jpg




    2.jpg
    Attached Files Attached Files
    Last edited by max2599; 07-14-2021 at 05:24 AM.

  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
    80,981

    Re: Need simple countif & match formula.

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: how help with formula,

    Try this:
    HTML Code: 
    Attached Files Attached Files
    Last edited by tanasedn; 07-14-2021 at 05:27 AM.
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  4. #4
    Registered User
    Join Date
    08-10-2020
    Location
    Riyadh
    MS-Off Ver
    MS Office 365 Apps for Bussiness (Windows 10 64 Bit)
    Posts
    68

    Re: how help with formula,

    is it possible to remove all the zeros, I want to turn all cells with 0 values into empty.


    Attachment 740254

  5. #5
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Formula to look up how many records there are for a serial number on a certain date.

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

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Formula to look up how many records there are for a serial number on a certain date.

    I normally do that like this:

    =IFERROR(1/(1/COUNTIFS(Overtime[[S no]:[S no]],@Table2[[S NO]:[S NO]],Overtime[[Date]:[Date]],DATEVALUE(Table2[[#Headers],[15-Jun]]&"-2021"))),"")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  7. #7
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Formula to look up how many records there are for a serial number on a certain date.

    @ Glenn
    Nice and elegant solution! I'm too sleepy!

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Formula to look up how many records there are for a serial number on a certain date.

    Quote Originally Posted by tanasedn View Post
    @ Glenn
    Nice and elegant solution! I'm too sleepy!
    Get some espresso. It has woken me up!!

+ 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] Simple Match/Mismatch Formula
    By ronakpatel in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-21-2020, 01:00 PM
  2. [SOLVED] Need Help With a Simple Excel Match/VLookup Formula
    By financeanalyst in forum Excel General
    Replies: 3
    Last Post: 05-15-2018, 05:48 PM
  3. [SOLVED] Need help with 1 simple Index Match formula.
    By lorenc1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-19-2017, 09:36 AM
  4. [SOLVED] Simple countif formula
    By [email protected] in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2015, 12:42 PM
  5. array match formula fails but simple match works
    By dimwit in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-06-2014, 07:30 PM
  6. Replies: 0
    Last Post: 11-10-2012, 03:42 PM
  7. Simple Sumproduct or Countif formula
    By gtudor in forum Excel General
    Replies: 5
    Last Post: 06-25-2012, 04:55 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