Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8891961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:52:44+00:00 2026-06-14T22:52:44+00:00

I’ve searched the web but I can’t find anything specific for this. I have

  • 0

I’ve searched the web but I can’t find anything specific for this.

I have column A as below, I need to search this column and find out how many occurrences there are of the data in column B, in the example below there a 4 (70011×3 + 70014×1).

A                        B
h323:70011               70011
70007                    70012
70011                    70013
h323:70014               70014
sip:70011@domain.com     70015

What formula would I need to use in Excel?
Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:52:45+00:00Added an answer on June 14, 2026 at 10:52 pm

    … I don’t know if there’s a simple way to do this with a single worksheet function, but I could think of 2 methods I would use to accomplish this (and would love to see if any person could figure out how to do this in a single, simple, worksheet function I couldn’t think of).

    Either way, my solutions would be:

    1) Use Array Formulas:

    This would look as follows:

    A                        B               C
    h323:70011               70011          {=SUM(--ISNUMBER(FIND(B1,$A$1:$A$5,1)))}
    70007                    70012          {=SUM(--ISNUMBER(FIND(B2,$A$1:$A$5,1)))}
    ...etc
    

    Note that for this solution, you have to type it in as an array formula (Hit ctrl+shift+enter) at the end, but when you drag down column C and sum it up, you will get the correct total.
    The challenge with this one is that it doesn’t really give you the answer in one cell.

    2) Use a Custom VBA Function (My Preferred method):

    You can write your own VBA function to do this VERY EASILY.
    The one I created was:

      Function MyFunc(CriteriaRng As Range, SearchRange As Range) As Double
    
      Dim CriteriaCl As Range
      Dim SearchCl As Range
    
      Dim RunningTotal As Double: RunningTotal = 0
    
         For Each CriteriaCl In CriteriaRng
            For Each SearchCl In SearchRange
            If InStr(1, SearchCl.Value, CriteriaCl.Value) > 0 Then RunningTotal = RunningTotal + 1
            Next SearchCl
         Next CriteriaCl
    
      MyFunc = RunningTotal
    
      End Function
    

    All you can then do is in any cell type in =myfunc(B1:B5,A1:A5) and you will get the right answer.

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Seemingly simple, but I cannot find anything relevant on the web. What is the
This could be a duplicate question, but I have no idea what search terms
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I know there's a lot of other questions out there that deal with this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.