If A3,B3,C3 are blank put No
If A3,B3,C3 have values then have to display them along with the the heading in A1,B1 and C1
Have attached a sheet for reference
Thank you.
If A3,B3,C3 are blank put No
If A3,B3,C3 have values then have to display them along with the the heading in A1,B1 and C1
Have attached a sheet for reference
Thank you.
an example of the out put you need to show would have helped
anyway
you say latest version of excel - better to put the actual version as that changes over time
so 365 is the latest
and has TEXTJOIN
maybe
=IF(AND(A3="",B3="",C3=""),"",TEXTJOIN(",",,A1,A3,B1,B3,C1,C3))
this will put header from A1 and then value in A3 , etc
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Hi Etaf,
My bad i guess i havent described the output i need clearly
as per my sheet it has Highlights as the heading and the data is product has strength, flexible, versatile
so i need the output to be like this
Highlights
strength, flexible, versatile
Ingredients
this is ingredients
Size
this is size
the output of the formula should be like the above example
if you could assist me with that it'll be really great
can you show that as an example out put in the spreadsheet
your say in A3
product has strength, flexible, versatile
BUT you only want the specific words - what other examples are there ???
also when you say the out put like this - is that a new line - we can use char(10) to set a line break
=IF(AND(A3="",B3="",C3=""),"",TEXTJOIN(CHAR(10),,A1,A3,B1,B3,C1,C3))
which will do this
Highlights
strength, flexible, versatile
Ingredients
this is ingredients
Size
this is size
otherwise a bit messy
=IF(AND(A3="",B3="",C3=""),"",TEXTJOIN(CHAR(10),,A1,A3&CHAR(10),B1,B3&CHAR(10),C1,C3&CHAR(10)))
In F2 copied down
Formula:
Please Login or Register to view this content.
Last edited by kvsrinivasamurthy; 02-14-2023 at 11:08 AM.
Pl note
Array formula should be confirmed with Ctrl+Shift+Enter keys together.
If answere is satisfactory press * to add reputation.
Hi Etaf ,
The formula works just fine thanks to you,
need another help too the headings such as highlights,ingredients and size i need to bold them
can you help me out in this too?
Thanks in advance
As far as i know this cannot be done with a function or with conditional formatting and needs VBA
as its a new part of the question, it may be worth starting a new thread with this question - under the VBA section
I dont provide VBA solutions on the forum, so cannot help for that question
glad the formula word so fat for you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks