How to add if input is empty jump it

frne

New Member
Joined
Mar 4, 2024
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello,



I have this formula:
$B$1&":"&B2 &" "& $C$1&":"&C2 &" "& $D$1&":"&D2 &" "& $E$1&":"&E2 &" "& $F$1&":"&F2 &" "& $G$1&":"&G2 &" "& $H$1&":"&H2 &" "& $I$1&":"&I2 &" "& $L$1&":"&L2 &" "& $M$1&":"&M2 &" "& $N$1&":"&N2 &" "& $O$1&":"&O2 &" "& $P$1&":"&P2 &" "& $Q$1&":"&Q2 &" "& $R$1&":"&R2 &" "& $S$1&":"&S2

I have a matrix based on different coloumns for each value for every row.

I would add to the formula "if value on the coloumn is empty, jump it". Otherwise I would have like "Coloumn1: " withouht nothing, because there isn't matching value
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi & welcome to MrExcel.

Can you post some sample data, along with expected result.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
ModelArticleVendorSeasonCategoryGenderName ModelcolourSize & fit
101010UP1WinterSneakersDonnahandballblackRegular fit

Here an example of matrix
 
Upvote 0
Result Desired as bullet point list
Mode:1010
Article:10
Vendor:UP1
 
Upvote 0
In that case try
Excel Formula:
=SUBSTITUTE(TEXTJOIN({":","|"},,TOCOL(B1:S2,,1)),"|",CHAR(10))
 
Upvote 0
Can you have a look at this and correct it?

=LET(a;HSTACK(B2:I2;J2:S2);TEXTJOIN(CODICE.CARATT(10);;IF(a="";"";HSTACK($B$1:$I$1;$J$1:$S$1)&":"&a)))
 
Upvote 0
What's wrong with the formula I suggested?
 
Upvote 0
I need bullet point list, like this and if the matching value in the row is empty, don't show the column name

Codice Articolo:2762
Brand:AMA BRAND
Stagione:Primavera / Estate 2024
Categoria:Sneakers
Genere:Donna
Colore:Bianco
Size & fit:Regular fit
Fantasia:Tinta unita
Forma punta:Tonda
Interno:Tessuto
Tomaia:Pelle
Suola:Gomma
Altezza suola:1 cm
Dettagli:Un modello in pelle caratterizzato da linee sinuose. Dettaglio glitter. Etichetta logo talloncino. Colore bianco/oro/stampa"
 
Upvote 0
That does not answer my question.
Please post some data that shows any problems you are having & use the XL2BB add-in, so that I can see which columns are which & what the formula is.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,178
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top