Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Does Google Sheets have a function to insert X number of Y characters within a cell? [duplicate]

$
0
0

I currently have a spreadsheet which requires a variable number of line breaks within a cell based on input data from another cell.

Long story short, I currently am using a brute force method to accomplish this, via a lengthy IFS() statement where each condition has one more instance of "CHAR(10)" than the previous.

My function as is, which is an IFS() function

It gets the job done, but it's very bloated. I might be taking a wild shot in the dark here, but is there any function (or series of functions) that adds x number of y character to a cell? Or would I have to create something myself via custom function or apps script?

Thank you!


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>