Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>To make the values appear in the Sheet 2 table, use the following formula:</p> <pre><code>=SUMPRODUCT(--($A$2:$A$7=E2),--($B$2:$B$7=$F$1),$C$2:$C$7) </code></pre> <p><img src="https://i.stack.imgur.com/1dOK0.png" alt="enter image description here"></p> <p>This returns <code>0</code> for non-matches - you can either format the cells to display 0 how you want, or you can use the longer/uglier:</p> <pre><code>=IF(SUMPRODUCT(--($A$2:$A$7=E2),--($B$2:$B$7=$G$1),$C$2:$C$7)&lt;&gt;0,SUMPRODUCT(--($A$2:$A$7=E2),--($B$2:$B$7=$G$1),$C$2:$C$7),"-") </code></pre> <hr> <p>To calculate the rank on the first sheet based on the data from the second sheet:</p> <pre><code>=VLOOKUP(A2,$F$2:$H$5,MATCH(B2,$G$1:$H$1,0)+1,FALSE) </code></pre> <p>For sample purposes, this just put your sheet2 data in F1:H5. <img src="https://i.stack.imgur.com/rDgZw.png" alt="enter image description here"></p> <p>This looks for the corresponding keyword and then uses match to pick the right column. I named the columns <code>Z</code> and <code>Y</code>, but if you need <code>Domain</code> included that can be done as well. Note that this causes an error since there is no <code>E</code> defined in your second table - is that the case? If so, it can be adjusted to account for no matches as follows (assuming Excel 2007):</p> <pre><code>=IFERROR(VLOOKUP(A6,$F$2:$H$5,MATCH(B6,$G$1:$H$1,0)+1,FALSE),"Rank Not Found") </code></pre> <p><img src="https://i.stack.imgur.com/VGAt5.png" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload