Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Jan 21, 2010
Messages
3
Location
US
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?
 
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

Back
Top