Hi ,
Is this OK ?
=IF(C4=0,"",IF(C4<7501,INDIRECT(ADDRESS(8+IF(C4<=500,1,IF(INT(ROUNDDOWN(C4/500,0)=(C4/500)),(C4/500),ROUNDDOWN(C4/500,0)+1)),COLUMN(C4),1,1)),"N/A"))
I have no idea why the constant 7501 has been used ; you need to decide whether this is to be used or some other figure should be used instead.
Narayan