Brecht
Member
- Joined
- Sep 15, 2014
- Messages
- 36
- Reaction score
- 0
- Points
- 6
- Location
- Netherlands
- Excel Version(s)
- Version 2007
Hello there,
I have an excel sheet that contains product details. So for example in cell B2 I have the length of a product, C2 the width, D2 the height and E2 the material. I wish to make an 'automatic product text' on the basis of these cells, but some cells are left blank (because information is missing).
So what I should have, ideally is the following result:
- Length: B2
- Width: C2
- Height: E2
- Material: D2
But for example if cell E2 is blank, this should not be shown in the text.
I tried the formula
=(IF(B2<>"";"-Length";""))
which shows the text -Length (and nothing when B2 is blank), but how can I add the information of cell B2 to this text? And how can I continue the formula so that the rest of the information is filled in as well?
Thank you in advance
Best wishes,
Brecht
I have an excel sheet that contains product details. So for example in cell B2 I have the length of a product, C2 the width, D2 the height and E2 the material. I wish to make an 'automatic product text' on the basis of these cells, but some cells are left blank (because information is missing).
So what I should have, ideally is the following result:
- Length: B2
- Width: C2
- Height: E2
- Material: D2
But for example if cell E2 is blank, this should not be shown in the text.
I tried the formula
=(IF(B2<>"";"-Length";""))
which shows the text -Length (and nothing when B2 is blank), but how can I add the information of cell B2 to this text? And how can I continue the formula so that the rest of the information is filled in as well?
Thank you in advance
Best wishes,
Brecht