Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find a range of numbers in an array

Status
Not open for further replies.

fordfan485

Structural
Jan 21, 2010
3
I have array X, which consists of numbers that range from about 1000-15000.

I want to create array Y with all the numbers from array X that are less than or equal to 12000.

How do I do this?
 
Replies continue below

Recommended for you

You need to write a program that copies the desired numbers from one array to the other

TTFN

FAQ731-376
 
fordfan,

There are several ways to skin this cat, but the ones I can think of involve some form of programming, as IRStuff said. If you need some help with this, we'd be happy to generate a sample program in a worksheet for you.

Good luck
Pete
 
Thanks excognito, that program does what I was trying to do perfectly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor