我在Excel上有这个表
Car_Engine
Type1EngineA
Type1EngineB
Type1EngineC
Type1EngineD
Type1EngineE
Type2EngineO
Type1EngineF
Type2EngineB
Type2EngineC
Type3EngineA
Type4EngineA
TypeTEngineB
我想以这种方式生成“Car type”列
Car_Type Car_Engine
Type1 Type1EngineA
Type1 Type1EngineB
Type1 Type1EngineC
Type1 Type1EngineD
Type1 Type1EngineE
Type2 Type2EngineO
TypeCC TypeCCEngineF
Type2 Type2EngineB
Type2 Type2EngineC
Type3 Type3EngineA
Type4 Type4EngineA
TypeT TypeTEngineB
您认为最好的方法是什么? EngineA,EngineB等......被真正的引擎名称取代,类型相同!
答案 0 :(得分:-1)
假设car_engine列是A:
car_type column:= LEFT(A3; SEARCH(" Engine&#34 ;; A3; 1)-1)
(我想知道在哪里" CC"来自)