Countif for values where len >=259

RaviWildcat

Board Regular
Joined
Jun 18, 2010
Messages
119
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi Everyone -

Maybe it's just me!

I've got a table with issue IDs and Descriptions. I was looking for issue IDs with duplicate descriptions so naturally I added an extra column with a countif - count how many times the description appears in the description column.

(I'm on my work computer so I'm apprehensive about installing the macro showing the functions but you get the gist If the descriptions are in column G, then H1 looks like (countif(g1:g10,g1)

I'm noticing that count if will work perfectly on strings that are less than 259 characters. If the string is longer than 259 characters then I receive a #value error!

I created a separate table containing descriptions 259 characters or larger and receive the same #value error

Of course I can get around this by creating a cheat column that captures the first 259 characters of the fields I'm trying to count but that seems like cheating

Is this happening for anyone else?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
The limit is actually 255 characters, anything more will return an error.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,591
Messages
6,120,431
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top