+ Reply to Thread
Results 1 to 5 of 5

Countif horizontal range by vertical column

  1. #1
    Forum Contributor
    Join Date
    02-13-2018
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    179

    Countif horizontal range by vertical column

    Hello,

    I am trying to get the following results. I want a count of all the "Y" in the Data sheet by the salesperson. I used this formula below, but it is not good. The dilemma is the "Y"'s are horizontal and the Salesperson is vertical. This is not the best design, but I have to keep the spreadsheet as is. The workbook is attached.

    Please Login or Register  to view this content.
    thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Countif horizontal range by vertical column

    Perhaps like this ? (There are other ways)
    Attached Files Attached Files

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Countif horizontal range by vertical column

    if you just want to count "Y" from the data tab, maybe this will work for you...
    =SUMPRODUCT((Data!$X$3:$X$26=Report!$A3)*(Data!$C$3:$W$26="Y"))
    it returns 15 for Jewel, is that the answer you were expecting?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Forum Contributor
    Join Date
    02-13-2018
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    179

    Re: Countif horizontal range by vertical column

    @ Pepe Le Mokko
    this formula worked - Thanks!
    Please Login or Register  to view this content.

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Countif horizontal range by vertical column

    You're welcome

+ 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. Countif with Horizontal and Vertical criteria
    By iansl2000 in forum Excel General
    Replies: 6
    Last Post: 12-08-2020, 07:00 AM
  2. [SOLVED] Vertical and Horizontal Countif between dates with multiple criteria
    By ShakJames in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-16-2019, 06:17 AM
  3. [SOLVED] CountIf Depending on horizontal and vertical criteria
    By Jamidd1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-18-2018, 05:24 PM
  4. [SOLVED] Transpose vertical to horizontal data based on countif?
    By dunnobe in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-23-2018, 06:36 AM
  5. Replies: 16
    Last Post: 06-01-2017, 06:01 PM
  6. Countif function - horizontal and vertical textlookup
    By llo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-11-2014, 06:19 PM
  7. [SOLVED] countif, fill horizontal, lookup vertical
    By tigaente in forum Excel General
    Replies: 4
    Last Post: 04-23-2012, 05:21 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