<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using vhlookup on a dataset for a vector in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Using-vhlookup-on-a-dataset-for-a-vector/m-p/966986#M213232</link>
    <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset where the first column represents the index of a vector and column 2,3 and 4 the three possibilities. The first row contains the classification for a specific condition. The dataset has been manipulated to align these indices and classifications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fredericocms_0-1723918855139.png" style="width: 599px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/109298iEF662476F4C24E25/image-dimensions/599x77?v=v2" width="599" height="77" role="button" title="fredericocms_0-1723918855139.png" alt="fredericocms_0-1723918855139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My vector, for example, have this format::&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fredericocms_1-1723918872309.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/109299i8C9FFCBDF1DEB818/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fredericocms_1-1723918872309.png" alt="fredericocms_1-1723918872309.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I'm having trouble getting the vertical-horizontal lookup (VHLOOKUP) to search for each element in my vector and correctly return the value at the intersection based on the classification assigned to each vector element. Anything I tried returned 3x1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried it all from the similar post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.ptc.com/t5/Mathcad/Use-vlookup-over-a-vector/td-p/482509" target="_blank" rel="noopener"&gt;https://community.ptc.com/t5/Mathcad/Use-vlookup-over-a-vector/td-p/482509&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Prime 9 attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Aug 2024 18:28:40 GMT</pubDate>
    <dc:creator>frederico.cms</dc:creator>
    <dc:date>2024-08-17T18:28:40Z</dc:date>
    <item>
      <title>Using vhlookup on a dataset for a vector</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Using-vhlookup-on-a-dataset-for-a-vector/m-p/966986#M213232</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset where the first column represents the index of a vector and column 2,3 and 4 the three possibilities. The first row contains the classification for a specific condition. The dataset has been manipulated to align these indices and classifications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fredericocms_0-1723918855139.png" style="width: 599px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/109298iEF662476F4C24E25/image-dimensions/599x77?v=v2" width="599" height="77" role="button" title="fredericocms_0-1723918855139.png" alt="fredericocms_0-1723918855139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My vector, for example, have this format::&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fredericocms_1-1723918872309.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/109299i8C9FFCBDF1DEB818/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fredericocms_1-1723918872309.png" alt="fredericocms_1-1723918872309.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I'm having trouble getting the vertical-horizontal lookup (VHLOOKUP) to search for each element in my vector and correctly return the value at the intersection based on the classification assigned to each vector element. Anything I tried returned 3x1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried it all from the similar post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.ptc.com/t5/Mathcad/Use-vlookup-over-a-vector/td-p/482509" target="_blank" rel="noopener"&gt;https://community.ptc.com/t5/Mathcad/Use-vlookup-over-a-vector/td-p/482509&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Prime 9 attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 18:28:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Using-vhlookup-on-a-dataset-for-a-vector/m-p/966986#M213232</guid>
      <dc:creator>frederico.cms</dc:creator>
      <dc:date>2024-08-17T18:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using vhlookup on a dataset for a vector</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Using-vhlookup-on-a-dataset-for-a-vector/m-p/966990#M213233</link>
      <description>&lt;P&gt;Maybe you are looking for something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1723922165851.png" style="width: 620px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/109300i1E25E4DE80E416B3/image-dimensions/620x268?v=v2" width="620" height="268" role="button" title="Werner_E_0-1723922165851.png" alt="Werner_E_0-1723922165851.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on your needs it could be convenient to turn it into a function&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1723922229173.png" style="width: 591px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/109301iFA5DFF153390F768/image-dimensions/591x366?v=v2" width="591" height="366" role="button" title="Werner_E_1-1723922229173.png" alt="Werner_E_1-1723922229173.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, there seems to be no difference between "LOW" and "MEDIUM"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Prime 9 sheet attached&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 19:18:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Using-vhlookup-on-a-dataset-for-a-vector/m-p/966990#M213233</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-08-17T19:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using vhlookup on a dataset for a vector</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Using-vhlookup-on-a-dataset-for-a-vector/m-p/966992#M213235</link>
      <description>&lt;P&gt;I can't thank you enough, Werner. That was a brilliant solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to work much harder on programming, as it is compulsory for manipulating and extracting information from datasets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, the table is for a hazardous zone study IEC 60079-10-1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 19:37:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Using-vhlookup-on-a-dataset-for-a-vector/m-p/966992#M213235</guid>
      <dc:creator>frederico.cms</dc:creator>
      <dc:date>2024-08-17T19:37:01Z</dc:date>
    </item>
  </channel>
</rss>

