Simpatie.ro - matrimoniale
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
irina_dragalasa Profile
Femeie
24 ani
Bucuresti
cauta Barbat
26 - 65 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[EXCEL] Extract Text Before an Array of Characters

Pagini: 1 Moderat de TRaP, TonyTzu
pus acum 2 zile#1
TRaP
Moderator
Postari: 963
I have file names that I pasted to an excel range. I need to compare base names to already existing data in excel. File names have special characters providing more details on content: " ", ".", "-"

I need one formula that removes all text after those characters, basically returning all text before those which is my base name I also have in excel.

Formula below uses a manually given array of characters, but you could replace it with a range of cells instead. If none of the characters are found, the formula simply returns the original cell value.


=LET(
    rng;V7:V68;
    chars;{".";" ";"-"};
    IFERROR(TEXTBEFORE(rng;chars;1;0;0;"");rng)
)

Source: ChatGPT


 
   
Pagini: 1  
Mergi la