Home > Topics > excel > body text

Excel automatically identifies provinces based on cities

王林
Release: 2020-05-13 13:41:33
Original
37823 people have browsed it

Excel automatically identifies provinces based on cities

First prepare the cell structure in Excel.

Excel automatically identifies provinces based on cities

Enter the function formula for querying provinces based on cities.

1. In cell A7, enter the function formula for querying provinces based on city "=INDEX($1:$1,MAX(IF($A$2:$D$4=A7,COLUMN(A:D))) ))", please note that all characters in the formula are English characters, and errors will occur when entering Chinese characters;

2. Press the three keys "Ctrl", "Shift" and "Enter" at the same time.

Excel automatically identifies provinces based on cities

The results are as follows:

Excel automatically identifies provinces based on cities

Recommended tutorial: excel tutorial

The above is the detailed content of Excel automatically identifies provinces based on cities. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!