Can you say ande? to talk about past
"Ande" is the present subjunctive tense of "andar" (to walk), so you cannot use it to express an event in the past.
If you want to say, "I walked in (through) the city" (at a particular point in time), use the preterit, as in "anduve por la ciudad." If you want to convey the impression that some event happened when you were walking in the city, use the imperfect followed by the preterit, as in "andaba por la ciudad cuando llovió." See lessons 2.5 through 2.10 under the "Learn Spanish" tab for more information on the preterit and the imperfect.
I would like to add that this is a very common mistake among natives.
Ayer andamos mucho...
Should be anduvimos mucho.
anduve por ciudades
he andado por ciudades