+ Reply to Thread
Results 1 to 4 of 4

Count multi value of String

  1. #1
    Spammer
    Join Date
    06-29-2020
    Location
    Vietnam
    MS-Off Ver
    2013
    Posts
    95

    Count multi value of String

    How to work with VBA https://postimg.cc/Y4Fhg9wh

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,653

    Re: Count multi value of String

    UDF

    B25;
    =Countw(B23,";")
    Please Login or Register  to view this content.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,012

    Re: Count multi value of String

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Spammer
    Join Date
    06-29-2020
    Location
    Vietnam
    MS-Off Ver
    2013
    Posts
    95

    Re: Count multi value of String

    jindon very thank you, the code runs very well

    alansidman, yes, I will follow you to attach the excel spreadsheet in future posts, thank you to remind me, have a nice day

+ 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. [SOLVED] Multi-coloured string
    By Un-Do Re-Do in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-30-2017, 09:54 PM
  2. [SOLVED] extract multi-letter string bits from string depending on size and case
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-18-2017, 10:41 PM
  3. Searching for a string in a multi-lined row
    By Saken2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2014, 01:52 AM
  4. Replies: 0
    Last Post: 07-28-2013, 10:24 AM
  5. Count it multi criteria accross multi cells
    By jfoley5197 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-10-2013, 03:42 PM
  6. [SOLVED] how I make multi value to one variable of string in VBA
    By zalora in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-27-2013, 12:08 AM
  7. [SOLVED] VBA: Count the occurance of a string in a multi-value cell
    By bad99boy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-01-2012, 10:39 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