【问题标题】:I need to look up a value within a table, find the value within in a string and return the first 3 digit zip of the string of zips我需要在表中查找一个值,在一个字符串中找到该值并返回 zip 字符串的前 3 位 zip
【发布时间】:2014-10-03 09:19:39
【问题描述】:

我需要在单个列中的分组 zip 表中查找 zip-3,例如“825”

787, 733    
790, 791
793, 794, 792
802, 805, 800
806, 807
809, 816, 810, 814, 813, 811
820, 829, 826, 824, 822, 825, 827, 823, 828, 830, 831, 821, 834
837, 836, 833, 838, 834, 832, 835
840, 841, 847, 844, 843, 846, 845, 842
852, 853
857, 851
859, 855
860, 864, 865

然后我需要能够返回该字符串中的第一个值,即我需要返回 '820'

我正在处理两个单独的工作表,一个包含 zip-3 列表,另一个包含分组 zip-3,因此我需要能够将字符串中的前导 zip 与我的第一个工作表上的单个 zip-3 匹配。

【问题讨论】:

    标签: find match vlookup


    【解决方案1】:

    这样的事情应该可以工作:

    =LEFT(INDEX('another with grouped zip-3''s'!A:A,MATCH("*"&Z1&"*",'another with grouped zip-3''s'!A:A,0)),3)  
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-07-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-27
      • 1970-01-01
      • 2017-08-20
      • 1970-01-01
      相关资源
      最近更新 更多