+ Reply to Thread
Results 1 to 7 of 7

Counting values present in some rows

  1. #1
    Registered User
    Join Date
    11-13-2021
    Location
    Rio de Janeiro, Brazil
    MS-Off Ver
    2019
    Posts
    6

    Counting values present in some rows

    Hey folks!

    I apologize beforehand because it is kinda difficult to explain!
    Giving an array, is there any formula to count values that happens next to a given cell value (like a data validation)? I attached a file that could help you look at this scenario.

    Many thanks!club_row_lookup.xlsx

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

    Re: Counting values present in some rows

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

    And drag down
    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 !

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Counting values present in some rows

    I don't quite understand but here's another one. It looks for the value in H2 and checks each side for the values in column J peer row.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by protonLeah; 01-11-2023 at 09:33 PM.
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    11-13-2021
    Location
    Rio de Janeiro, Brazil
    MS-Off Ver
    2019
    Posts
    6

    Re: Counting values present in some rows

    Thanks for the help tanasedn! I'm afraid it is not what I'm looking for
    Last edited by SuperHiper; 01-11-2023 at 10:09 PM. Reason: Included tanasedn nickname to my reply (forgot to quote the message)

  5. #5
    Registered User
    Join Date
    11-13-2021
    Location
    Rio de Janeiro, Brazil
    MS-Off Ver
    2019
    Posts
    6

    Re: Counting values present in some rows

    Quote Originally Posted by protonLeah View Post
    I don't quite understand but here's another one. It looks for the value in H2 and checks each side for the values in column J peer row.
    Please Login or Register  to view this content.
    Hi!
    I think it is getting there! In H2 I look for a club, then K2 to K6 should check the lines and count how many times the clubs in J2:J6 were along in top 6. An example is when I select "West Ham" in H2, it should show me that it appears along Chelsea 1 time (K3) and Arsenal 0 time (K2), for example. Is it possible? Thanks!!

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Counting values present in some rows

    could you attach excel file and show expected result with your example and explain your logic?
    Last edited by sandy666; 01-11-2023 at 10:26 PM.

  7. #7
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Counting values present in some rows

    Please Login or Register  to view this content.

+ 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. Counting rows if data is present in certain cells
    By andyr85 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-16-2022, 12:17 PM
  2. Replies: 5
    Last Post: 04-07-2015, 07:46 PM
  3. Counting Unique Values If a certain value is present.
    By mofoman2k1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-08-2014, 08:40 AM
  4. Replies: 0
    Last Post: 05-16-2013, 09:52 AM
  5. Delete Rows based on values present in another column
    By mlogan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2013, 03:13 AM
  6. [SOLVED] Auto Hiding rows based on range/data present or not present.
    By raze in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 02-10-2013, 11:27 AM
  7. Delete Rows based on values present in another column
    By booo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2011, 05:19 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