+ Reply to Thread
Results 1 to 6 of 6

#value! for the formula countif

Hybrid View

  1. #1
    Registered User
    Join Date
    05-27-2009
    Location
    malaysia
    MS-Off Ver
    Excel 2003
    Posts
    3

    #value! for the formula countif

    hi, good days,

    i face a big problem here.

    i had use the formula countif but if the value is too big or too long it come out #VALUE! .i attach the attachment here. u may refer.

    please help...
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: #value! for the formula countif

    You have space in number in D3.. remove it...

    1.23456789012345E+99123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678123123456789 1234567891332135454848474
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    05-27-2009
    Location
    malaysia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: #value! for the formula countif

    if don't hv space, also same. hv mistakes.
    but my data has many spaces and not only integer.

    can help?

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: #value! for the formula countif

    COUNTIF criteria value limited to 255 characters

  5. #5
    Registered User
    Join Date
    05-27-2009
    Location
    malaysia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: #value! for the formula countif

    Quote Originally Posted by DonkeyOte View Post
    COUNTIF criteria value limited to 255 characters
    thanks... i get your answer. if more than that, i need to search for other solutions.
    hv any idea of it?

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: #value! for the formula countif

    You can use SUMPRODUCT but it is very expensive performance wise

    E3: =SUMPRODUCT(--($D$3:$D$5=$D3))

    Pre XL2007 you can not use entire column references (ie D:D will generate a #NUM! error) ... that said you should strive to keep range sizes to a minimum when using any Array formula (this includes Sumproduct) - regardless.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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