View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default Simplify equation

=MOD(COLUMN()-2,6)+2
--
David Biddulph

"Stephen Christian" wrote in
message ...
Cna someone simplify this for me please? Starting at b2

=IF((MOD(COLUMN(),6))=0,6,IF((MOD(COLUMN(),6))=1,7 ,(MOD(COLUMN(),6))))

so i get 2 3 4 5 6 7 2 3 4 5 6 7 2 etc in row 2

Thanks