Totaling Column Question

jbyrne

Board Regular
Joined
Feb 22, 2002
Messages
178
I have employee initials in Col B
In column D I have text consisting of either TR or TO.
In Column E, I have text: containing YES or No.

I want on a seperate sheet to total the number of TO'S and TR'S for each employee.
Also give a percentage of the number of TO YES'S and the percentage of TR YES'S.

Any help would be appreciated
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
count of number 2 criteria

=SUMPRODUCT((B2:B6="DGP")*(D2:D6="TO"))

count the number 3 criteria

=SUMPRODUCT((B2:B6="DGP")*(D2:D6="TO")*(E2:E6="Yes"))

If the data is on a sheet named 9
the formula on another sheet would be

=SUMPRODUCT(('9'!B2:B6="DGP")*('9'!D2:D6="TO")*('9'!E2:E6="Yes"))


Notes:
1. you can use cell references instead of hardcoding the criteria
2. you can determine and calculate the relevant denominator for the % calculation
3. extend the ranges as necessary
This message was edited by Dave Patton on 2002-04-17 09:08
 
Upvote 0

Forum statistics

Threads
1,213,563
Messages
6,114,332
Members
448,566
Latest member
Nickdozaj

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top