Search
 
SCRIPT & CODE EXAMPLE
 

EXCEL

google sheets stack columns

# 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 :: excel conditional formatting outside of range 
Excel :: google sheets select element after split 
Excel :: excel formula not updating after inserting rows 
Excel :: excel auto adjust row heights 
Excel :: convert number to date in excel 
Excel :: Time and date maths in Excel 
Perl :: perl exit loop 
Perl :: perl sprintf YYYYMMDD sample 
Perl :: perl make a new directory and change permissions 
Perl :: nested haah in perl 
Pascal :: pascal input format check 
Pascal :: Pascal (fpc 3.0.4) sample 
Powershell :: Saved Windows Credentials 
Gdscript :: godot find_node() 
Clojure :: clojure read file 
Cobol :: alertDialog with textfield validator flutter 
Assembly :: install retroarch on Linux 
Assembly :: that long word from mary poppins 
Assembly :: how to custom style material ui 
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
5+4 =