+ Reply to Thread
Results 1 to 8 of 8

need help counting of combination of specific text in textphrase

  1. #1
    Registered User
    Join Date
    09-24-2015
    Location
    india
    MS-Off Ver
    2007
    Posts
    20

    Lightbulb need help counting of combination of specific text in textphrase

    22 abc ntc-jkl hft ac *abc*

    50 ser ghi-bvn kun dp *hft* 2

    24 lon nik-fty nik ro *kun* 0

    29 abc uvw-hft tyu *nik* 0


    i am trying to count how many times abc appears with hft. i am using =COUNTIFS(B1:B5,D3,B1:B5,E2) formula where d3 is *hft* and e2 is *abc*. But i want result 1 insted of 2 because hft in first row is location and hft in fourth row is name. i want abc combination with location only . thanks in advance

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: need help counting of combination of specific text in textphrase

    Hi,

    just an attempt

    in D3 instead of

    *hft*

    you could try

    * hft*

    Hope it helps
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    09-24-2015
    Location
    india
    MS-Off Ver
    2007
    Posts
    20

    Re: need help counting of combination of specific text in textphrase

    thanks for ur quick reply it works and solved most of problem..but there is one thing in some data where 29 abc hft-uvw tyu then it counts again will count *hft* .. how it will solve

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: need help counting of combination of specific text in textphrase

    Hi,

    thank you for your kind feedback.

    Another attempt, maybe an extra spase at the end of the substring in D3 could do the trick.

    * hft *

    Hope it helps

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: need help counting of combination of specific text in textphrase

    Attach sample file excel file with possible examples and expected result
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Registered User
    Join Date
    09-24-2015
    Location
    india
    MS-Off Ver
    2007
    Posts
    20

    Re: need help counting of combination of specific text in textphrase

    Great!! thanks you have solved my problem

  7. #7
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: need help counting of combination of specific text in textphrase

    Hi,

    thanks for sharing your feedback.

    नमस्ते

  8. #8
    Registered User
    Join Date
    09-24-2015
    Location
    india
    MS-Off Ver
    2007
    Posts
    20

    Re: need help counting of combination of specific text in textphrase

    Buona sera

    i have two queries
    1 21 xyz nab -gyt huy *xyz*() *buy*
    32 buy der -kon htr * huy * 1
    * nab * 1
    * htr * 1
    while it should return 1 only in 1st row (with * huy *) in second row it should return 0
    2 44 rfb uid-efg grn
    25 grn tys-swa chu * grn *
    * grn *2
    while it should return 0.
    Actually i have quite large data where i found these type of entries here first grn is refrence number and last grn is location..i have task to count the combination of refrence number and location. I am using countifs formula like previous one. in second query it is clue that always number comes before first grn like (25 grn tys-swa chu).but i don't know how to use it
    sorry!! for again brothering u. thanks in advance,
    Last edited by anu08; 09-24-2015 at 03:29 PM.

+ 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 Text based on specific criteria in another column
    By djreddy in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 08-26-2013, 09:35 AM
  2. Replies: 8
    Last Post: 11-08-2012, 02:26 PM
  3. Excel 2007 : Counting for specific text in a cell
    By Nickalbu in forum Excel General
    Replies: 4
    Last Post: 01-22-2012, 10:44 PM
  4. Replies: 2
    Last Post: 05-20-2010, 02:35 AM
  5. Counting values for specific text
    By Analyst123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-08-2008, 05:08 PM
  6. [SOLVED] Counting cells not containing specific text
    By [email protected] in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2006, 03:30 PM
  7. Counting text across multiple sheets with a specific criterion
    By Gitel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-13-2005, 10:25 AM
  8. [SOLVED] Counting specific text in a cell
    By Steve in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-26-2005, 02:06 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