delamerespartan
New Member
- Joined
- Jun 3, 2014
- Messages
- 2
Hi, apologies in advance if this question is very basic. I'm using Excel 2010 and want to lookup a range of data based on a set criteria (Item number or description) and return the lowest unit rate for the item (5th Column). I have a huge dataset (thousands of rows) and want a formula to copy down the column for speed.
[TABLE="width: 453"]
<TBODY>[TR]
[TD]Item number</SPAN>[/TD]
[TD]Item name</SPAN>[/TD]
[TD]Invoiced quantity - basic unit</SPAN>[/TD]
[TD]Total Order value £</SPAN>[/TD]
[TD]unit rate</SPAN>[/TD]
[TD]Lowest Rate</SPAN>[/TD]
[/TR]
[TR]
[TD]1000000123</SPAN>[/TD]
[TD]Widget 1</SPAN>[/TD]
[TD]34</SPAN>[/TD]
[TD]£180.00</SPAN>[/TD]
[TD]5.29</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]3</SPAN>[/TD]
[TD]£38.00</SPAN>[/TD]
[TD]12.67</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]6</SPAN>[/TD]
[TD]£85.00</SPAN>[/TD]
[TD]14.17</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]25</SPAN>[/TD]
[TD]£330.00</SPAN>[/TD]
[TD]13.20</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]3</SPAN>[/TD]
[TD]£40.00</SPAN>[/TD]
[TD]13.33</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]1</SPAN>[/TD]
[TD]£13.00</SPAN>[/TD]
[TD]13.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]4</SPAN>[/TD]
[TD]£53.00</SPAN>[/TD]
[TD]13.25</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]1</SPAN>[/TD]
[TD]£16.00</SPAN>[/TD]
[TD]16.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]7</SPAN>[/TD]
[TD]£112.00</SPAN>[/TD]
[TD]16.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]53</SPAN>[/TD]
[TD]£851.00</SPAN>[/TD]
[TD]16.06</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]3</SPAN>[/TD]
[TD]£48.00</SPAN>[/TD]
[TD]16.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]2</SPAN>[/TD]
[TD]£31.00</SPAN>[/TD]
[TD]15.50</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]1</SPAN>[/TD]
[TD]£16.00</SPAN>[/TD]
[TD]16.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]5</SPAN>[/TD]
[TD]£80.00</SPAN>[/TD]
[TD]16.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]10</SPAN>[/TD]
[TD]£158.00</SPAN>[/TD]
[TD]15.80</SPAN>[/TD]
[TD][/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL><COL><COL span=2></COLGROUP>[/TABLE]
[TABLE="width: 453"]
<TBODY>[TR]
[TD]Item number</SPAN>[/TD]
[TD]Item name</SPAN>[/TD]
[TD]Invoiced quantity - basic unit</SPAN>[/TD]
[TD]Total Order value £</SPAN>[/TD]
[TD]unit rate</SPAN>[/TD]
[TD]Lowest Rate</SPAN>[/TD]
[/TR]
[TR]
[TD]1000000123</SPAN>[/TD]
[TD]Widget 1</SPAN>[/TD]
[TD]34</SPAN>[/TD]
[TD]£180.00</SPAN>[/TD]
[TD]5.29</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]3</SPAN>[/TD]
[TD]£38.00</SPAN>[/TD]
[TD]12.67</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]6</SPAN>[/TD]
[TD]£85.00</SPAN>[/TD]
[TD]14.17</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]25</SPAN>[/TD]
[TD]£330.00</SPAN>[/TD]
[TD]13.20</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]3</SPAN>[/TD]
[TD]£40.00</SPAN>[/TD]
[TD]13.33</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]1</SPAN>[/TD]
[TD]£13.00</SPAN>[/TD]
[TD]13.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000124</SPAN>[/TD]
[TD]Widget 2</SPAN>[/TD]
[TD]4</SPAN>[/TD]
[TD]£53.00</SPAN>[/TD]
[TD]13.25</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]1</SPAN>[/TD]
[TD]£16.00</SPAN>[/TD]
[TD]16.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]7</SPAN>[/TD]
[TD]£112.00</SPAN>[/TD]
[TD]16.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]53</SPAN>[/TD]
[TD]£851.00</SPAN>[/TD]
[TD]16.06</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]3</SPAN>[/TD]
[TD]£48.00</SPAN>[/TD]
[TD]16.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]2</SPAN>[/TD]
[TD]£31.00</SPAN>[/TD]
[TD]15.50</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]1</SPAN>[/TD]
[TD]£16.00</SPAN>[/TD]
[TD]16.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]5</SPAN>[/TD]
[TD]£80.00</SPAN>[/TD]
[TD]16.00</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1000000125</SPAN>[/TD]
[TD]Widget 3</SPAN>[/TD]
[TD]10</SPAN>[/TD]
[TD]£158.00</SPAN>[/TD]
[TD]15.80</SPAN>[/TD]
[TD][/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL><COL><COL span=2></COLGROUP>[/TABLE]