Exact diagonalization study on the extended Hubbard model in an anisotropic triangular lattice