Excel: Search strings for error on a column and return a value in a 2nd

I have a column of around 16000 entries that looks like this:

  • Z
  • Name
  • 1338823 Alberta Ulc
  • PL 1618725 Ontario Inc.
  • 2 c Costruzioni Civili Srl
  • A & D Beleggings Bk
  • A & D investment Bk
  • Aareal Holding Company mbH
  • CTAA

I want to create a formula to search each entry to several errors, so that this example comes Pl and Bk. If it detects an error, Pl or Bk, it returns Y, if it is a N in a separate column such that it would look like this:

  • AB
  • Error
  • N
  • THERE
  • N
  • THERE
  • THERE
  • N
  • N

Any suggestions?

PS: have posted in this link, but it's more complicated to Research several channels in several cells in a column

Ah it's harder, but I think that this formula it (source: http://www.excelforum.com/excel-general/905241-finding-a-value-in-one-cell-within-a-larger-text-sting-in-another-cell.html)

Their example is in column B.  He looks at the cell to the right for what in the list in column A.  If nothing is found, it returns what she has.  Although I'm sure it can be adopted to return Y or N (or you might have even just a column more to check if B contains another type.

Another discussion here: http://www.excelforum.com/excel-formulas-and-functions/907090-finding-a-partial-match-within-a-column.html

Tags: Windows

Similar Questions

  • Compare multiple columns and return a different value

    I have more access to excel and I'm running my previous workflow in numbers of duplication of issues.

    I have a worksheet when a sheet with all my power tools.  On the "Power Tools" sheet I have columns for the brand, Type, model, purchase date, etc...  An example of this would be: pass a "DEWALT", "Jackhammer" Col B, Col C "DCD995M2" and so on.

    I have a second sheet in the same document which is my front end if you want.  I wanted to have selections for this dynamic drop-down list but it seems it is not possible without scripts, but is not the immediate question yet I'm the mention the case where someone knows a good fix.  The second sheet "Sorting Test", I created manually drop-down boxes, one in column A of the brand and the other in column B for Type.  I'll choose the brand and type and I want numbers autofill the rest of this line based on these two selections.

    Example:

    In the 'Sort Test' sheet I select DEWALT in column A and I select the drill in column B and I want DCD995M2 is displayed in column C and the purchase date in column D and so on.

    Excel in it would be a game table or something similar.  So far every site and search google only gave a lot of people who try to do VLOOKUP or correspond to errors, but I've really met anyone corresponding to two distinct cells from two separate columns and return data from this same line a match was found on.

    I must also mention I'm really trying to avoid adding a hidden line that combines some of these but I know it's the most noticeable work around.

    Basically, I want to match two selections separated against two separate columns, and when it finds the match, I want it returns a different value of this corresponding line how I got everything just copy this formula on adjacent cells and simply adjust to the column in the same row matched.

    I know that I shouldn't do this on separate sheets, but it's just a choice that I made a point of design.

    Any help would be appreciated, because I'm trying to really get the most out of the numbers, especially with how it syncs between desktop and mobile and I have more access to Excel.

    You can it as what you do and why?  This will help us understand what drives the design.  Leave out how to solve the problem,

    also post screenshots can be very useful

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • I would like to summarize the values returned by a formula similar to the 'search', but for ranges or entire columns

    Thus,.

    I have three values in column K - 'A', 'B', 'C '. Column I is numeric values.

    I am trying to create a formula that selects all rows in the K column with a specfic value (in this case 'A' 'B' or 'C'), then grab the corresponding value (on the same line) of column I, then add up all the results for a total.

    IF rows in column K returns 'A', THEN take the VALUE of corresponding column I, and THEN SUM all the values returned.

    Or something like that.

    You can try something like this:

    The formula in B2, filled to the bottom, is:

    SUMIF (table 1::K, A2, table 1::L)

    SG

  • How to execute a Perl script and returns the value as a string?

    Hi, I am trying to build an application using the eclipse 2.0.0 with the Blackberry SDK 7.1 plug-in. currently I tested Simulator 9900 version 7.1.0.523. I need to use the Perl language to access the raw biological database and returns as a string without having to write a longer program using java.

    In a stand alone Java SDK, I can use the line:

    Process p = Runtime.getRuntime () .exec ("perl script.pl")

    but when I tried to use it on the IDE for a Blackberry project, the project will not compile. It is said:

    Method exec (String) is undefined for the type of Runtime

    Hopes, can someone show me the correct syntex to use, but if no class is available, could someone show me a sample for unified research process? The names of blackberry dev is very complicated, I can't find any samples for her.

    Thank you.

    Seems interesting.

    Your idea was to download the data to the BlackBerry and then directly execute queries.

    Although there are a number of other obstacles, the first fall you in East platforms supporting Perl.  Here is the list:

    http://perldoc.Perl.org/perlport.html#supported-platforms

    BlackBerry OS Java is not included - in fact the only ' included phone OS is Symbian.  Interestingly, it seems likely that PlayBook and BB10, because they are based on the QNX operating system.

    If we discard Perl as a query language, then you will need to provide another option to search.  I think that unified search is an option, but you will have some work to do to use it.  The first thing you should do is find out if in fact, you can download the database on the BlackBerry.  The only available on the Blackberry database engine's SQL, so if you want the database can be exported to a SQL database, there is a chance that it would work.  I had a quick glance around the site, and I can't tell what the "database" is in the format.  Then I suggest that look you at that next.

    I hope this helps.

  • Script for counting both Yes and no in a column and returning the number of Yes on the Total

    (Acrobat Pro)

    I have 5 fields (DRDropdown1-5), who have 3 options (Y, N, NA). I only
    want to count the number of Y and N, then return the number of Y on the
    total of Y + N

    Any help is appreciated. I tell myself that if I see enough code, I'll get
    It is up.

    Thank you

    We are usually complete solutions, given a description or example of how to make the more difficult part, you should be able to take your knowledge of JavaScript and add the missing pieces. If you are not familiar with JavaScript, treat yourself and watch an introductory part (I like this for JavaScript in Acrobat: Beginning JavaScript for Adobe Acrobat ).

    Looking at your script, you already have most of the features in place. You should be able to edit the output (assuming that your domain may take a string and is not just a numeric field), by simply changing the last line:

    Change "event.value = total / total;" to the following:

    event.value = totalY + " of " + total;
    

    For easier reading, you can reformat the last two lines like this:

    if (total==0)
        event.value = "";
    else
        event.value = totalY + " of " + total;
    
  • When Fire Fox support (again!) for display of multi column (and navagable) Favorites (bookmarks)?

    I always use rev 31. This is the last version that is compatible with the add-in on, "Multicolumn Bookmarks 1.5', I have several brands of books collected over the years and the single column format is frustrating and not helpful."

    Asked to provide a current version, which is compatible with "MultiColumn Bookmarks 1.5' Fire Fox, or provide a favorite navigable multi-column as option display in a near future program revision Fire Fox.»

    Sincerely,

    Pierre Arnold

    Sorry, to complete the thought:

    (1) install Stylish from the Mozilla Add-ons site

    https://addons.Mozilla.org/firefox/addon/stylish/

    (2) then back to the user page of style to get the style (the button should be green instead of blue right here)

    https://userstyles.org/styles/119797/bookmarks-menu-in-multiple-columns

  • table col name get the details of the table column and inserting of values depending on the data type of the column

    Hello

    I am train to write a procedure where I would spend the table as a parameter name and then the code would determine it is column names, and then he would insert records in each column depending on the data type. could someone help me with this.

    Thank you

    SM

    Hello

    Perhaps you need to dummy data just for the table.

    Here is my exercise

    create or replace
    procedure generate_rows(p_table_name varchar2, p_count number)
    is
      --
      function insert_statement(p_table_name varchar2) return clob
      is
        l_columns clob;
        l_expressions clob;
        l_sql clob default
          'insert into p_table_name (l_columns) select l_expressions from dual connect by level <= :p_count';
      begin
        select
          -- l_columns
          listagg(lower(column_name), ',') within group (order by column_id),
          -- l_expressions
          listagg(
            case
            when data_type = 'DATE'
              then  'sysdate'
            when data_type like 'TIMESTAMP%'
              then  'systimestamp'
            when data_type = 'NUMBER'
              then  replace('dbms_random.value(1,max)',
                      'max', nvl(data_precision - data_scale, data_length)
                    )
            when data_type = 'VARCHAR2'
              then  replace(q'|dbms_random.string('a',data_length)|',
                      'data_length', data_length
                    )
            else
                    'NULL'
            end, ',') within group (order by column_id)
        into
          l_columns,
          l_expressions
        from user_tab_columns
        where table_name = upper(p_table_name);
        --
        l_sql := replace(replace(replace(l_sql,
          'p_table_name', p_table_name),
          'l_columns', l_columns),
          'l_expressions', l_expressions);
        -- debug
        dbms_output.put_line(l_sql);
        --
        return l_sql;
      end;
    begin
      execute immediate insert_statement(p_table_name) using p_count;
    end;
    /
    
    -- test
    create table mytable(
      id number(4,0),
      txt varchar2(10),
      tstz timestamp with time zone,
      dt date,
      xml clob
    )
    ;
    set serveroutput on
    exec generate_rows('mytable', 10);
    select id, txt from mytable
    ;
    drop procedure generate_rows
    ;
    drop table mytable purge
    ;
    
    Procedure GENERATE_ROWS compiled
    Table MYTABLE created.
    PL/SQL procedure successfully completed.
    
    insert into mytable (id,txt,tstz,dt,xml) select dbms_random.value(1,4),dbms_random.string('a',10),systimestamp,sysdate,NULL from dual connect by level <= :p_count
            ID TXT
    ---------- ----------
             3 WnSbyiZRkC
             2 UddzkhktLf
             1 zwfWigHxUp
             2 VlUMPHHotN
             3 adGCKDeokj
             3 CKAHGfuHAY
             2 pqsHrVeHwF
             3 FypZMVshxs
             3 WtbsJPHMDC
             3 TlxYoKbuWp
    
    10 rows selected
    
    Procedure GENERATE_ROWS dropped.
    Table MYTABLE dropped.
    

    and here is the vision of Tom Kyte for the same https://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:2151576678914

    Edit: to improve my code, it must use p_count as bind as Tom.

  • Control Panel and search functionality in Windows 8 close automatically and return to high office; Computer is not compatible with Win 8.1

    I had a problem with Windows 8...  Problem started after several requests of "upgrading to Windows 8.1, I succumbed.  Windows 8.1 was not compatible with my hard drive.  Screen kept flickering.  MS supports finally told me that there is an incompatibility problem.  We have restored the Win 8.  They have me do not upgrade.  But never told me how to avoid invitations.  The problem is finally updated on its own and now after wiping everything 3 times and reinstall my software, I tried to go into the control panel to find where I can disable the automatic upgrade.

    The problem I have now is I can't have in Control Panel or the search function.  Whenever I click on it, a screen appears, and then closes and I'll be back on the desktop.

    My questions:

    How can I fix the problem where the control panel automatically closes?  Can it be done without reinstalling Win 8 for the 4th time?

    Assuming I'm correct, how can I prevent the automatic upgrade to 8.1 Win forever?

    It would have been nice if MS had designed the upgrade to first check the computer to see if she had all the necessary drivers and was otherwise compatible with 8.1 and then if not to prevent the upgrade.  It would have saved me countless hours to deal with this problem.  I'll think twice before getting a computer with windows again.

    If you are not running this time then Windows 8.1 is not the reason why the Panel closes.  This type of problem is almost always a virus or malware, but can also be caused by other programs that are in conflict.  So I'd start first by asking, you run 8.0 at this time?  If so, the closing Control Panel problem is due to corruption or an infection. If you are reasonably sure that you do not have a virus (run scans), so I'll try to remove all recent programs have been installed at the beginning of the question, try to see what is happening in Mode safe mode (hold SHIFT when you click the Restart option to get there).

  • replacement selection on 2 columns and return more than 1 column lists

    Hello

    I try to build 2 other selection lists and each selection list should return more than 1 column

    2 PART_ID and PART_SPECIFICATION columns

    Now I build a select on PART_ID as list

    Select part_id d, part_id parts r;

    The result should be:

    PART_ID and PART_SPECIFICATION a PART_ID column must be the text of PART_SPECIFICATION

    The selection based on PART_SPECIFICATION list should be like

    Select d, part_id parts r part_specification;

    Now, it should be posted part_specification in PART_SPECIFICATION and part_id in PART_ID.

    This is because a user knows the part_id and the other knows only the specification

    Please help me

    Siegwin

    Hi Siegwin,

    Check your application Page 7 (copy of the 500 page) using the selection instead of plugin list, it gives all the values.

    and works very well,

    use ajax process to get the Xml data in page elements

    Here are the changes

    application process: getData

    point of application: TEMPORARY_APPLICATION_ITEM

    create a function in the html header pull_multi_value() page

    and he gave the floor to point page p7_empno on the attribute of the html form element as onchange = "pull_multi_value (this.value)"; ""

    This can help you.

    Leave.

  • Flow for the PS to HAVE and return

    Hello

    I make pictures showing signs of signlanguage.

    I have everything first to record a video of the sign in Premiere Pro, then get one or several images of PP

    Save as jpg

    Open in PhotoShop

    Make some adjustments

    .. .and then: I need to get one or several good arrows showing the direction of hands on this sign.

    For this, it seems that Illustrator is better than the PS, but what is the best medium I terms of formats etc. to do export / import in the good sense?

    I need to keep the size of the original image.

    I found no instructions on this, but it might be there somewere...

    Thanks in advance,

    Håkan

    I almost forgot, another reason to cut first in the workflow is that you can import your video images directly into Photoshop and save a whole step.  Go to file - import - images to layers.  Select the layers you want to retain and export save as PSD files for work in Illustrator.

  • Exchange Mail store search reconciliation returns more values

    Hi guys,.

    I ran the calendar "Exchange Mail store search reconciliation" and returned the value of the store of e-mail successfully. Now I run again but not return values. Values existed on the Lookup.ExchangeReconciliation.MailStore has been cleaned.

    I need these values to provision an Exchange user. Is this ok?

    Thank you

    Can you check if the FQDN Admin: cn = oimuser, cn = Users, dc is contoso, dc = com has read access appropriate to the node "CN = Microsoft Exchange, CN = Services, CN = Configuration, dc is contoso, dc = com"?
    You can use any LDAP browser to check if you can register all these entries under this node.

  • Is it possible to get the total value of column and set to another area

    Hello

    Is it possible to get the total value of a particular column, and assign this value to another discipline?

    How to do this?

    Thanks in advance,
    SAN

    Hi SAM,

    If your controller class throw this message it means that it works very well. Follow these steps, I hope this will solve your problem.

    1 check the following

    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    OAViewObject ratvo = (OAViewObject) am.findViewObject("*CompetenceElementsVO*"); It should be the name of the instance instead of the name Physics vo vo.
    OAViewObject valuevo = (OAViewObject) am.findViewObject("*PerRatingLevelsVO*");

    2. extend this controller class that is associated with this region.

    I hope it will work now.

    Haroon.

  • End of the file has detected the error for more than one column of a PDM file playback

    Hello fans of LabVIEW,.

    I write the data in several columns of a PDM file. After that, I would like to read the data in each column to treat it.

    writing data works without any problem, if I get a PDM file with say 4 columns of data. When I try to read these columns now, LabVIEW always gives me error 4 "end of file" for all but a PDM read functions. Regardless of the number of columns I've read or how big they are, its still the same. LabVIEW reads a column and gives the error for all other tdms read functions.

    Does anyone has an idea how to solve this problem?

    A picture of my VI and the error is attached.

    Pls find attached extract

  • Windows 8 complete LockOut - search online for this 0xc0000218 error!

    I need my data and their very important data on my hard drive

    I have no restore points!

    It is the drama:

    I just shut down my pc after hours of hard work! When I came back to run something very frustrating was possible without reason! :

    MICROSOFT WINDOWS 8 here go us:

    :(

    Your pc has encountered a problem and needs to restart, we are only collecting the error information and then we'll restart for you (100% full) / / it does not restart even!

    If you want to learn more, you can search online later to this error: 0xc0000218

    Now, here's the thing:

    Auto repair can not solve the problem.

    Refresh your PC without affecting your files don't DO NOT WORK

    (There was a problem of refresh of your PC without modifications were made)

    I need to log in my office just once more to get my data then it's ok if the sky is falling! I NEED MY DATA... and I am panicking!

    Search online for the discovered 0xc0000218 error code it is linked to a problem/corruption of the registry.

    Found solutions on fixing registry ONLY for WINDOWS XP and I don't want to follow what is old and outdated and can break things more far.

    so please post any solution that won't cause loss of data, I agree with making cmd!

    The first thing you need to do is to backup your data. You have a Linux CD or an other operating system, you can start? pendrivelinux.com has a good solution to make Linux bootable thumb drives. If you think that you get a Linux CD drive or thumb, you can start on Linux and just browse your hard drive and copy your files and documents using regular file manager.

    If you don't think you can handle that, I call a computer repairman and ask if you can have your documents copied on DVD or backup disk.

    The next thing you need to do is get Windows 8 rerun. If you have a CD, you need to "Refresh" your pc. Then start using the Win8 CD and follow the prompts.

    There is another option. If you look on Ebay, you can find cheap usb connectors SATA. Get out of your hard drive, plug in the adapter and plug the usb end into your computer else and just read the disc from there.

Maybe you are looking for