+ Reply to Thread
Results 1 to 4 of 4

finding rows from a count formula

  1. #1
    Registered User
    Join Date
    03-31-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    17

    finding rows from a count formula

    Hi,

    I have a countif formula that works. It shows me the amount of time past since a certain date, but what i need to to know what row it refers to so i can do something like a vlookup and pull other data from that row that is in different columns. I'll want about 3 different columns including a unique reference.

    So for example, when my countif formula finds 5 matches, i would like to know the found matches; Job number, raised date, due date etc.
    How can i do this?

    TIA

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: finding rows from a count formula

    Suggest you upload a sample worksheet so that we can see what it looks like to better help you solve your issue.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  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,732

    Re: finding rows from a count formula

    It would help if you attached a sample Excel workbook, so we can see how you data is laid out. The FAQ describes how to - basically, click on Go Advanced while composing a post, then scroll down to and click on Manage Attachments, then follow the on-screen prompts.

    Pete

  4. #4
    Registered User
    Join Date
    03-31-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    17

    Re: finding rows from a count formula

    Hi,

    Thanks for the quick reply's. The spreadsheet im using is massive and has multiple worksheets so I will try to explain better.

    [/INDENT]24h 48h 72h 5 days 10 days >10 days
    Completed 5 0 0 0 0 14
    Due 3 0 5 0 0 0
    Overdue 0 0 0 0 0 10

    This is my matrix to see what has been completed/due/overdue in the last/next 24/48/72 hours etc

    Formula for this matrix for 24h is:
    My formula for Completed is: =COUNTIFS(Data!$AB:$AB,"Completed",Data!$V:$V,">="&NOW()-1)
    where AB is the status and V is the completion date
    My formula for Due is: =COUNTIFS(Data!$AB:$AB,"In Progress",Data!$T:$T,">="&NOW()+1)
    where AB is the status and T is the completion due date
    My formula for Overdue is: =COUNTIFS(Data!$AB:$AB,"In Progress",Data!$T:$T,">="&NOW()-1)
    where AB is the status and T is the completion due date

    This seems to yield me results that im hoping are correct.

    So with the above formula populating the above matrix in the form of a count, I would like to reference the count cell/row it is referring to.
    So I would like to see what the 5 tasks which were completed in the last 24 hours and the 3 that are due in the next 24 hours.
    I'd like to lookup the row being counted and output some columns such as a reference/job ID, Job Description, Notes etc.


    How would I go about doing this.

    I hope that's a bit clearer. Really sorry if it isn't.

+ 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. Formula to count number of visible rows, and formula to count visible blanks
    By radoncadonc in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-28-2015, 04:19 PM
  2. Finding count of rows within time range
    By ChrisMu1 in forum Excel General
    Replies: 8
    Last Post: 05-01-2012, 11:37 AM
  3. Finding and Deleting Rows based on Formula entries
    By BehrBrew in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-27-2012, 06:01 PM
  4. Replies: 2
    Last Post: 03-30-2010, 12:41 PM
  5. Formula to count rows at once
    By roberto1111 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2010, 08:18 PM
  6. Replies: 3
    Last Post: 03-02-2007, 07:13 AM
  7. Need formula to count rows
    By bill_s1416 in forum Excel General
    Replies: 13
    Last Post: 12-10-2006, 05:37 AM

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