LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.links
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Matching Criteria in adjacent columns

Here's a revised interp on your orig. post in .worksheet.functions,
and a way to achieve the multiple returns for any one set of inputs ..

Sample construct available at:
http://www.savefile.com/files/565184
Multi returns for matching multi criteria.xls

Assuming source data in cols A to E, from row2 down

Inputs will be entered in say, G2:J2 eg:
Petro, Penn, Transport, 4496

Put in K2:
=IF(ROW(A1)COUNT(L:L),"",INDEX(E:E,SMALL(L:L,ROW( A1))))

Put in L2:
=IF(AND((A2=$G$2)*(B2=$H$2)*(C2=$I$2)*(D2=$J$2)),R OW(),"")
Leave L1 blank

Select K2:L2, copy down to cover the max expected extent of source data.
Hide away col L. Col K will return the required results from col E, all
neatly bunched at the top.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"frankjh19701" wrote
Um, No. Max we didn't. The one you're referring to is the one that I'm
having a problem with. I've copied the formula that you gave me in to a
spreadsheet to try it and it only gave me the first column's answer -
not what the rates were along with it. Finding the the matching
criteria is one thing, finding the minimum rates and returning ALL of
the criteria i.e. Location,Product, Delvery, Return Cost is the total
objective. And honestly, I could see the formula doing only have the
task. If I am wrong, please help me correct this. Or if I'm doing it
wrong, help me through it. Again, the file (thread) you sent me only
does half. I'm grateful for any/all help you can give me on this. I
don't want to sound like I'm ungrateful, far from it, I just want to
understand the concepts here that you are trying to tell me. Thank you.



 
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
Matching Adjacent Columns? gnotnoel via OfficeKB.com Excel Worksheet Functions 4 June 8th 06 01:43 PM
countif = < AND value in adjacent columns match criteria crafty_girl Excel Worksheet Functions 3 April 27th 06 08:40 PM
Need formula that Counts items matching criteria using two columns Juana Cafe Excel Worksheet Functions 4 March 3rd 06 08:41 PM
Sum Count of Single Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 9 July 14th 05 10:01 PM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM


All times are GMT +1. The time now is 09:55 AM.

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"