troubleshooting Question

Reversing and trimming an array?

Avatar of ThomasFoege
ThomasFoege asked on
Microsoft Excel
24 Comments1 Solution269 ViewsLast Modified:
Hello EE!

I've run into some problems with arrays. I find arrays to be pretty hard to understand, but I've managed to make an array like so:

array(1) = "a"
array(2) = "b"
array(3) = "c"
array(4) = "d"

Is there any way, to easily flip the array and trim it to 3 max (I'm not sure if the array goes above 3 though)?

So the array becomes:
array(1) = "d"
array(2) = "c"
array(3) = "b"


Hope you can help!
Thanks in advance!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 24 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 24 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros