+ Reply to Thread
Results 1 to 7 of 7

Countif (filling blank rows)

  1. #1
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    312

    Countif (filling blank rows)

    I just wondered if it was possible (that with a slight modification) the formulas in KP2:WC5 could "fill the rows" which have the same ID (i.e. end up looking like WE2:AHR5)

    Cheers
    Mdn
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Countif (filling blank rows)

    This might have been easier to "manage" if you went down, instead of across (you could still swap them around pretty easily using copy/paste transpose)

    You could probably do what you want using INDEX/MATCH, but which cells/values do you want to pull in?

    Im a little puzzled by the formula you have in KP5...
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    That is essentially testing if a count in a small range in AHT is the same as a count of the full AHT column?

    Perhaps you could explain what you are trying to do here?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    312

    Re: Countif (filling blank rows)

    The proper data is much larger (thousands of rows); & I was trying to sum everything with the same ID i.e.

    Du96Io3CRYeNsm4jYIu0Hw.png

    Which works great, but I didn't anticipate the formula only providing a value for the last ID, rather than all the IDs with the same value (i.e. KP2, KP3, KP4 should have the value 271786.17)
    Attached Files Attached Files
    Last edited by Median; 05-29-2018 at 01:58 PM.

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

    Re: Countif (filling blank rows)

    Quote Originally Posted by Median View Post
    I didn't anticipate the formula only providing a value for the last ID, rather than all the IDs with the same value (i.e. KP2, KP3, KP4 should have the value 271786.17)
    Then skip the IF test and do just
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It does that.
    Dave

  5. #5
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    312

    Re: Countif (filling blank rows)

    Dave, you're a complete legend (as always)

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Countif (filling blank rows)

    Thanks for the feedback and rep. Glad to help.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Countif (filling blank rows)

    Thanks for the rep

+ 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. Filling Blank Rows w/ Values
    By XtremeSki2001 in forum Excel General
    Replies: 8
    Last Post: 06-14-2016, 12:16 AM
  2. Countif fomula to count blank rows
    By gill123 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-26-2015, 03:46 PM
  3. Replies: 2
    Last Post: 01-06-2013, 05:50 AM
  4. filling in blank rows by the next available filled row
    By debayan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2010, 11:16 AM
  5. Filling data into subsequent blank rows
    By salkovsg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2007, 05:45 PM
  6. Filling In Every Blank
    By Rebecca in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 06-04-2006, 10:55 PM
  7. blank rows filling (Urgent)
    By Lolly in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2006, 07:15 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