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:
dela_dela
Femeie
24 ani
Bucuresti
cauta Barbat
24 - 48 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] Concatenate Row Values IF Condition

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 964
I want to concatenate all the values in the current row if the cell value is different than blank.

=TEXTJOIN(" ";TRUE;IF(J5:Z5<>"";J5:Z5;""))

In the source, the formula above is an array (CTRL+SHIFT+ENTER), but it my case it works normally as well (ENTER).

Source:
https://www.howtoexcel.org/formulas/how ... e-formula/


 
   
pus acum 2 saptamani#2
TRaP
Moderator
Postari: 964
Nowadays in newer Excel there's no need for CSE.

I have 3 cells - D6, E6 and F6 with a possible yes/no in each of them. At least one is yes, and all 3 can be yes. I want to concatenate "U" for yes in D6, "C" for yes in E6 and "D" for yes in F6.
E.g.,
- if D6 is yes, and the rest are no the formula should return U
- if D6 is yes and F6 is yes, the formula should return U, D
- if all 3 are yes, the formula should return U, C, D

The following formula works:

=TEXTJOIN(", "; TRUE; IF(D6="yes";"U";""); IF(E6="yes";"C";""); IF(F6="yes";"D";""))


 
   

Topicuri similare

Pagini: 1  
Mergi la