+ Reply to Thread
Results 1 to 11 of 11

ISNUMBER and FIND in finding case-sensitive values based on the criteria

  1. #1
    Registered User
    Join Date
    12-04-2020
    Location
    Antipolo City, Rizal, Philippines
    MS-Off Ver
    Microsoft Office Excel 2019 and 2021
    Posts
    38

    ISNUMBER and FIND in finding case-sensitive values based on the criteria

    Good evening. I need some help.

    Using ISNUMBER, FIND, and any criteria-based formula (IF, COUNTIF, COUNTIFS, SUMIF, and/or SUMIFS), how can I determine the number of case-sensitive cells that satisfy the given condition/s? As in, how can Excel compute the number of cells that met the given text AND the given condition?

    I am using Excel 2021 for this, and I am hoping for any replies regarding this.

    Thank you.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: ISNUMBER and FIND in finding case-sensitive values based on the criteria

    Something like this, in E2?

    =SUM(IF($B$2:$B$51="VALID",1,0)*IF(ISNUMBER(FIND(D2,$A$2:$A$51)),1,0))

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: ISNUMBER and FIND in finding case-sensitive values based on the criteria

    Like this?

    =SUMPRODUCT(EXACT($A$2:$A$51,D2)*EXACT($B$2:$B$51,"VALID"))

  4. #4
    Registered User
    Join Date
    12-04-2020
    Location
    Antipolo City, Rizal, Philippines
    MS-Off Ver
    Microsoft Office Excel 2019 and 2021
    Posts
    38

    Re: ISNUMBER and FIND in finding case-sensitive values based on the criteria

    Seems very close, but here's the workbook that I've made.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: ISNUMBER and FIND in finding case-sensitive values based on the criteria

    What's not working?

  6. #6
    Registered User
    Join Date
    12-04-2020
    Location
    Antipolo City, Rizal, Philippines
    MS-Off Ver
    Microsoft Office Excel 2019 and 2021
    Posts
    38

    Re: ISNUMBER and FIND in finding case-sensitive values based on the criteria

    It should've totaled 81 occurrences but when I highlighted the cells, there are 114 occurrences.

    Row D8 should've been: 3 4 3 8 10 11 9 13 8 7
    When I entered the formula: 36 18 9 18 15 15 10 16 9 9

  7. #7
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: ISNUMBER and FIND in finding case-sensitive values based on the criteria

    Ah I see. The problem arises because you have two entries which are similar; "Wonder" and "Wonderland", so when you search for "Wonder" you get both.

    Looking at your source data, it seems the search term is always enclosed in quotation marks, so you could replace:

    'Summary of Data'!$D2

    with

    CHAR(34)&'Summary of Data'!$D2&CHAR(34)

    which should solve the problem.

  8. #8
    Registered User
    Join Date
    12-04-2020
    Location
    Antipolo City, Rizal, Philippines
    MS-Off Ver
    Microsoft Office Excel 2019 and 2021
    Posts
    38

    Re: ISNUMBER and FIND in finding case-sensitive values based on the criteria

    Could you please clarify what you mean? Here's the formula that I attempted with:

    =SUM(IF(Raw_Data[STATUS]="VALID",1,0)*IF(ISNUMBER(FIND('Summary of Data'!$D2,Raw_Data[12 points (Heat 1)])),1,0))

  9. #9
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: ISNUMBER and FIND in finding case-sensitive values based on the criteria

    Change:

    =SUM(IF(Raw_Data[STATUS]="VALID",1,0)*IF(ISNUMBER(FIND('Summary of Data'!$D2,Raw_Data[12 points (Heat 1)])),1,0))

    To:

    =SUM(IF(Raw_Data[STATUS]="VALID",1,0)*IF(ISNUMBER(FIND(CHAR(34)&'Summary of Data'!$D2&CHAR(34),Raw_Data[12 points (Heat 1)])),1,0))

  10. #10
    Registered User
    Join Date
    12-04-2020
    Location
    Antipolo City, Rizal, Philippines
    MS-Off Ver
    Microsoft Office Excel 2019 and 2021
    Posts
    38

    Re: ISNUMBER and FIND in finding case-sensitive values based on the criteria

    If so, then how would that formula apply to all cells?

  11. #11
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: ISNUMBER and FIND in finding case-sensitive values based on the criteria

    You could just do a find and replace on the one you had already done, and copy down to the other cells.

    A more robust method might be to put this in cell F2:

    =SUM(IF(Raw_Data[[STATUS]:[STATUS]]="VALID",1,0)*IF(ISNUMBER(FIND(CHAR(34)&'Summary of Data'!$D2&CHAR(34),Raw_Data[12 points (Heat 1)])),1,0))

    Then drag it (using the bottom right corner of the cell, NOT copy and paste) across and down, and the column references should update correctly.

+ 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: 6
    Last Post: 12-02-2021, 10:04 AM
  2. Removing Case Sensitive Duplicate Values based on another field
    By burn2772 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2021, 09:39 PM
  3. Solution for Find functions to non-case sensitive
    By suriya0702 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-11-2019, 03:29 PM
  4. [SOLVED] VBA Fuzzy Lookup (Find) - Case Sensitive Issue
    By hamidxa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-21-2017, 09:59 AM
  5. Advanced Filter, multiple Criteria, case sensitive
    By moosmahna in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2017, 05:37 AM
  6. [SOLVED] Counting cells using multiple criteria (case sensitive)
    By serentan in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-04-2014, 02:56 PM
  7. Unique Values that are case sensitive
    By VegasL in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-12-2013, 02:30 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