• Skip to main content
  • Skip to footer
Revelwood Logo

Revelwood

Your SUPER-powered WP Engine Site

  • Who We Are
    • About Us
      • Our Company
      • Our Team
      • Partners
    • Careers
      • Join Our Team
  • What We Do
    • Solutions
      • Workday Adaptive Planning
      • IBM Planning Analytics
      • BlackLine
    • Services
      • Implementation Services
      • Customer Care
        • Help Desk
        • System Administration as a Service
      • Training
        • Workday Adaptive Planning Training
        • IBM Planning Analytics / TM1 Training
    • Products
      • DataMaestro
      • LightSpeed
      • IBM Planning Analytics Utilities
  • How We Help
    • Use Cases
    • Client Success Stories
  • How We Think
    • Knowledge Center
    • Events
    • News
  • Contact Us

IBM Planning Analytics Tips & Tricks

IBM Planning Analytics Tips & Tricks: VSTACK_HSTACK

 

July 30, 2024

By Ivan Cepero

In a previous blog, I wrote about the ability to convert a list into a set of smaller lists (create a link to the WRAPCOLS blog). But what if you wanted to do the opposite? What if you wanted to merge a set of smaller ranges into a single range?  Excel’s VSTACK and HSTACK formulas are an easy way to combine several non-contiguous ranges into one range.

The syntax of the VSTACK formula is:

=VSTACK(array1,array2,…)

  • Each array parameter represents a range to be stacked

Using the following data as an example:

A screenshot of a computer

Description automatically generated

We can stack both ranges on top of each other using the following formula:

=VSTACK(A1:D4,A9:D11)

A screenshot of a data

Description automatically generated

This example was relatively simple since both ranges have the same number of columns. However, if one range has less columns then each cell mismatch will generate an error. For example, taking all three columns of the first data set but only two columns from the second data set will generate this result:

=VSTACK(A1:D4,A9:B11)

A screenshot of a table

Description automatically generated

We can remove the errors by nesting the VSTACK within an IFERROR formula:

=IFERROR(VSTACK(A1:D4,A9:B11),””)

We can also use the HSTACK formula if you prefer to append your data horizontally instead of vertically.

A screenshot of a computer

Description automatically generated

To combine both these tables into one table, this HSTACK formula will do the trick:

=HSTACK(A1:D4,G1:I4)

A screenshot of a table

Description automatically generated

IBM Planning Analytics, which TM1 is the engine for, is full of new features and functionality. Not sure where to start? Our team here at Revelwood can help. Contact us for more information at info@revelwood.com. And stay tuned for more Planning Analytics Tips & Tricks weekly in our Knowledge Center and in upcoming newsletters!

Read more IBM Planning Analytics Tips & Tricks:

IBM Planning Analytics Tips & Tricks: Slow-Performing Scripts

IBM Planning Analytics Tips & Tricks: Converting a Manual Process to TurboIntegrator Scripts

IBM Planning Analytics Tips & Tricks: PAW Enter Members Feature

Author

  • Ivan Cepero

    View all posts
    • Categories

      • Accounting and Accounts Receivable
      • Awards & Recognition
      • Data Analytics in Finance
      • Financial Close & Consolidation
      • FP&A Done Right
      • IBM Planning Analytics Tips & Tricks
      • News & Events
      • Success Stories
      • Tech Bulletins
      • Workday Adaptive Planning Insights
      • Workday Adaptive Planning Tips & Tricks

    Popular Posts

    Authors

    Adam Riskin
    Adam Riskin
    Brian Colucci
    Brian Colucci
    Brian Combs
    Brian Combs
    Cameron Burke
    Cameron Burke
    Dave Miersch
    Dave Miersch
    Ivan Cepero
    Ivan Cepero
    John Pra Sisto
    John Pra Sisto
    Jonathan Dunn
    Jonathan Dunn
    Ken Wolf
    Ken Wolf
    Lee Lazarow
    Lee Lazarow
    Lisa Minneci
    Lisa Minneci
    Luke Griffie
    Luke Griffie
    Marc Assenza
    Marc Assenza
    Mary Luchs
    Mary Luchs
    Michael Mari
    Michael Mari
    Michelle Song
    Michelle Song
    Revelwood
    Revelwood
    Robert Nordhagen
    Robert Nordhagen
    Simon Foley
    Simon Foley
    Thomas McDade
    Thomas McDade

    Sign up for our newsletter

    Connect

Footer

Revelwood Overview

Revelwood helps finance organizations close, consolidate, plan, monitor and analyze business performance. As experts in solutions for the Office of Finance, we partner with best-in-breed software companies by applying best practices guidance and our pre-configured applications to help businesses achieve their full potential.

EXPERTISE

  • Workday Adaptive Planning
  • IBM Planning Analytics
  • BlackLine

ABOUT

  • Who We Are
  • What We Do
  • How We Help
  • How We Think
  • Privacy

CONNECT

World Headquarters

Florham Park, NJ | 201 984 3030

European Headquarters

London & Edinburgh | +44 (0)131 240 3866

Latin America Office

Miami, FL | 201 987 4198

Email
info@revelwood.com

Copyright © 2025 · Revelwood Inc. All rights reserved. Revelwood® and the Revelwood logo are registered marks of Revelwood Inc.