Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Max....I gave it a try....used the following formula in cell H2
=IF(Y2="","",IF(Y2=321,ROW(),"")) Then put the following in G2: =IF(ROWS($1:1)COUNT(P:P),"",INDEX(Y:Y,SMALL(Y:Y,R OWS($1:1)))) I then copied this formula down to several rows. For some reason it's generating $40.00 in the first cell...then $400.00 in the next four. Not sure where these amounts are coming from as they are not the results I'm looking for. Any suggestions? "Max" wrote: One quick play .. Assume input value for col E will be made in G2, eg: 321 In H2: =IF(E2="","",IF(E2=$G$2,ROW(),"")) Leave H1 blank In I2: =IF(ROWS($1:1)COUNT(H:H),"",INDEX(F:F,SMALL(H:H,R OWS($1:1)))) Select H2:I2, copy down to cover the max expected extent of data in col E. Col I will return the required bunched results from col F for the input in G2. -- Max Singapore http://savefile.com/projects/236895 Downloads: 15,500, Files: 352, Subscribers: 53 xdemechanik --- "Brian" wrote: In column E and F, I have multiple values and amounts. For example: Column E Column F 321 $775.00 557 $50.00 395 $45.00 321 $54.00 574 $65.00 321 $85.00 I want to be able to have Excel search for all the dollar amounts that have a corresponding 321 in Column E, but place these amounts in different cells. In the example above, I'd like $775.00 to appear in cell A1....$54.00 appear in cell A2...$85.00 in cell A3 and so on until all dollar amounts with a corresponding 321 are listed. Any suggestions on how to do this with using a Filter? I know Sumproduct will add the amounts together...but I want them listed seperately....and Vlookup will only return the first dollar amount that matches that requirement. So I'm not sure what formula to use. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
seperate two values fromone cell into 2 cells | Excel Worksheet Functions | |||
Help needed replacing multiple cells from a list of values. | Excel Discussion (Misc queries) | |||
How to seperate 2 values to 2 different cells | Excel Discussion (Misc queries) | |||
Search multiple values & return single value - seperate worksheets | Excel Worksheet Functions | |||
How can I look up two seperate values/cells and return the value . | Excel Worksheet Functions |