A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Array formula needed



 
 
Thread Tools Display Modes
  #1  
Old December 17th, 2005, 02:27 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Array formula needed

I want to perform an sumproduct type of function with on column of data (1 x
n) and the minimum value in each row of a 2 x n matrix. Is there a simple
formula that will allow me to do this. I know that I could create a new
column with the minimums or that I could brute force the math, I am just
hoping for something simple since I have to apply it a few hundred times.

Thanks
  #2  
Old December 17th, 2005, 05:43 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Array formula needed

Hi,

If the (1 x n) range data are in Column A, and the (2 x n) matrix data are
in Columns B and C, use the following formula:
=SUMPRODUCT(A1:A100,IF(B1:B100C1:C100,B1:B100,C1: C100)) and confirm with
CTRL-SHIFT-ENTER.

Regards,
B. R. Ramachandran

"ZipCurs" wrote:

I want to perform an sumproduct type of function with on column of data (1 x
n) and the minimum value in each row of a 2 x n matrix. Is there a simple
formula that will allow me to do this. I know that I could create a new
column with the minimums or that I could brute force the math, I am just
hoping for something simple since I have to apply it a few hundred times.

Thanks

  #3  
Old December 17th, 2005, 12:40 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Array formula needed

Thanks, that did the trick. What if instead of a (2xn) matrix, I have one
(1xn) matrix and one (nx1) matrix that I want to select the minimum from.
This doesn't seem to work with that.

"B. R.Ramachandran" wrote:

Hi,

If the (1 x n) range data are in Column A, and the (2 x n) matrix data are
in Columns B and C, use the following formula:
=SUMPRODUCT(A1:A100,IF(B1:B100C1:C100,B1:B100,C1: C100)) and confirm with
CTRL-SHIFT-ENTER.

Regards,
B. R. Ramachandran

"ZipCurs" wrote:

I want to perform an sumproduct type of function with on column of data (1 x
n) and the minimum value in each row of a 2 x n matrix. Is there a simple
formula that will allow me to do this. I know that I could create a new
column with the minimums or that I could brute force the math, I am just
hoping for something simple since I have to apply it a few hundred times.

Thanks

  #4  
Old December 17th, 2005, 01:42 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Array formula needed

"ZipCurs" wrote
.. What if instead of a (2xn) matrix, I have one (1xn) matrix
and one (nx1) matrix that I want to select the minimum from.


Assume the (1xn) is A1:A10, and the (nx1) is B1:Z1
Try in say, B2: =SUMPRODUCT(A1:A10*MIN(B1:Z1))
Normal ENTER will do
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #5  
Old December 17th, 2005, 02:16 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Array formula needed

Hi,

If the first 1xn range is in A1:A100, and the second (i.e., nx1 ) range is
in B1:Z1,

=SUM(A1:A100)*MIN(B1:Z1)

Regards,
B. R. Ramachandran

"ZipCurs" wrote:

Thanks, that did the trick. What if instead of a (2xn) matrix, I have one
(1xn) matrix and one (nx1) matrix that I want to select the minimum from.
This doesn't seem to work with that.

"B. R.Ramachandran" wrote:

Hi,

If the (1 x n) range data are in Column A, and the (2 x n) matrix data are
in Columns B and C, use the following formula:
=SUMPRODUCT(A1:A100,IF(B1:B100C1:C100,B1:B100,C1: C100)) and confirm with
CTRL-SHIFT-ENTER.

Regards,
B. R. Ramachandran

"ZipCurs" wrote:

I want to perform an sumproduct type of function with on column of data (1 x
n) and the minimum value in each row of a 2 x n matrix. Is there a simple
formula that will allow me to do this. I know that I could create a new
column with the minimums or that I could brute force the math, I am just
hoping for something simple since I have to apply it a few hundred times.

Thanks

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Match then lookup Tenacity Worksheet Functions 10 December 3rd, 2005 05:30 AM
Simplifying array formula which evaluates as error. Richard Buttrey Worksheet Functions 5 September 30th, 2005 02:35 AM
Help with array formula Worksheet Functions 2 January 20th, 2005 04:17 PM
Excel to access Joseph Meehan General Discussion 6 June 25th, 2004 08:37 AM
array formula not working Scruff57 Worksheet Functions 7 January 15th, 2004 04:46 PM


All times are GMT +1. The time now is 12:34 PM.


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