Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() "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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUMPRODUCT using more than 2 criteria? | Excel Worksheet Functions | |||
Sumproduct - two+ criteria | Excel Worksheet Functions | |||
Sumproduct 4 criteria | Excel Worksheet Functions | |||
SUMPRODUCT with 3 criteria | Excel Discussion (Misc queries) | |||
Sumproduct with 2 criteria | Excel Worksheet Functions |