+ Reply to Thread
Results 1 to 5 of 5

Count values between two static

  1. #1
    Forum Contributor
    Join Date
    11-10-2012
    Location
    Sweden, Stockholm
    MS-Off Ver
    MS Excel 365
    Posts
    175

    Count values between two static

    Need to count the 1 and 2 for each article.
    See attached xls.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,743

    Re: Count values between two static

    you could do pivot table

    or use a countifs()
    Attached Files Attached Files
    Last edited by etaf; 03-11-2017 at 11:57 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    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,053

    Re: Count values between two static

    You can use a COUNTIFS formula, like this:

    =COUNTIFS($A:$A,$E2,$B:$B,F$1)

    see shhet to see it in place.
    Attached Files Attached Files
    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

  4. #4
    Forum Contributor
    Join Date
    11-10-2012
    Location
    Sweden, Stockholm
    MS-Off Ver
    MS Excel 365
    Posts
    175

    Re: Count values between two static

    Quote Originally Posted by Glenn Kennedy View Post
    You can use a COUNTIFS formula, like this:

    =COUNTIFS($A:$A,$E2,$B:$B,F$1)

    see shhet to see it in place.
    I am looking at this one, though I found out that I have a lot of empty fields. I do not want to count those. Only if the field is with text.
    Can it be easily adjusted?

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Count values between two static

    You can modify Glenn's formula to read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you are using a formula to get a unique list of articles you could use*:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    *The preceding formula is an array entered formula, meaning that it is activated by simultaneously pressing the Ctrl, Shift and Enter keys while the cell is in edit mode.
    I was unsure of whether you mean that there was no value in column A, B or both, however these two modifications help in all three instances (see attached copy of Glenn's file).
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 1
    Last Post: 08-12-2013, 08:38 AM
  2. Replies: 2
    Last Post: 08-12-2013, 06:19 AM
  3. Static left hand side column and static header row.. how?
    By glic in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-20-2007, 01:45 AM
  4. [SOLVED] Copying cell values once and then making them static
    By bj in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-06-2005, 07:05 AM
  5. Copying cell values once and then making them static
    By bj in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 06:05 AM
  6. [SOLVED] Copying cell values once and then making them static
    By bj in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-06-2005, 04:05 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