+ Reply to Thread
Results 1 to 2 of 2

Count if part from combobox value

Hybrid View

  1. #1
    Registered User
    Join Date
    07-31-2016
    Location
    Holland
    MS-Off Ver
    2019
    Posts
    74

    Count if part from combobox value

    Hi All,

    I have the following code to count If the criteria are met. Is it possible to make to code so that it will count if the value in Range("O:O") is a part of combobox1? I have tried Range("O:O"), (*ComboBox1*.Value)), but this doesn't do the job.


    TextBox6.Value = Application.CountIfs(Range("A:A"), ">=" & CLng(CDate(TextBox1.Value)), Range("A:A"), "<=" & CLng(CDate(TextBox2.Value)), Range("J:J"), "Wrong", Range("O:O"), (ComboBox1.Value))
    Kind regards,

    Wijnand.

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Count if part from combobox value

    last part change to
    "*" & ComboBox1 & "*"
    kind regards
    Leo

+ 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. Lookup part of textstring in Userform ComboBox and search for value in sheet range
    By Michael2008 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2014, 05:40 AM
  2. [SOLVED] Combobox find part matches from defined range (POWER FUZZY SEARCH)
    By hutzdani in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2013, 05:31 AM
  3. Vlookup of only a part of a value in a combobox
    By GregJG in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-27-2013, 08:56 AM
  4. count pairs, show 1 for first part, 0 for 2nd part
    By simpson in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-23-2013, 08:21 PM
  5. [SOLVED] Display part of ComboBox value !
    By Petter120 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-09-2012, 06:01 AM
  6. Replies: 6
    Last Post: 01-27-2012, 11:38 AM
  7. using part of a string from a combobox to fill textbox value
    By Zygoid in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-16-2007, 07:47 AM
  8. count problem part 2
    By vipa2000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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