Excel显示相同SEARCH()函数的结果不一致

时间:2019-07-15 18:06:55

标签: excel excel-formula excel-2010

在Excel中使用SEARCH()函数时,在同一列的不同单元格中使用完全相同的参数会产生不同的结果。有3种模式,只有一种是正确的-实际上所有模式都应显示相同的结果。

在名为Result的工作表中,我使用的是该

=SEARCH(wordsRange!$A$1:$A$11,searchedText!$A$1)

结果的三种模式是:

\#VALUE!

813

1

813是正确的,它显示了给定字符串第一次遇到的位置。

可以从这里下载文件: https://www.mediafire.com/file/w1g9dkge31vor3g/test.xlsx/file    (test.xlsx文件)

为什么这是奇怪的行为,我该如何纠正..?


如果无法下载测试文件-我使用的是以下数据:

1。 words范围表:

A1:   dummy1
A2:   dummy2
A3:   Friday
A4:   dummy4
A5:   dummy5
A6:   dummy6
A7:   dummy7

2。 searchedText表格,A1单元格:

On Saturday, the now tropical storm made landfall along the northern Gulf Coast as a Category 1 hurricane, leaving tens of thousands across Louisiana and Mississippi without power and otherwise cut off from drier parts of the region.

Areas of widespread flooding varied in severity with some seeing accumulations of 20 inches, while others escaped with substantially lower-than-predicted rainfall.

In Mandeville, just 132 miles from Morgan City where the storm first made contact with land, the shore of Lake Pontchartrain expanded onto city streets. On Lakeshore Drive, photographer Scott Olson captured dozens of residents, many of them couples and families, as they explored the transformed — and largely underwater — portion of their shared home. The road, officially closed off to the public since late Friday, became the central hub for photographic evidence of the storm's power, even as city officials warned people to stay away.

"Officials would like to encourage pedestrians that this is not a sightseeing event," reported local radio station KPEL 96.5, adding, "Your safety is the number one priority."

While an official depth of the flooding along Lakeshore Drive has not been reported, many images show adults up to their knees in water, in spite of numerous flood gates attempting to keep the lake at bay.

In addition to the dangers of fast-moving currents and waterborne disease, Louisiana residents have been warned of the presence of water snakes and alligators within floodwaters.

"If the area you live in has high water, watch out for snakes and other critters who are trying to escape the floodwaters as well," noted fire department officials in Slidell, another Louisiana city less than 30 miles from Mandeville.

Still, per Olson's photos, it would appear many Mandeville folks tried to make the best of a bad situation. In a stint of waterlogged romance, numerous couples posed for the photographer among the aftermath for what Olson dubbed a post-hurricane "date night."

0 个答案:

没有答案