Hello, I am trying to create a large loop that will reference my column called cities. I want the loop to refernce cities and put the state of these locations in a new column with the header state. My table is below. I have 5 different cities Memphis, Sand Diego, Seatle, Portland, and Charlotte.
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]Market [/TD]
[TD]Day of the week [/TD]
[TD]Country [/TD]
[TD]State[/TD]
[/TR]
[TR]
[TD]Memphis [/TD]
[TD]Sunday [/TD]
[TD]United states [/TD]
[TD][/TD]
[/TR]
[TR]
[TD]San Diego [/TD]
[TD]Saturday [/TD]
[TD]United States [/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Seatle [/TD]
[TD]Monday [/TD]
[TD]United states [/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]Market [/TD]
[TD]Day of the week [/TD]
[TD]Country [/TD]
[TD]State[/TD]
[/TR]
[TR]
[TD]Memphis [/TD]
[TD]Sunday [/TD]
[TD]United states [/TD]
[TD][/TD]
[/TR]
[TR]
[TD]San Diego [/TD]
[TD]Saturday [/TD]
[TD]United States [/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Seatle [/TD]
[TD]Monday [/TD]
[TD]United states [/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]