<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Lookup two index columns in excel</title> <atom:link href="http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/feed/" rel="self" type="application/rss+xml" /><link>http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/</link> <description>Quality excel resource</description> <lastBuildDate>Thu, 09 Feb 2012 20:47:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Oscar</title><link>http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/comment-page-1/#comment-4544</link> <dc:creator>Oscar</dc:creator> <pubDate>Mon, 09 Aug 2010 09:46:28 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=2874#comment-4544</guid> <description>david,
You are right, the excel 2007 formula is wrong.
Thanks!</description> <content:encoded><![CDATA[<p>david,</p><p>You are right, the excel 2007 formula is wrong.</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/comment-page-1/#comment-4413</link> <dc:creator>david</dc:creator> <pubDate>Thu, 05 Aug 2010 13:21:58 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=2874#comment-4413</guid> <description>hi oscar, thanks for your feedback.
i&#039;m looking at Excel 2007 formula.
the IFERROR doesnt make any difference.
try this scenario:
1) move the B14 formula to H4
2) enter search ID = 4
3) u&#039;ll notice that it gives you the result as Green because the final formula step is =INDEX(Product,0,1) &lt;-- the peculiarity occurs because the row syntax is 0.
Excel 2003&#039;s formula works though</description> <content:encoded><![CDATA[<p>hi oscar, thanks for your feedback.</p><p>i'm looking at Excel 2007 formula.</p><p>the IFERROR doesnt make any difference.</p><p>try this scenario:</p><p>1) move the B14 formula to H4</p><p>2) enter search ID = 4</p><p>3) u'll notice that it gives you the result as Green because the final formula step is =INDEX(Product,0,1) &lt;-- the peculiarity occurs because the row syntax is 0.</p><p>Excel 2003&#039;s formula works though</p> ]]></content:encoded> </item> <item><title>By: Oscar</title><link>http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/comment-page-1/#comment-4408</link> <dc:creator>Oscar</dc:creator> <pubDate>Thu, 05 Aug 2010 11:25:13 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=2874#comment-4408</guid> <description>david,
&lt;strong&gt;Excel 2003:&lt;/strong&gt;
=IF(SUMPRODUCT(--(C10=ID_num), --(C11=OrderDate), ROW(Product)-MIN(ROW(Product))+1)=0, 0, INDEX(Product, SUMPRODUCT(--(C10=ID_num), --(C11=OrderDate), ROW(Product)-MIN(ROW(Product))+1))) + Enter
&lt;del datetime=&quot;2010-08-09T09:46:49+00:00&quot;&gt;&lt;strong&gt;Excel 2007:&lt;/strong&gt;
=IFERROR(INDEX(Product, SUMPRODUCT(--(C10=ID_num), --(C11=OrderDate), ROW(Product)-MIN(ROW(Product))+1)), 0) + Enter&lt;/del&gt;</description> <content:encoded><![CDATA[<p>david,</p><p><strong>Excel 2003:</strong></p><p>=IF(SUMPRODUCT(--(C10=ID_num), --(C11=OrderDate), ROW(Product)-MIN(ROW(Product))+1)=0, 0, INDEX(Product, SUMPRODUCT(--(C10=ID_num), --(C11=OrderDate), ROW(Product)-MIN(ROW(Product))+1))) + Enter</p><p><del
datetime="2010-08-09T09:46:49+00:00"><strong>Excel 2007:</strong></p><p>=IFERROR(INDEX(Product, SUMPRODUCT(--(C10=ID_num), --(C11=OrderDate), ROW(Product)-MIN(ROW(Product))+1)), 0) + Enter</del></p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/comment-page-1/#comment-4363</link> <dc:creator>david</dc:creator> <pubDate>Wed, 04 Aug 2010 02:55:52 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=2874#comment-4363</guid> <description>assuming there is NO MATCH for ID and OrderDate ....by evaluating the formula when it&#039;s in INDEX portion, it gets
=INDEX($D$3:$F$6,0,1) &lt;-- the row syntax=0 because there was no match.
however, it gets trickier.
if this formula is NOT within row 3-6, then it will generate an #VALUE error. (e.g. i put the formula at H8)
if i move this formula to a cell between row 3-6, the INDEX will pull the same value as per the row of the formula.
e.g. when the formula is at H4, the output is Green (D4). if formula at H5, the output is Yellow (D5).
so the question is, if there is NO MATCH for ID or OrderDate, how to output it as 0 (zero)?
thx :)</description> <content:encoded><![CDATA[<p>assuming there is NO MATCH for ID and OrderDate ....by evaluating the formula when it's in INDEX portion, it gets</p><p>=INDEX($D$3:$F$6,0,1) &lt;-- the row syntax=0 because there was no match.</p><p>however, it gets trickier.</p><p>if this formula is NOT within row 3-6, then it will generate an #VALUE error. (e.g. i put the formula at H8)</p><p>if i move this formula to a cell between row 3-6, the INDEX will pull the same value as per the row of the formula.</p><p>e.g. when the formula is at H4, the output is Green (D4). if formula at H5, the output is Yellow (D5).</p><p>so the question is, if there is NO MATCH for ID or OrderDate, how to output it as 0 (zero)?</p><p>thx <img
src='http://cdn.get-digital-help.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/comment-page-1/#comment-4336</link> <dc:creator>david</dc:creator> <pubDate>Tue, 03 Aug 2010 09:52:51 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=2874#comment-4336</guid> <description>hi oscar,
i&#039;ve tried the formula. it works but only if it&#039;s on the same sheet as the data.
if i move the formula on other sheet, it failed on the INDEX portion.
if u need a sample file, do let me know. i&#039;ll upload it somewhere for you :)
thanks!</description> <content:encoded><![CDATA[<p>hi oscar,</p><p>i've tried the formula. it works but only if it's on the same sheet as the data.</p><p>if i move the formula on other sheet, it failed on the INDEX portion.</p><p>if u need a sample file, do let me know. i'll upload it somewhere for you <img
src='http://cdn.get-digital-help.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>thanks!</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/comment-page-1/#comment-3968</link> <dc:creator>david</dc:creator> <pubDate>Wed, 21 Jul 2010 05:06:51 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=2874#comment-3968</guid> <description>thx oscar, will try this out.</description> <content:encoded><![CDATA[<p>thx oscar, will try this out.</p> ]]></content:encoded> </item> <item><title>By: Oscar</title><link>http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/comment-page-1/#comment-3954</link> <dc:creator>Oscar</dc:creator> <pubDate>Tue, 20 Jul 2010 12:41:24 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=2874#comment-3954</guid> <description>david,
1) You say you prefer the first formula:=INDEX(Product, SUMPRODUCT(--(C10=ID_num), --(C11=OrderDate), ROW(Product)-MIN(ROW(Product))+1)) + ENTER
I modified the above formula to get the other two matching cells:
=INDEX($D$3:$F$6, SUMPRODUCT(--($C$10=ID_num), --($C$11=OrderDate), ROW(ProductA)-MIN(ROW(ProductA))+1), COLUMN(A1)) + ENTER.
Copy cell and paste it to the right as far as needed.
Remember, this formula can only match one row. If multiple rows match you need another formula.
2) I think you answer your own question. If the first formula works and is reasonable fast, I´d also go with that one.</description> <content:encoded><![CDATA[<p>david,</p><p>1) You say you prefer the first formula:=INDEX(Product, SUMPRODUCT(--(C10=ID_num), --(C11=OrderDate), ROW(Product)-MIN(ROW(Product))+1)) + ENTER</p><p>I modified the above formula to get the other two matching cells:<br
/> =INDEX($D$3:$F$6, SUMPRODUCT(--($C$10=ID_num), --($C$11=OrderDate), ROW(ProductA)-MIN(ROW(ProductA))+1), COLUMN(A1)) + ENTER.</p><p>Copy cell and paste it to the right as far as needed.</p><p>Remember, this formula can only match one row. If multiple rows match you need another formula.</p><p>2) I think you answer your own question. If the first formula works and is reasonable fast, I´d also go with that one.</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://www.get-digital-help.com/2009/11/07/lookup-two-index-columns-in-excel/comment-page-1/#comment-3941</link> <dc:creator>david</dc:creator> <pubDate>Mon, 19 Jul 2010 08:00:04 +0000</pubDate> <guid
isPermaLink="false">http://www.get-digital-help.com/?p=2874#comment-3941</guid> <description>hi oscar, i have a question that expands this topic ;)
above, there are 3 columns: [ID][OrderDate][Product].
search result would be in the columne where you put the formula in. &lt;-- i call this [Result]
questions:
1) What if there are multiple columns? [ID][OrderDate][ProductA][ProductB][ProductC]?
this would output to [ResultA][ResultB][ResultC]
2) there are 3 methods above. I prefer Method 1 (plain &#039;ol formula only).
If I have 5000 (and growing) list of ID/OrderDates, which method would be practical?
thanks!</description> <content:encoded><![CDATA[<p>hi oscar, i have a question that expands this topic <img
src='http://cdn.get-digital-help.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>above, there are 3 columns: [ID][OrderDate][Product].</p><p>search result would be in the columne where you put the formula in. &lt;-- i call this [Result]</p><p>questions:</p><p>1) What if there are multiple columns? [ID][OrderDate][ProductA][ProductB][ProductC]?</p><p>this would output to [ResultA][ResultB][ResultC]</p><p>2) there are 3 methods above. I prefer Method 1 (plain &#039;ol formula only).</p><p>If I have 5000 (and growing) list of ID/OrderDates, which method would be practical?</p><p>thanks!</p> ]]></content:encoded> </item> </channel> </rss>
