BenElliott
Board Regular
- Joined
- Jul 19, 2012
- Messages
- 144
Hello, all.
Several years ago I watched a ExcelMagic trick that extracted a series of data based on a criteria but I can't seem to find it now.
Here is what I need:
My data table, currently 2,800 lines long is in an Excel table labled "SpeakerTalks". Column 'A' is labled "Speaker Full Name", Column 'B' is labled "Location" and Column 'C' is labled "Status" with the table starting call A1. Status is shown by either "Good" or "Moderate" indicates the type of speaker. Sometimes I need to select either "Good" or "Moderate" and sometimes I need to ignore the choice and have all selected.
Here is my formula to count the necessary cells (which at the moment only selectes all) is contained in cell F1 with the location criteria selection in F2 and Status in F3:
{=SUM(IF(FREQUENCY(IF(SpeakersTalks[Speaker Full Name]<>"",IF(SpeakersTalks[Location]=F2,MATCH(SpeakersTalks[Speaker Full Name],SpeakersTalks[Speaker Full Name],0))),ROW(SpeakersTalks[Speaker Full Name])-ROW($C$2)+1),1))}
My problem, for which I cannot now find the video, is how to select either or all of the data in Status. Any pointers to how to select the location and include either or all of the status criteria would be very welcome.
Many thanks.
Ben
Several years ago I watched a ExcelMagic trick that extracted a series of data based on a criteria but I can't seem to find it now.
Here is what I need:
My data table, currently 2,800 lines long is in an Excel table labled "SpeakerTalks". Column 'A' is labled "Speaker Full Name", Column 'B' is labled "Location" and Column 'C' is labled "Status" with the table starting call A1. Status is shown by either "Good" or "Moderate" indicates the type of speaker. Sometimes I need to select either "Good" or "Moderate" and sometimes I need to ignore the choice and have all selected.
Here is my formula to count the necessary cells (which at the moment only selectes all) is contained in cell F1 with the location criteria selection in F2 and Status in F3:
{=SUM(IF(FREQUENCY(IF(SpeakersTalks[Speaker Full Name]<>"",IF(SpeakersTalks[Location]=F2,MATCH(SpeakersTalks[Speaker Full Name],SpeakersTalks[Speaker Full Name],0))),ROW(SpeakersTalks[Speaker Full Name])-ROW($C$2)+1),1))}
My problem, for which I cannot now find the video, is how to select either or all of the data in Status. Any pointers to how to select the location and include either or all of the status criteria would be very welcome.
Many thanks.
Ben