Combine water and sugar and bring to a boil. Add cranberries and return to a boil. Reduce heat and simmer for 10 minutes, stirring occasionally.
Remove from heat and stir in sherry to taste. Cool to room temperature and serve. Refrigerate if made the day before and bring back to room temperature before serving.