Hi, im trying to create a macro that enables me to calculate the median of any sequence of numbers provided by the user when the sum of these numbers is> 1000 or the average if this condition is not met. This is one of my first contacts with VB, so I got stuck almost at the beginning, I will be grateful for each tip.