2 (3 ounce) packages lemon-flavored gelatin mix (such as Jell-O®)
1 1/2 cups boiling water
2 cups cold water
1 (12 ounce) package fresh cranberries
1 cup white sugar
1 cup crushed pineapple, drained
3/4 cup chopped celery
1/2 cup chopped walnuts
Dissolve lemon gelatin in boiling water in a bowl; stir in cold water. Chill in refrigerator until partially thickened, 30 to 40 minutes.
Chop cranberries in a food processor and mix sugar into cranberries, pulsing once or twice to combine. Let cranberry mixture stand a few minutes to let sugar dissolve. Stir cranberry mixture, pineapple, celery, and walnuts into gelatin. Pour into a gelatin mold or serving dish. Refrigerate until fully set, about 4 hours.