Does a group of order $400$ always have a subgroup of order $200$?

There is a group $H$ of order 80 whose normal subgroups have orders 1,16,80. Taking $G=\mathbb{Z}_5\times H$ gives you a group of order 400 with no normal subgroup of index 2.

To get an explicit version of $H$, just take the group of matrices $$ \left\{ \begin{pmatrix} \alpha & 0 \\u & \alpha^{-1} \end{pmatrix}\mid u\in GF(16), \alpha\in GF(16)^{*}, o(\alpha)|5 \right\}. $$


Ancientmathematician has answered your first question. You have asked for a simple criterion to determine when a group of even order has a subgroup of index $2$. One such criterion is that the highest power of $2$ which divides $|G|$ is $2^1$, as mentioned in the comments.

Call $n \in \mathbb{N}$ a supersoluble number if every group of order $n$ is supersoluble. It is a standard theorem that a (finite) supersoluble group has subgroups of each possible order. In particular, if $G$ is a supersoluble group of even order then $G$ has a (necessarily normal) subgroup of index $2$.

A theorem which can act as a supplement to the "$m=\text{odd}$" criterion is the following one. First, define $\psi$ to be the multiplicative function defined on prime powers as $\psi(p^k) = (p^k-1)(p^{k-1}-1)\dots(p-1)$.

Theorem: Let $n=p_1^{a_1}p_2^{a_2} \dots p_r^{a_r}$ be a positive integer, where $p_1 < p_2 < \dots < p_r$. Then $n$ is a supersoluble number if and only if:

  1. For all $1 \leq i \leq r$, the distinct prime factors of $\gcd(n,\psi(p_i^{a_i}))$ are the same as those of $\gcd(n,p_i-1)$.

  2. If there exists $i \neq k$ such that $p_i \leq a_k$ (i.e. the value of some prime factor of $n$ is less than the multiplicity of another), then

    (a) There does not exist a prime $p_j$ such that $p_i | p_j-1$ and $p_j | p_k-1$, and

    (b) $a_i \leq 2$, and if $a_i = 2$, then $p_i^2 | p_k - 1$.

Applying this theorem to $n=20$ gives at once that $20$ is a supersoluble number, thus a fortiori every group of order $20$ has a subgroup of index $2$. Note here that the "$m=\text{odd}$" criterion tells you nothing about $n=20$. On the other hand, $n=12$ is not a supersoluble number because $\gcd(12,\psi(2^2)) =3$, whereas $\gcd(12,1) =1$. Indeed, $A_4$ is not supersoluble and it so happens that $A_4$ has no subgroup of index $2$.

Warning: if $n$ is not a supersoluble number, it does not follow that some group of order $n$ fails to have a subgroup of some order $d \mid n$ (much less specifically $d=\frac{n}{2}$). James' comment provides a concrete counterexample: every group of order $224=2^5 \cdot 7$ has subgroups of each possible order (i.e. $224$ is a Lagrangian number), but there are groups of order $224$ which are not supersoluble. I don't know if there are any useful arithmetic criteria guaranteeing that a number $n$ is Lagrangian.

Added: There is another criterion you can use which subsumes the "$m=\text{odd}$" one. Recall the definition of $\psi$ above. If $G$ is a group of order $n$ and if $\gcd(n,\psi(2^a))=1$, where $2^a$ is the highest $2$-power dividing $n$, then $G$ is $2$-nilpotent (see e.g. Isaacs' Finite Group Theory book, Corollary $5.29$). It is easy to see that a $2$-nilpotent group will always have a subgroup of index $2$.


Let me also add a characterization for a group to have (or not to have) a subgroup of index $2$. One can show the following:

A group $G$ has no index $2$ subgroup iff $G$ is generated by squares, i.e. $G = \langle \lbrace g^2 \mid g \in G\rbrace \rangle $.

The group $\langle \lbrace g^2 \mid g \in G\rbrace \rangle \subset G$ is actually always a normal subgroup, but one can get some additional information if it has index $2$ in $G$:

A group $G$ has exactly one subgroup of index $2$ iff $\langle \lbrace g^2 \mid g \in G\rbrace \rangle $ has index $2$ in $G$.