Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sks1379
 
Posts: n/a
Default calculate the number of words in a row whose length is greater than 2


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.


--
sks1379
------------------------------------------------------------------------
sks1379's Profile: http://www.excelforum.com/member.php...o&userid=26954
View this thread: http://www.excelforum.com/showthread...hreadid=401729

  #2   Report Post  
RagDyeR
 
Posts: n/a
Default

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!
================================================== ===

"sks1379" wrote in
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.


--
sks1379
------------------------------------------------------------------------
sks1379's Profile:
http://www.excelforum.com/member.php...o&userid=26954
View this thread: http://www.excelforum.com/showthread...hreadid=401729


  #3   Report Post  
sks1379
 
Posts: n/a
Default


Hi,
Thanks a lot for both the response...as both seem to be
working....look forward to bombarding u guys with q's again.. ;)
Thanks again..
Regds
Kiran.


--
sks1379
------------------------------------------------------------------------
sks1379's Profile: http://www.excelforum.com/member.php...o&userid=26954
View this thread: http://www.excelforum.com/showthread...hreadid=401729

  #4   Report Post  
duane
 
Posts: n/a
Default


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


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=401729

  #5   Report Post  
duane
 
Posts: n/a
Default


something like this - count # of cells in a3:d3 with length 2

=SUMPRODUCT((LEN(A3:D3)2)*1)


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=401729



  #6   Report Post  
RagDyeR
 
Posts: n/a
Default


"RagDyeR" wrote in message news:...
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!
================================================== ===

"sks1379" wrote in
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.


--
sks1379
------------------------------------------------------------------------
sks1379's Profile:
http://www.excelforum.com/member.php...o&userid=26954
View this thread: http://www.excelforum.com/showthread...hreadid=401729



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creat a formula to calculate working hrs according to number of da Bren Excel Worksheet Functions 2 August 1st 05 12:57 PM
Number Field to Text or Words mr_bsh Excel Discussion (Misc queries) 5 May 10th 05 03:40 PM
Does Excel 2000 have a 'datedif' function to calculate the number. Kaddy Excel Worksheet Functions 7 December 11th 04 08:53 PM
how can i convert a number in words? HOP Excel Discussion (Misc queries) 1 November 27th 04 11:53 AM
Calculate the number of workdays between 2 dates Tegid77 Excel Worksheet Functions 2 November 4th 04 11:09 PM


All times are GMT +1. The time now is 07:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"