Hi as we see my $test = "Joe's Store"; is the item I want to generate the summary for, and the code you wrote it's good, but still does sort of what my code does, printing the summary for everything found on $1 or on the first element after reading the data file. I just want to find all that information for whatever value coming from the $test variable. But thanks anyway!!