To solve for \( y \) in the equation \( 24 = 2y \), you can isolate \( y \) by dividing both sides of the equation by 2:
\[ y = \frac{24}{2} \]
Calculating the right side:
\[ y = 12 \]
Thus, the value of \( y \) that is a solution to the equation \( 24 = 2y \) is \( \boxed{12} \).