+ Reply to Thread
Results 1 to 5 of 5

Particular text count based on condition

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Particular text count based on condition

    Dear all, I am having new challenge, need to solve macro or formula solution. Here is my input data in the cell A & cell B.

    BSE ID	LS          SPID     SLC      ST
    BSE62	3-2137         MGW36    11   C7GST-166
    BSE62	3-1160         TRE60     7   C7GST-15
    BSE66	3-2136         MGW36     6   C7GST-13
    BSE66	3-1161         TRE61     0   C7GSTAH-161
    BSE66	3-1161         TRE61     0   C7GSTAH-161
    BSE66	3-2136         MGW36     2   C7GST-5
    BSE63	3-1161         TRE61    14   C7GST-141
    BSE63	3-1161         TRE61    12   C7GST-137
    BSE63	3-1161         TRE62     1   C7GSTAH-161
    need output like below in the output sheet start from cell C,D,E
    BSE ID	C7GST	C7GSTAH
    BSE62	2	
    BSE66	2	2
    BSE63	2	1
    please check the attachment
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Particular text count based on condition

    	c7gst	c7gstah
    bse62	2	0
    bse63	2	1
    bse66	2	2
    see attached
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: Particular text count based on condition

    Hi martindwilson , Thanks for your repay, it works well. but i will be more happy if any macro solution is there , as my first part of the project already done by macro.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Particular text count based on condition

    need to solve macro or formula solution
    well that fulfils your original request!

  5. #5
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: Particular text count based on condition

    Hi martindwilson , here my data range is not fixed (i have given 10 data as an example ), sometime data range 65536 or some time 10,00000. so if data range is big
    then it takes lots of time to complete the whole output.
    please not that your solution is ok , & i am planing to use it , but for slowness , i am seeking for speeding way. i mean macro solution

+ 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] Count unique text, excluding space, based on one condition
    By asfa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-01-2013, 02:33 PM
  2. [SOLVED] Count based on date and condition
    By vt1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-09-2012, 05:01 PM
  3. Count total based on condition.
    By Gauntsghost in forum Excel General
    Replies: 4
    Last Post: 01-18-2010, 09:36 PM
  4. How to count based on more than one condition ?
    By puneetarora_12 in forum Excel General
    Replies: 1
    Last Post: 01-13-2005, 08:50 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