Befuddled by Count blank cells Formula!

  • Thread starter Thread starter harteorama
  • Start date Start date
H

harteorama

Hi all,

Can anybody please help... i'm really struggling here!

I need to count the number of blank cells (in a row) that occurs
between 2 words S and C. I have the formula below and i cant get the
damn thing to work!


=SUMPRODUCT(--(G5:AX5="S"),--(G5:AX5="C"))


Any help GREATLY appreciated..

Cheers

P :-)
 
Try

=COUNTBLANK(INDEX(G5:AX5,MATCH("S",G5:AX5,0)):INDEX(G5:AX5,MATCH("C",G5:AX5,0)))
 
Peo,

You are a super star - worked liked a treat - many many many
thanks :-)

Cheers

P
 

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