?
Solved

Revising a LOOKUP formula finding last match to ignore rows if column K contains either of two values ("No Change" or "CX'd")

Posted on 2016-09-23
2
Medium Priority
?
49 Views
Last Modified: 2016-09-23
I am currently using the following LOOKUP formula in spreadsheet EE_Pub (columns N, O and P) to find 'last match' values in spreadsheet EE_Cat (columns J, K and L), unless the value in column K of EE_Cat spreadsheet = "No Change", in which case it ignores this row.

=IFERROR(LOOKUP(2,1/([EE_Cat.xlsx]Sheet1!$I$2:$I$1200=$M2)/([EE_Cat.xlsx]Sheet1!$K$2:$K$1200<>"No Change"),[EE_Cat.xlsx]Sheet1!$J$2:$J$1200),"")

I need to add an additional criteria to this formula so that it ignores all rows where column K in EE_Cat spreadsheet = "No Change" or "CX'd"

I have provided the two sample spreadsheets. I have highlighted the cells and included comments on the EE_Pub spreadsheet containing the results I am looking for with the updated formula.

I hope I have provided sufficient information, and that it is clear enough...

Thanks!
Andrea
EE_Cat.xlsx
EE_Pub.xlsx
0
Comment
Question by:Andreamary
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
Ejgil Hedegaard earned 2000 total points
ID: 41813000
Try this
=IFERROR(LOOKUP(2,1/([EE_Cat.xlsx]Sheet1!$I$2:$I$1200=$M3)/([EE_Cat.xlsx]Sheet1!$K$2:$K$1200<>"CX'd")/([EE_Cat.xlsx]Sheet1!$K$2:$K$1200<>"No Change"),[EE_Cat.xlsx]Sheet1!$J$2:$J$1200),"")
0
 

Author Closing Comment

by:Andreamary
ID: 41813083
Thanks, Ejgil, for the quick response...works like a charm! :-)
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
New style of hardware planning for Microsoft Exchange server.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question