last day (14 days later) » 

10:30 AM
1
A: Multiple Columns into one Column in excel

Tim WilkinsonUsing a combination of SUBSTITUTE, MATCH, and INDEX you can put the following in F and drag down. =SUBSTITUTE(INDEX(A:E, 1, MATCH(TRUE, A2:E2, 0)), "HopColour", "") HopColourGreen HopColourGreenYellow HopColourGreenBlack HopColourYellowBlack HopColourBlack TRUE FALSE ...

 
Excel didn't execute the combination, the error is nous avons rencontré une erreur dans cette formule which means "We encountered an error in this formula"
 
Did you try with TRUE and "TRUE"? Also if you're using the french version you might have to modify the formula to use your separator, as it might not be a comma but ;.
 
I tried this =SUBSTITUTE(INDEX(A:E; 1; MATCH("TRUE";A2:E2;0)); "HopColour"; "") the result was #NOM?
 
Did you try TRUE instead of "TRUE"?
As in without the quotation marks. And did you put this is cell F2?
Can you post a screen shot of your table to see exactly how it looks like?
 
10:30 AM
Just so we are clear, you also tried with TRUE without quotation marks?
 
Yes I tried it
but in vain
 
Just to cover the basics then, all values TRUE and FALSE have no trailing spaces anywhere?
 
There are no spaces
 
If you go to Formula tab and select "Evaluate Formula" (or the french alternative) can you step through and see which bit fails? I have tried to replicate your error but it is working just fine in my tests
aaaaah ok
I think I know, can you try this =SUBSTITUTE(INDEX(A:E; 1; EQUIV("TRUE";A2:E2;0)); "HopColour"; "")
check my updated answer, there is no MATCH in french excel
you need to use EQUIV
 
it didn't work :'( :'(
is there substitute in french ?
 
10:44 AM
it seems so
I checked SUBSTITUTE and INDEX and both are there
 
It worked :D
 
when you start typing =SUBS does it auto suggest SUBSTITUTE?
ok great!
 
SUBSTITUE without T before E :D
 
aaaah haha ok
yes you're right
 
thanks a lot
 
10:46 AM
I will update my answer, if it has helped feel free to accept the answer
 
yeah of course
 
Glad its working, have a good day
 
A last question please, if all columns are false I want the result to be an empty cell, what should i add ?
 

last day (14 days later) »