Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default SUMPRODUCT, MAX, Few Criteria

I have imported lots of data into Excel, ive inc a small example. I need a
bit of help extracting some of the info into a table.

Col A(noderef) Col B (level) Col C (Text Format)
Node1 75 Oct1993-Oct1994
Node1 76 Oct1994-Oct1995
Node1 79 Oct1995-Oct1996
Node1 74 Oct1996-Oct1997
Node2
Node999etc

I have used the formula
SUMPRODUCT(MAX((A1:A5000=X1)*B1:B5000)) to give me the highest value of Col
B When Ref in Col A = Ref in Col X (my table).

I also want Col Y (my table) to give the show the text from Col C that
corresponds to the formula I used above. I.e. For above example

Col X = Node1, Col Y = 77.35, Col X = €œOct1995 to Oct 1996€.

I have tried a few diff things but cant get anything to work. Sorry if Q a
bit long !
Thanks In advance
Chris

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default SUMPRODUCT, MAX, Few Criteria



"Chris26" wrote:

I have imported lots of data into Excel, ive inc a small example. I need a
bit of help extracting some of the info into a table.

Col A(noderef) Col B (level) Col C (Text Format)
Node1 75 Oct1993-Oct1994
Node1 76 Oct1994-Oct1995
Node1 79 Oct1995-Oct1996
Node1 74 Oct1996-Oct1997
Node2
Node999etc

I have used the formula
SUMPRODUCT(MAX((A1:A5000=X1)*B1:B5000)) to give me the highest value of Col
B When Ref in Col A = Ref in Col X (my table).

I also want Col Y (my table) to give the show the text from Col C that
corresponds to the formula I used above. I.e. For above example

Col X = Node1, Col Y = 79, Col X = €œOct1995 to Oct 1996€.

I have tried a few diff things but cant get anything to work. Sorry if Q a
bit long !
Thanks In advance
Chris

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default SUMPRODUCT, MAX, Few Criteria

Sorry last post corrected mistake on my 1st post

"Chris26" wrote:

I have imported lots of data into Excel, ive inc a small example. I need a
bit of help extracting some of the info into a table.

Col A(noderef) Col B (level) Col C (Text Format)
Node1 75 Oct1993-Oct1994
Node1 76 Oct1994-Oct1995
Node1 79 Oct1995-Oct1996
Node1 74 Oct1996-Oct1997
Node2
Node999etc

I have used the formula
SUMPRODUCT(MAX((A1:A5000=X1)*B1:B5000)) to give me the highest value of Col
B When Ref in Col A = Ref in Col X (my table).

I also want Col Y (my table) to give the show the text from Col C that
corresponds to the formula I used above. I.e. For above example

Col X = Node1, Col Y = 77.35, Col X = €œOct1995 to Oct 1996€.

I have tried a few diff things but cant get anything to work. Sorry if Q a
bit long !
Thanks In advance
Chris

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default SUMPRODUCT, MAX, Few Criteria


Try:

=INDEX(C1:C5000,MATCH(1,(A1:A5000=X1)*(B1:B5000=MA X(IF(A1:A5000=X1,B1:B5000))),0))

confirmed with CTRL+SHIFT+ENTER

or

=Lookup(2,1/((A1:A5000=X1)*(B1:B5000=Z1)),C1:C5000)


where Z1 contains the Sumproduct result from your post.


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=122301

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default SUMPRODUCT, MAX, Few Criteria

many thanks
will try now

"NBVC" wrote:


Try:

=INDEX(C1:C5000,MATCH(1,(A1:A5000=X1)*(B1:B5000=MA X(IF(A1:A5000=X1,B1:B5000))),0))

confirmed with CTRL+SHIFT+ENTER

or

=Lookup(2,1/((A1:A5000=X1)*(B1:B5000=Z1)),C1:C5000)


where Z1 contains the Sumproduct result from your post.


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=122301




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
SUMPRODUCT using more than 2 criteria? Max Excel Worksheet Functions 0 August 17th 07 02:23 AM
Sumproduct - two+ criteria Bryce Excel Worksheet Functions 2 February 7th 07 02:00 AM
Sumproduct 4 criteria Alok Excel Worksheet Functions 0 November 30th 06 12:47 AM
SUMPRODUCT with 3 criteria Kierano Excel Discussion (Misc queries) 1 October 16th 06 05:16 PM
Sumproduct with 2 criteria TMF in MN Excel Worksheet Functions 3 February 27th 06 07:16 PM


All times are GMT +1. The time now is 01:48 PM.

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

About Us

"It's about Microsoft Excel"