Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法让我根据它包含的值删除行?例如,我有一个表,其中一列中的值包含 URL 值,例如,
/uk/quitclock/om2.asp
/uk/quitclock/om666.wav
在这里,我需要删除后缀以 WAV、GIF 或 JPEG 结尾的行。我怎么做?如果不可能,那么excel中是否有任何公式可以帮助我做到这一点?
在数据库上试试这个
DELETE FROM TABLE WHERE UPPER(COLUMN) LIKE '%.WAV' OR UPPER(COLUMN) LIKE '%.GIF' OR UPPER(COLUMN) LIKE '%.JPEG'
对于excel:
=OR(RIGHT(A1,3)="wav",RIGHT(A1,3)="gif",RIGHT(A1,4)="jpeg")
删除 TRUE