Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Daniel
 
Posts: n/a
Default subtract all numbers in an array

How can I subtract any two numbers in an array? I have a line of 24 values,
I want to be able to subtract every single possible variation of those
numbers to see if it satisfies a specific criteria?
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

With 24 values, that means you'll have 24 x 24 matrix
of "variations". If your values are in A1:A24, select
C1:Z24, enter the following formula in the formula bar:

=A1:A24-TRANSPOSE(A1:A24)

and press ctrl + shift + enter.

HTH
Jason
Atlanta, GA


-----Original Message-----
How can I subtract any two numbers in an array? I have

a line of 24 values,
I want to be able to subtract every single possible

variation of those
numbers to see if it satisfies a specific criteria?
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Sorting when some numbers have a text suffix confused on the tundra Excel Discussion (Misc queries) 5 December 18th 04 10:19 PM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM
finding common numbers in large lists Jenn Excel Worksheet Functions 1 November 11th 04 07:42 PM


All times are GMT +1. The time now is 04:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"