View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default vlookup and if, I think

Assuming your data A1:M3
Criteria A10: A, B10: February

=LEN(SUBSTITUTE(INDEX(A1:M3,MATCH(A10,A1:A3,0),MAT CH(B10,A1:M1,0))," ",))


"Emece" wrote:

I have the following data:

Client January February March (and so on until December)
A 1 1 1 1 1 1 1 1
B 1 1 1 1 1 1

Each time I visit a client, I enter a 1 in the corresponding cell. I want to
detail, in a separate range, how many times I visit a client in each month.

Trying to clarify a bit mo I want to have a list in a cell with the
clients, a list in another cell with the months, and when I choose for
example A, February, to obtain a 3.

Is this possible?

Thanks in advance,

Regards,
Emece.-