calculate the number of words in a row whose length is greater than 2

  • Thread starter Thread starter sks1379
  • Start date Start date
S

sks1379

Hi,
My requirement is thus...
I have multiple rows with one word in each cell...at the end of each
row i need to find the number of words in that particular row whose
length is greater than 2.
Any thoughts please?
Thanks
Kiran.
 
something like this - count # of cells in a3:d3 with length >2

=SUMPRODUCT((LEN(A3:D3)>2)*1)
 
Try this:

=SUMPRODUCT(--(LEN(A1:Z1)>2))

And copy down as needed.
--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

message
Hi,
My requirement is thus...
I have multiple rows with one word in each cell...at the end of each
row i need to find the number of words in that particular row whose
length is greater than 2.
Any thoughts please?
Thanks
Kiran.
 
Hi,
Thanks a lot for both the response...as both seem to b
working....look forward to bombarding u guys with q's again.. ;)
Thanks again..
Regds
Kiran
 
HTH

Note you could get a count of a range of lengths by

=SUMPRODUCT((LEN(A3:D3)>2)*(LEN(A3:D3)<XXX))

where XXX is the upper limit of length you want to count, such as 5
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top