Search
 
SCRIPT & CODE EXAMPLE
 

EXCEL

google sheets stack columns vertically

# Basic syntax:
=FILTER({A3:A12; B5:B7}, LEN({A3:A12; B5:B7}))
# Where:
#	- this stacks the non-empty cells from the ranges defined in columns
#		A and B
#	- {range_A; range_B} stacks the defined ranges
#	- FILTER with LEN is used to exclude any empty cells. This works
#		because LEN returns a number other than 0 for each cell that
#		contains content. This non-zero number is then treated as "True"
#		by FILTER, causing only those cells to be kept
# Note:
#	- if you don't mind including blank cells (or you don't have any),
#		you can just use {} without FILTER to stack columns
Comment

PREVIOUS NEXT
Code Example
Excel :: google sheets convert abbreviation of month to number 
Excel :: remove space from excel cell 
Excel :: google sheets sort column by item frequency 
Excel :: excel auto fit row height 
Excel :: or function in excel 
Excel :: add drop down in excel 
Perl :: perl loops 
Perl :: read a file in perl 
Perl :: fonction perl 
Perl :: perl running mechanize through tor 
Pascal :: pascal try catch finally 
Pascal :: pascal area 
Powershell :: powershell replace character in string 
Gdscript :: godot check left mouse button 
Clojure :: ex: Clojure define expected time 
Cobol :: gatsby with yarn 
Assembly :: vba hello world 
Assembly :: undefined reference to `cv::inRange 
Assembly :: google appscripts cell get background color 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: vue current year 
Javascript :: shopify comment code 
Javascript :: Basic JavaScript: Use Recursion to Create a Countdown 
Javascript :: jquery get screen height 
Javascript :: colors in node js console 
Javascript :: change src of iframe jquery 
Javascript :: remove spaces in a string js 
Javascript :: jquery datepicker no weekends 
Javascript :: jQuery and changing the input field type 
Javascript :: add site url validation regex 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =