Hello all. I have a data set that keeps track of individuals metrics for the calendar year. I would like to be able to search for a specific person, and return all dates and values that are over 0. Below is an example of my data set. I am trying to get the formula to spit out the dates and numbers for any instance where the value is greater than 0, and matches the name in the search field.
Using this function (=FILTER(D11:J15,D12:J12>0,""), I can get all values greater than 0, but it seems to me like you would want to have the whole array in the "include" portion of the formula because this is currently only giving me when the first person has values > 0. I can also get all values for the person in the search box using "D11:D15=M11" in the include portion, but when I try and combine the two using (D12:J12)*(D11:D15=M11) I get a Value error. Plus it also seems like even if it did work that would only give me the values for the first person since the array doesn't include the entire data set.
The goal would be to input the name in M11, and have it spit me out the dates at the top of the column as well as the value where the value is greater than 0.
Is there a way to use ChooseRow or something similar? Any help would be appreciated!
Using this function (=FILTER(D11:J15,D12:J12>0,""), I can get all values greater than 0, but it seems to me like you would want to have the whole array in the "include" portion of the formula because this is currently only giving me when the first person has values > 0. I can also get all values for the person in the search box using "D11:D15=M11" in the include portion, but when I try and combine the two using (D12:J12)*(D11:D15=M11) I get a Value error. Plus it also seems like even if it did work that would only give me the values for the first person since the array doesn't include the entire data set.
The goal would be to input the name in M11, and have it spit me out the dates at the top of the column as well as the value where the value is greater than 0.
Is there a way to use ChooseRow or something similar? Any help would be appreciated!
Attendance Draft Final Test v1.xlsx | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
D | E | F | G | H | I | J | K | L | M | |||
11 | 1/1/2025 | 1/2/2025 | 1/3/2025 | 1/4/2025 | 1/5/2025 | 1/6/2025 | Name: | Bob Jones | ||||
12 | Bob Jones | 0 | 0 | 0.33 | 0 | 1 | 0 | |||||
13 | Jon Smith | 0.5 | 0 | 0 | 1 | 0 | 0 | |||||
14 | Gary Neuman | 0 | 1 | 0 | 0 | 0 | 0.5 | |||||
15 | Jack Gray | 0 | 0 | 0 | 0 | 1 | 0 | |||||
Sheet1 |