+ Reply to Thread
Results 1 to 3 of 3

I want to count specfic value with two different condition in VBA

  1. #1
    Registered User
    Join Date
    06-07-2021
    Location
    india
    MS-Off Ver
    2011
    Posts
    39

    Question I want to count specfic value with two different condition in VBA

    Hi,

    I need to count the specific values with two different conditions. uisng VBA script

    Example:

    In my excel sheet1 having the value A:F with N number of rows

    column F having specfic value "GND" & power 'in multiple times
    column A having specfiv values 'pass' and 'fail"
    (ignore C to E column)

    I want to extract the no of counts in sheet2 like below (in sheet2 A column either I can type, or copy paste those text, the no of count value should come)
    A1 column is GND; B1 column is 'pass count"; C1 column is 'fail count"
    A2 coloumn is power; B2 coloumn is 'passcount"; C2 coloumn is 'fail count"

    Please help me Thanks

  2. #2
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,151

    Re: I want to count specfic value with two different condition in VBA

    Example please ... for this ... "electrical case" ...

  3. #3
    Registered User
    Join Date
    06-07-2021
    Location
    india
    MS-Off Ver
    2011
    Posts
    39

    Re: I want to count specfic value with two different condition in VBA

    HI jr veverka

    I have attached the excel with sample
    I need VBA code for same processes, There is no fixed row count it many be dynamic in future.
    Thankyou
    Attached Files Attached Files

+ 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. Formula Required to Count Rows only if condition is meet or else dont count
    By Shahbazk in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-22-2017, 08:39 AM
  2. I need to find a specfic text in a range of cells and return specfic text
    By ramjdmcmm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-15-2016, 04:28 PM
  3. Trying to search a range and find a specfic item based on a condition.
    By Cornered99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2013, 05:10 PM
  4. [SOLVED] Count occurances based on very specfic criteria from multiple cells (excel 2003)
    By Ash Ford in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-10-2013, 09:02 AM
  5. Count Unique Values based on Specfic info
    By WNErika in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-25-2012, 03:39 PM
  6. if find blank in specfic ranges then blank the specfic range cells
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-09-2012, 11:19 AM
  7. Replies: 4
    Last Post: 10-21-2010, 11:05 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