View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers Toppers is offline
external usenet poster
 
Posts: 4,339
Default help wit formula

Try:

=SUMPRODUCT(--(A2:E2<"")*(A2:E2<"L"))

HTH

"cyndi" wrote:

Hello,
I have a row with the weekdays in each column, the cell for each day could
be an x, t, t/x, or L, I want to count how many days in one week have an "x",
"T", or an "T/X", but i do not want to count the days that are blank or have
an "L", I tried a nested if or functions, but it doesn't seem to work with a
range, or one cell at a time,

Example, the answer to this would be 3

Mon Tue Wed Thu Fri
T X L T/x

I am using excel 2003, any help would be awesome!

Thank you in advance