#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default confused

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default confused

.. 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
---
"mdj0615" wrote:
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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Now I'm Really Confused doss04 New Users to Excel 5 October 14th 08 04:38 AM
I'm still confused Hoytmedic Excel Worksheet Functions 4 July 8th 07 01:28 AM
Confused Dale Excel Worksheet Functions 4 March 28th 07 02:52 AM
Very confused.... mizterbusy Excel Discussion (Misc queries) 1 September 24th 06 06:44 AM
confused,please help shrutikhurana Excel Discussion (Misc queries) 1 February 3rd 06 12:32 PM


All times are GMT +1. The time now is 08:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"