Grammar › N2 · 06 Extent and degree
によって: by; depending on
N2 · 06 Extent and degree
Marks the agent (passive), the means, or what something varies with.
N によって: agent in passive (written), means, or 国によって違う = differs by country. によると = according to.
Examples
この絵は有名な画家によって描かれました。
This painting was painted by a famous painter.
国によって習慣が違います。
Customs differ depending on the country.