View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
John in Wembley John in Wembley is offline
external usenet poster
 
Posts: 26
Default Sumproduct question

On Tue, 29 Jan 2008 14:49:43 -0500, "PCLIVE"
wrote:

Where is "guest" entered?

Let's say it is column B...then:
=SUMPRODUCT(--(LEN(A1:A10)=2),--(LEN(A1:A10)<=30),--(B1:B10<"guest"))

HTH,
Paul


thanks to both of you, Guest will be in place of the patients name...
You would not belive how long some names are! I started out with LEN
15 and as you see, currently up to 30.
Kiwi names are shorter!
"mate", "gidday mate" etc etc...