+ Reply to Thread
Results 1 to 3 of 3

Count Custom Number Formatted Cells

  1. #1
    Registered User
    Join Date
    06-03-2013
    Location
    Matamoros, Mexico
    MS-Off Ver
    Excel 2007
    Posts
    52

    Question Count Custom Number Formatted Cells

    Hello everyone and Happy New Year to all!!

    I have one question. I have in cell B9 to B28 of Sheet1 entered the number "1". Then I custom number formatted the cells with the code "W-"0 so now they appear as W-1.

    In Cell A23 of Sheet2 I write W-1 and I want the result in Cell B23 of Sheet2. In the this case must be 20. My question is how to count these range if they are Custom Number Formatted.

    Can anyone help me?? I really prefer excel formula and no VBA code, or another Custom Number Format Code that can help me to perform the counting.

    Best regards and thank you very much in advance.

    SamCV.
    Matamoros, Mexico.
    Samuel Cruz
    Matamoros, Mexico.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Count Custom Number Formatted Cells

    Try in B23

    =SUMPRODUCT(--(TEXT(Sheet1!$B$9:$B$28,"W-#")=A23))
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    06-03-2013
    Location
    Matamoros, Mexico
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: Count Custom Number Formatted Cells

    Hello ChemistB!!!

    Sorry for taking too long to answer. Your help was awesome !!!! Thank you very much!!!
    I reviewed the formula and it worked great!!

    Best regards and and the best of days for you.

+ 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. How to copy custom number formatted Cell?
    By Sultix in forum Excel General
    Replies: 14
    Last Post: 06-17-2023, 10:43 AM
  2. Replies: 4
    Last Post: 12-19-2014, 06:49 AM
  3. Replies: 1
    Last Post: 08-26-2011, 09:57 AM
  4. [SOLVED] How to count the number of Excel cells with text formatted Italic
    By phausman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-19-2006, 11:35 AM
  5. [SOLVED] How do i count the number of conditional formatted cells?
    By kate in forum Excel General
    Replies: 2
    Last Post: 05-16-2005, 06: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