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

Frank, didn't we cover this comprehensively in your earlier thread in
..worksheet.functions,
http://tinyurl.com/ytkp2b

where suggested expression was, array-entered (press CTRL+SHIFT+ENTER):
=INDEX($E$2:$E$100,MATCH(1,($A$2:$A$100=G1)*($B$2: $B$100=H1)*($C$2:$C$100=IĀ*1)*($D$2:$D$100=J1),0))

There was also an illustrative sample provided for your reference:
http://www.savefile.com/files/555218
Matching multiple criteria.xls
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"frankjh19701" wrote:

Here's this one:
I want to have a formula that will return the value of a cell that is
adjacent to specific criteria in the adjacent cells next to it. For
example:

Column A Column B Column C Column D Column E
Location 1 Product 1 Delvery 1 Return 1 Cost
1
Location 2 Product 3 Delvery 3 Return 2 Cost
3
Location 3 Product 5 Delvery 4 Return 1 Cost
1
Location 2 Product 2 Delvery 1 Return 1 Cost
3
Location 1 Product 1 Delvery 3 Return 2 Cost
4
Location 1 Product 1 Delvery 1 Return 1 Cost
3


So, in essence, I would like the formula to be along the lines of if
all the right values are in the same row, return the value of the last
cell in that row to a specific location. Something like:
If "Location 1" is in column one and is adjacent to "Product 1" in the
next and "Delivery 1" is next to that and "Return 2" is next to that,
then give me the value in the next cell in Column E "Cost ?"

I hope this can be done. I've been playing around with SUM and SUMIF,
and VLOOKUP and SUMPRODUCT, and I've gotten close but not close enough.
Any/all help will be greatly appreciated.




--
frankjh19701

 
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:00 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"