#SPILL! ERROR

Copper Contributor

I am setting up a grade book and trying to get the sheet to convert numbers within a certain range (the letter grade column below) to a Letter grade, but I am getting the #SPILL! error. Any idea how to fix that error? My ranges are:

Number gradeCorrelating Letter grade
0F
60F
61D
74.4D
74.5C
79.4C
79.5B
89.4B
89.5A
100

A

 Here is my Sheet:

STUDENT NAMEEXAM 1EXAM 2EXAM 3EXAM 4EXAM 5ATI EXAM AverageEXAM AverageFINAL EXAM GRADEOVERALL COURSE GRADELETTER GRADEATI EXAM 1ATI EXAM 2ATI points earnedExam Points EarnedFinal Exam Points earnedNumber gradeCorrelating Letter grade
Test Student75757575758075.837583.5#SPILL!8080845.5300F
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!  60F
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!  61D
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!  74.4D
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!  74.5C
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!  79.4C
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!  79.5B
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!  89.4B
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!  89.5A
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!  100A
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#SPILL!  #DIV/0!    
      #DIV/0!#DIV/0! #DIV/0!#DIV/0!  #DIV/0!   

 

 

4 Replies
#Spill! means that the formula is trying to give you a result that spans multiple cells. for instance. the formula '=A1:D5' would return a table of the values in the range A1:D5. this would require that the formula be in the top left corner of a range 4Colums wide by 5 rows. in short. the formula is trying to return a range larger than the space available.

@JagodragonThank you! What should I do to ensure I do not encounter this error?

You just need to ensure that your formula will have the space required. Clear out the cells to the right and bellow to enable the expansion that could happen in the future.

Sorry there's no answer that is a perfect fix all...

@Maysrn1992 

For such sample

image.png

for structured table

=XLOOKUP([@Score], Grades[Number grade], Grades[Correlating Letter grade],,-1)

for the range

=XLOOKUP(I4:I9,Grades[Number grade],Grades[Correlating Letter grade],,-1)