+ Reply to Thread
Results 1 to 5 of 5

What symbol is used in this formula for "any letter."

  1. #1
    Registered User
    Join Date
    03-13-2009
    Location
    Defiance, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    21

    What symbol is used in this formula for "any letter."

    I have a little formula here that I need an couple of "any letter" symbols to make it work. I've looked it up all over the web and have found my question, but the answers start talking about numbers and numbers have nothing to do with it. Here's the formula. The "M??" is where the problem is.

    =SUMPRODUCT((D$9:D$512=("M??"))*(B$9:B$512=("Manufacturing")))

    The "M" is actually part of a 3 letter code, and I want it to look up "M(who cares what letter)(who cares what letter)" So it will count up MVP, MLB, MNR, etc. The only commonality being that the code starts with M and has a total of 3 letters.

    Testing it with a single letter code shows it works just fine, and will count anything with "M" in D9:D512 that also has "Manufacturing" is B9:B512 (it will ignore those entries without M in D9:D512, or with a different word than "Manufacturing" in B9:B512). But D9:D512 has a 3 letter code, and I want it to ignore the two letters after the "M".

    Thank You!

    Mogadeet

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: What symbol is used in this formula for "any letter."

    Try

    =SUMPRODUCT((LEFT(D$9:D$512,1)="M")*(B$9:B$512=("Manufacturing")))

  3. #3
    Registered User
    Join Date
    03-13-2009
    Location
    Defiance, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: What symbol is used in this formula for "any letter."

    Thank You! It worked perfectly! Just what I wanted.

    I assume that the "LEFT" has got something to do with it, like "Look at leftmost letter." Since there's a small list of things I'm sorting out like that (some beginning with "P" and some with "D" and so on) I quickly discovered it was just what I needed.

    Thanks again!

    A little piece of trivia. I'm currently working out of Bryan, Ohio.

    Mogadeet

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: What symbol is used in this formula for "any letter."

    You're welcome.

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: What symbol is used in this formula for "any letter."

    That will count M followed by anything e.g. M123456789
    .. starts with M and has a total of 3 letters.
    If you need M plus any two characters only, try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by Marcol; 08-12-2013 at 02:48 PM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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. Replies: 5
    Last Post: 07-05-2012, 04:04 PM
  2. Replies: 8
    Last Post: 07-05-2012, 03:07 PM
  3. Changing first letter to caps, letters after "-" and "/", and rest to small letter.
    By rhexis07 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-17-2008, 08:03 PM
  4. WHAT DOES THE SYMBOL"$" REPRESENT IN A EXCEL FORMULA?
    By EXCEL NOVICE in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 05-18-2006, 11:30 AM
  5. [SOLVED] how do I display "meter square" symbol in a formula cell ?
    By lau in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-28-2005, 05:06 PM

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