Hi - this the last question I have on a project, and it's a tricky one (to me!)
Description: I keeping a spreadsheet for monthly Reading Group that shows month/author(s)/title(s)/page count/author gender/etc.
[TABLE="width: 764"]
<colgroup><col><col span="2"><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]Month[/TD]
[TD]Author1[/TD]
[TD]Author2[/TD]
[TD]Title1[/TD]
[TD]Title2[/TD]
[TD]TitleCt[/TD]
[TD]BookPageCt[/TD]
[TD]AuthorGender[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]Steinbeck, John[/TD]
[TD] [/TD]
[TD]The Grapes of Wrath[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]423[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]Atwood, Margaret[/TD]
[TD] [/TD]
[TD]Cat's Eye[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]423[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]Gaiman, Neil[/TD]
[TD]Pratchett, Terry[/TD]
[TD]Good Omens[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]432[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]Selvon, Sam[/TD]
[TD] [/TD]
[TD]The Lonely Londoners[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]432[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD]Lively, Penelope[/TD]
[TD] [/TD]
[TD]Moon Tiger[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]432[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD]Stephanie Meyer[/TD]
[TD]Bram Stoker[/TD]
[TD]Twilight[/TD]
[TD]Dracula[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]867[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD]Austen, Jane[/TD]
[TD] [/TD]
[TD]Persuasion[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]423[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD]Pratchett, Terry[/TD]
[TD] [/TD]
[TD]The Colour of Magic[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]423[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD]Steinbeck, John[/TD]
[TD] [/TD]
[TD]Tortilla Flat[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]432[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD]Highsmith, Patricia[/TD]
[TD][/TD]
[TD="colspan: 2"]The Talented Mr. Ripley[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]432[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
MonthCt = 10
TitleCt = sum(titlect) = 11
AuthorCt = 9 (male = 4, female = 5)
Problem 1: I want a count of distinct authors across TWO columns. In the sample data above, Steinbeck & Pratchett are repeated and two months have co-authors. Correct count of unique authors = 9.
Problem 2: Gender and other demographic data is kept for the first author only, but I don't want duplicates. I'm managing this by leaving demo data blank for the second or subsequent instance of the author. It's working for me, but is there a better way to do this?
Thanks for your help - you guys are great!
Description: I keeping a spreadsheet for monthly Reading Group that shows month/author(s)/title(s)/page count/author gender/etc.
[TABLE="width: 764"]
<colgroup><col><col span="2"><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]Month[/TD]
[TD]Author1[/TD]
[TD]Author2[/TD]
[TD]Title1[/TD]
[TD]Title2[/TD]
[TD]TitleCt[/TD]
[TD]BookPageCt[/TD]
[TD]AuthorGender[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]Steinbeck, John[/TD]
[TD] [/TD]
[TD]The Grapes of Wrath[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]423[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]Atwood, Margaret[/TD]
[TD] [/TD]
[TD]Cat's Eye[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]423[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]Gaiman, Neil[/TD]
[TD]Pratchett, Terry[/TD]
[TD]Good Omens[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]432[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]Selvon, Sam[/TD]
[TD] [/TD]
[TD]The Lonely Londoners[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]432[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD]Lively, Penelope[/TD]
[TD] [/TD]
[TD]Moon Tiger[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]432[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD]Stephanie Meyer[/TD]
[TD]Bram Stoker[/TD]
[TD]Twilight[/TD]
[TD]Dracula[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]867[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD]Austen, Jane[/TD]
[TD] [/TD]
[TD]Persuasion[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]423[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD]Pratchett, Terry[/TD]
[TD] [/TD]
[TD]The Colour of Magic[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]423[/TD]
[TD]m[/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD]Steinbeck, John[/TD]
[TD] [/TD]
[TD]Tortilla Flat[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]432[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD]Highsmith, Patricia[/TD]
[TD][/TD]
[TD="colspan: 2"]The Talented Mr. Ripley[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]432[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
MonthCt = 10
TitleCt = sum(titlect) = 11
AuthorCt = 9 (male = 4, female = 5)
Problem 1: I want a count of distinct authors across TWO columns. In the sample data above, Steinbeck & Pratchett are repeated and two months have co-authors. Correct count of unique authors = 9.
Problem 2: Gender and other demographic data is kept for the first author only, but I don't want duplicates. I'm managing this by leaving demo data blank for the second or subsequent instance of the author. It's working for me, but is there a better way to do this?
Thanks for your help - you guys are great!