ResearchV on merged cells

Solved
Emdii Posted messages 10 Status Membre -  
eriiic Posted messages 24581 Registration date   Status Contributeur Last intervention   -
Hello,


Could you tell me if it is possible, and if so, how to perform a VLOOKUP on "merged cells"?

In my screenshot, with the formula, I wanted to see "Phase 1" appear in cell E2 using the VLOOKUP formula.

Thank you in advance for your help,
Best regards,
Emdii

Configuration: Windows / Chrome 48.0.2564.116

2 réponses

Theo.R Posted messages 585 Status Membre 31
 
Hello,

When you merge cells, actually only the first cell in the top left contains the text, the others are "empty". So they still exist but are empty and for this reason your formulas will return an empty value (or 0 in the case of a VLOOKUP).

One piece of advice: no merged cells when the data still needs to be processed :-)

Best of luck,
1
Emdii Posted messages 10 Status Membre
 
Thank you very much for your response.

This situation is extremely disappointing!!
You can't do anything about it, I express my great disappointment towards Microsoft for software that is supposed to be "cutting-edge" and expensive...
0
Emdii Posted messages 10 Status Membre > Emdii Posted messages 10 Status Membre
 
I will therefore manage to add a hidden tab "raw data" that will serve as my relational database...
0
Theo.R Posted messages 585 Status Membre 31
 
There's another way besides VLOOKUP, give me a minute and I'll get that for you.
0
Theo.R Posted messages 585 Status Membre 31
 
Here it is, you need to use the following formula starting from line 2 and dragging it down as an array formula (validate with Ctrl+Shift+Enter instead of just Enter):
=INDEX(B:B,MAX(IF((B:B<>"")*(ROW(B:B)
    
0
Theo.R Posted messages 585 Status Membre 31
 
Note that this formula as an array formula will require a lot of resources from Excel, so avoid using it if you have many rows :/
0
eriiic Posted messages 24581 Registration date   Status Contributeur Last intervention   7 281
 
Hello,

it's not really a VLOOKUP() that you need.
Start your data 1 row lower and in E2:
=IF(B2="",E1,B2)
eric

--
By continually trying, we eventually succeed.
So the more it fails, the more chances we have that it works. (the Shadoks)
In addition to the thank you (yes, yes, it happens!!!), remember to set it as resolved. Thank you.
1