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

Tags: iWork

Similar Questions

  • Compare multiple columns and update a column based on the comparison

    Hi all

    I have to update the column STATUS of the slot structure of the table.

    Status should be 'P' if all the columns count are equal on the other should be "F".

    The value of the column can be "NA'. If the value is NA, then avoid this comparison column; compare only other 3 columns.

    My output should look like below.

    State of cnt1, cnt2 cnt3 ID cnt4

    1   4       4       4     4       P

    2   4       5       4     4       F

    3 4 4 NA 4 P

    NA 4 4 3 4

    I tried with the statemnt with BOX WHEN conditions and DECODE UPDATE, but could not succeed, can someone please help

    To do this, if you use my statement in response #11 box (Re: Re: comparison of multi-column and update a column based on the comparison of)

  • Use a 2d array to populate a drop-down list box and return a different value.

    I am very new to Labview. I tried to write a VI which reads in 3 columns of data from a spredsheet excel (.csv) as an array of strings. I was able to understand it and then isolated the 2nd and 3rd column to transform data in double format. I want to do is use a list box dropdown refrence the 2nd column of data and find the 3rd so that it can be multiplied by my waveform in post processing. I want to make it easy for the user to configure the sensitivity of the gauge. I enclose my VI and an example of data that I'm reading in. Please give me a helping hand.

    Thank you

    montoya51


  • Compare two columns and get the percentage of cells that match

    Hello

    I'm looking to take two columns of data from different tables in the same document, which should have a high enough percentage of boxes and have another cell tabulate the corresponding percentage. I can the of seem to figure out how to do this, but it seems really possible.

    Any help is greatly appreciated.

    Thank you!

    C1 = A1 = B1

    It's shorthand dethrone select cell C1 and type (or copy and paste it here) the formula:

    = A1 = B1

    Select cell C1, copy

    Select the column C, paste

    Select cell E2, and then type 'TRUE '.

    Select cell E3 and then type "FALSE".

    F2 = COUNTIF ($C, E2)

    F3 = COUNTIF ($C, E3)

    G2 = F2÷SUM(F$2:F$3)

    G3 = F3÷SUM(F$2:F$3)

  • CSS3 multiple columns and Internet Exploder

    I have developed a web page that needs a two column layout and has decided to use CSS3 to describe the columns: very simple:

    {.twocol}

    border-style: solid;

    border width: 7px;

    border-color: #0476ac;

    -webkit-border-radius: 20px;

    -moz-border-radius: 20px;

    border-radius: 20px;

    -moz-column-count: 2;

    -moz-column-gap: 20px;

    -webkit-column-count: 2;

    -webkit-column-gap: 20px;

    number of columns: 2;

    column interval: 20px;

    padding: 10px;

    height: 300px;

    }

    CSS bold described the two-column layout that I want.

    Looked in Internet Exploiter version 9 and it failed. And, since the text was missing I did the 'old skool' method:

    {.colLeft}

    Width: 410px;

    }

    {.colRight}

    Width: 410px;

    float: right;

    }

    Then in HTML:

    < section class = "twocol" >

    < div class = "colRight" >

    < p > right column of things comes here < /p >

    < / div >

    < div class = "colLeft" >

    Insert here the stuff left column < p > < /p >

    < / div >

    < / section >

    I have commented things in "BOLD" in my style sheet.

    Here's my question:

    Since I'm on the HTML5 Shiv, shouldn't that have created the support for multiple columns in CSS3 declarations or is it simply too complex?

    HTML5 Shiv, as its name suggests, is strictly for the support of HTML5 tags in pre - IE9.  It will not help you with CSS level 3.

    Nancy O.

  • 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

  • How to do a function with the same argument multiple times and return values in the variables?

    The problem I have is that I have created a function that is really kind of database.  Basically, a bunch of:

    If (a.value == 'number') {}

    b.value = "this expression."

    }

    Inside of the shape are 2 drop-down lists that return numeric values I want to process through this function and the value of return inside separate variables.

    var a = this.getField ("OPE003. EVEN.1.MIP");

    MIP (a);

    var Result1 = Mip();

    I tried to smash * a * to treat the second field

    a = this.getField ("OPE003. EVEN.2.MIP");

    MIP (a);

    var Result2 = Mip();

    Result1 and result2 are placed in an array, joined as a string.

    In doing so, I always get the last treatment twice more than the final result.

    Can I use a function as a batch processor that way?

    You're right, I changed the code to what you said, but how to pass another value by my function so I can get Result1 and Result2?

    is it

    var a = this.getField ("OPE003. EVEN.1.MIP");

    var b = this.getField ("OPE003. EVEN.2.MIP");

    Result1 var = Mip (a);

    var Result2 = Mip (b);

    var c = new Array [performance(1), result2]

  • 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.

  • 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;
    
  • How to make a percentage of the value of a column and then insert this value in a column

    The table below should be the result I want to achieve. This means according to what value is in Column1 which corresponds to the percentage and what value is in Column2. Column1 will make a percentage of Column2. Like 80% of 1000 = 800, what will change in Column2 of 2nd record.

    Currently my code only select the current record and insert another copy that will duplicate the same record. But now I need to calculate and replace the values in column 2 according to the perentage. I did not have my code select here because I'm afraid of you all will get confused. I only put my code insert here, pls tell me how to make the formula in the code for the percentage of Column2 thanks.

    Orginal 1st record->                                                 column1 column2 
                                                                          
    80   1000  

    Inserted copy records which is 2nd record
    (what I want to achieved)   column1 column2 
                                                                          
    80   800


    My codes

     INSERT INTO table1 (column1, column2) VALUES (tran.column1, tran.column2);

    Did it using this, thanks.

    INSERT INTO table1 (column1, column2) VALUES (tran.column1, tran.column2 * tran.column1 / 100 );

  • Drop undo tablespace, but not open (the and df display different value) space

    Hi guys,.

    I just change my cancellation and drop the previous 1.

    create tablespace undo UNDOTBS4 DATAFILE ' / u03/oradata/starhub/undotbs4.dbf' size 2g;

    Created tablespace.

    SQL > ALTER SYSTEM SET UNDO_TABLESPACE = undotbs4;

    Modified system.

    SQL > drop tablespace undotbs3 including content and data files;

    Tablespace has fallen.

    SQL >

    However, when I check my disk space using df - h, it always shows. 32 gig is used. where infact, only 30G must be used.

    71G 32 G G 37, 47% /u03

    When I check using the - h, is to show only
    30 g. / oradata

    ---------------------------

    I have to bounce the database to get my 2G rear, why?
    Is anyway to get my 2G without bouncing the DB?

    Kind regards
    Noob

    Oracle has the file open, so the inode of the file is still in use, then the file will appear.

    Learn your Unix!

    --------------
    Sybrand Bakker
    Senior Oracle DBA

  • Same display and return in a LOV value

    Hello

    I have a project referenced by change_name name.

    I have the table using the values of change_name, now in the shape I want to display the value of change_name can be in a shuttle or the list manager.

    The problem, I can not display and return the same value of a LOV.

    The code is :-d Select distinct (change_name), separate (change_name) r QLM_project

    This code gives me an error message indicating that the display value and the return value has different verses.

    Thank you
    Rakesh

    Hi Rakesh,

    It is perfectly possible to have the same performance and display the value in a LOV.
    The problem here is your query; It is syntactically incorrect.

    Try this query:

    select distinct change_name d, change_name r from qlm_project  
    

    Good luck
    Nick

  • Numbers - return a Max Value if the Date is

    Hello.

    I am currently working with a numbers Document that records digital data on a specific day, often return several bits of data for any given day.

    I am trying to create a function that finds all data entered on this day there and returns the maximum value.

    Annoyingly, I was able to create a very similar function to the sum of all data entered the day with a D2 = SUMIF(A,A2,B) below,

    Day County Total of days Day Max
    19/2 50 SUMIF(Day,19/2,Count) returns 85 Must return 50
    19/2 35 SUMIF(Day,19/2,Count) returns 85 Must return 50
    20/2 62 SUMIF (day, 20/2, Count) returns 62 Must return 62

    If someone could suggest how to return the required result, or wants to clarify the problem, please let me know.

    Thank you.

    I offer a way to simplify the problem:

    If you allow multiple entries on the same line for a day then it really makes it easy.

    K2 = COUNTA(B2:J2)

    L2 = SUM (B2:J2)

    M2 = MAX (B2:J2)

    Select K2 they M2, copy

    Select the K2 cells through the last cell in column M, dough

  • Different values of Excitation in the same spot

    Hello

    I am trying to acquire signals of pressure two sensors of pressure simultaneously using DAQ Assistant. I use an Ethernet NI DAQ with the NI 9237 Module chassis. One of the transducers requires a voltage of 10 vdc, while the other transducer requires 5 vdc excitation. I created a task DAQ Assistant with two channels (one for each transducer). When I run the VI, it returns the following error:

    Error-200257 occurred to the DAQ Assistant

    Possible reasons:

    Property of excitement must be the same for the related physical channels.

    Refer to the documentation for more information on the definition of excitement through the related physical channels.

    Conflicting properties

    Property: AI. Excit.Src
    Value: Internal

    Property: AI. Excit.Val
    Value: 10.0

    Channel name: Pressure_1

    It looks like using different excitations causing the problem. Can you please help me solve this problem in order to acquire simultaneous action of the two sensors and provide the necessary excitement for each of them.

    Aaron_W

    Thank you for your response. Based on what you posted and I expected different values of excitement are at the origin of the problem. However, I am always looking for another solution instead of buying an additional module because it is quite expensive for a student like me.

  • How to change the font, color line, column and Grand Total labels in PivotTable

    Hello Guru

    Can you get it some one please let me know how to change the look and feel of the reports in Pivot table using css files. I want to have the dimension and the measure to be of different color columns and grand total different color. I want to achieve for all pivot table reports instead of manually change each report so I want to do in css files.under s_SRIKI\b_mozilla_4\views.css I've seen a lot of options but nothing has worked. So can you please exactly tell what class we need to change to make changes. Thank you!!!

    Thank you

    SR

    For values

    . OORT {}

    text-align: right;

    vertical-align: top;

    color: Red;

    }

    For the product if you got hyper link

    Code OOB is

    . PTL {}

    color: #039;

    text-decoration: none;

    cursor: pointer;

    }

    If brand aid

Maybe you are looking for