Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lookup possibly?

I have a matrix that records call types and whether the call was correct or
not.
See table below:

call1 call 2 call 3 call 4 Call 5
type 1 y y
type 2 y
type 3
type 4 y y

correct y n n y y

I need a function or something that will find the number of calls that are
type 1 and then count the number that are correct. Then to do the same for
type 2 to 4.

Is this clear? I hope so.

E.g. the answers I want to get are below.


No. No. correct
Type 1 2 1
Type 2 1 0
Type 3 0 0
Type 4 2 2

Any help would be much appreciated.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default Lookup possibly?

Bill

One way:
Assuming your first list in A1:F7 (row 6 empty) and assuming
your second list in H1:J5:

In i2:
=COUNTA(B2:F2)

In J2:
=SUMPRODUCT((B2:F2="y")*($B$7:$F$7="y"))

Select i2:J2 and copy down to i5:J5

--
Best Regards
Leo Heuser

Followup to newsgroup only please.


"Bill L" skrev i en meddelelse
...
I have a matrix that records call types and whether the call was correct

or
not.
See table below:

call1 call 2 call 3 call 4 Call 5
type 1 y y
type 2 y
type 3
type 4 y y

correct y n n y y

I need a function or something that will find the number of calls that

are
type 1 and then count the number that are correct. Then to do the same

for
type 2 to 4.

Is this clear? I hope so.

E.g. the answers I want to get are below.


No. No. correct
Type 1 2 1
Type 2 1 0
Type 3 0 0
Type 4 2 2

Any help would be much appreciated.




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
Vlookup possibly ? Steve Excel Worksheet Functions 3 March 25th 10 02:04 AM
How can "=LOOKUP(I4,I2:I11)" POSSIBLY return #N/A?? Jerry Mitchell Excel Worksheet Functions 8 May 30th 09 08:00 AM
Possibly an Array, but I'm not sure? Dan the Man[_2_] Excel Discussion (Misc queries) 8 August 21st 08 05:13 AM
count if (possibly?!) Kayte Excel Worksheet Functions 6 October 2nd 06 05:30 PM
Lookup possibly? SS Excel Discussion (Misc queries) 3 January 6th 05 02:02 PM


All times are GMT +1. The time now is 03:34 PM.

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"