I need a excel formula for copy data from a column to another column with a conditional situation.
please see below picture:
I have two columns with eu and ru name. I want to copy "eu" data rows if the header of the first column is "eu" and if I change "eu" to "ru" all data in "ru" copy to the blue part.

