confused

M

mdj0615

I have a spreadsheet with several rows with a letter in each cell. I'm
looking for a formula that will add up the number of cells in the row with
certain letters in them, and divide that by the total number of cells in the
row that have a letter in them. I'm looking for the percentage, to be
specific, of cells that only have a P,T,L,TL, in the row, from the cells that
have a P,T,L,TL,A,U. It's a little too above me.
 
M

Max

.. looking for the percentage, to be specific,
of cells that only have a P,T,L,TL, in the row,
from the cells that have a P,T,L,TL,A,U

Assume your source data to be checked is in say A2:K2 down,
place in L2:
=SUMPRODUCT(--ISNUMBER(MATCH(A2:K2,{"P","T","L","TL"},0)))/
SUMPRODUCT(--ISNUMBER(MATCH(A2:K2,{"P","T","L","TL","A","U"},0)))
Format L2 as percentage, copy down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
 

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

Similar Threads


Top