Solved

Refining a XLS formula

Posted on 2014-02-11
9
132 Views
Last Modified: 2014-02-14
Yesterday I was given an excellent answer by Ken Butters who supplied me with a nice formula for my problem. But I need to refine it a bit. There was something I had not considered.  What I had not considered was the inconsistencies of the columns  like some name are in UPERCASSE some not and some with a combination of both. So I need for the below formula to reflect that situation.

Formula:
=IF(ISNA(VLOOKUP(A1363 Refining a XLS formula
,B:B,1,FALSE)),CONCATENATE(A1363," = No match in AMS"),VLOOKUP(A1363,B:B,1,FALSE))
0
Comment
Question by:d_asselin
  • 4
  • 4
9 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 39850601
Vlookup is not case sensitive.  Are you saying you want to match case sensitivity too?
0
 

Author Comment

by:d_asselin
ID: 39850619
The problem is that I have some users that are not Identical in both columns.
Like below example and are not filtered properly.

    A           B                C
pedas      Pedas       Nomatch
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 39850637
Which is the formula output in that example - what should the result be?

regards, barry
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:d_asselin
ID: 39850664
Microsoft Office Professional Plus 2010
Version 14.0.6123.5001
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39850680
Can you attach a workbook sample showing what you are trying to achieve?
0
 

Author Comment

by:d_asselin
ID: 39850717
This is what is happening.  The Pedas user & the AmsUser should still be in the found  
 
CI Name-CyberArk       AccountName-AMS      Acounts in CyberArk & AMS      
CGIMetaSync      a_svcbd_db_prd_ogt      CGIMetaSync      
AMSUSER       Archives-CentredeSer      AMSUSER      
AMSUSER       excbesadm      AMSUSER      
dbabatch                        a_svcbd_vw_cdvogtsql      dbabatch      
dbabatch        CGIBureaudeprojets      dbabatch      
oracle                        CGIEXCMSG01MOM08      oracle      
oraoms            demandesds                        ORAOMS      
orasat                        a_svcbd_is_cprogtsql      orasat      
oravip              archive                                          oravip      
perfstat                        CGIEXCMSG01MOM01      PERFSTAT      
rman                           centredeservices                   RMAN      
sys                          AmsUser                        AmsUser = No match in AMS       Should still be found in AMS
sys                          epo_agent_install                   sys = No match in AMS      
sysman                  a_svcbd_rs_prd_ogt                 sysman = No match in AMS      
Pedas                  pedas                                         Pedas = No match in AMS       Should still be found in AMS
0
 

Author Comment

by:d_asselin
ID: 39850723
Sorry about that post It did not look like this in the preview I will correct and repost
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39850752
It should be found with your formula.

Check if either Pedas in first column has a space at the end or if pedas in the second column has a space at the end.  That would be a reason for a "non match"
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39850764
Formula can also be shortened to:

=IFERROR(VLOOKUP(A1363,B:B,1,FALSE),A1363," = No match in AMS")
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

803 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