![]() |
#1
|
|||
|
|||
![]()
I have a spreadsheet like this...
............Mon....Tues. Joe.......yes.......no Joe.......yes.......yes Joe.......no.........yes Joe.......yes.........no Sally.....no.........yes Sally.....no..........no Sally.....yes.......yes Sally.....yes........no Sally.....no.........yes Sally.....yes........no Sally.....no..........yes Greg....yes.........no Greg....no..........no All the names in the first column are unique. I need to go through the whole spreadsheet and have a simple way to tell me how many yes's or no's each person has on each day of the week like this... ..............Mon..........................Tues. Joe......yes=3...no=1..........yes=2...no=2 Sally....yes=3...no=4.........yes=4...no=3 Greg....yes=1...no=1.........yes=0...no=2 Is there some macro for this? The spreadsheet is too big to have to go through the whole thing manually trying to get this information. thanks |
#2
|
||||
|
||||
![]()
If you don't mind slightly rearranging your data, a PT will do the trick easily
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
![]() Quote:
Pecoflyer, thanks for the help, but having to rearrange all the day columns and their data into one day column would be a lot of work. Is there a way I can do this by keeping all the day columns separate from each other at the top of the spreadsheet? Can I have the results to be like this... ...............Monday.....Tuesday ...............yes/no.......yes/no Joe.............3..1..........2...2 Sally............3..4.........4....3 Greg...........1...1.........0....2 thanks |
#4
|
|||
|
|||
![]()
Perhaps you can adapt this to your requirements.
Run the Uniques_From_Column sub first to create the list of names. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to calculate the Average time period of a full oscilation on a set of data | DDK2110 | Excel | 2 | 05-27-2017 02:15 AM |
![]() |
excerbated123 | Excel Programming | 2 | 02-03-2015 09:28 PM |
![]() |
mikehende | Excel | 3 | 10-10-2012 11:40 PM |
Displaying cell data in another spreadsheet | Colonel Biggs | Excel | 0 | 07-01-2010 07:37 PM |
Displaying data from spreadsheet in Userform | darklide | Excel | 0 | 03-12-2010 05:42 AM |