Barha, try using this input:
*DIM,TEMP1,ARRAY,20,30
*DO,I,1,20
*DO,J,1,30
TEMP1(I,J)=2*I+3*J
*ENDDO
*ENDDO
*mwrite,TEMP1,barha,dat !in your input above the array specified was incorrect
(30F10.0)
To get Excel to read in your data just simply open the file and make sure you import it as Delimited and that Spaces and Tabs are checked as your delimiters.
-Brian