Hello everyone,
I think I've been working on Excel formulas too much today and my brain is possibly switching off, as, for the life of me, I cannot get it to do what I want it to do!
Using Excel 2007, I have a workbook containing 2 sheets.
<b></b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">Reference</td><td style=";">Description</td><td style=";">Instock</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;">1234</td><td style=";">Item1</td><td style="text-align: right;;">10</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;">5678</td><td style=";">Item2</td><td style="text-align: right;;">15</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="text-align: right;;">4321</td><td style=";">Item3</td><td style="text-align: right;;">20</td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;;">8765</td><td style=";">Item4</td><td style="text-align: right;;">25</td></tr></tbody></table><p style="width:5,4em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Inventory</p><br /><br />
<b></b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">OrderDate</td><td style=";">OrderQty</td><td style=";">Description</td><td style=";">Reference</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;">01-Jan</td><td style="text-align: right;;">2</td><td style="text-align: right;;"></td><td style="text-align: right;;">8765</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;">01-Jan</td><td style="text-align: right;;">4</td><td style="text-align: right;;"></td><td style="text-align: right;;">5678</td></tr></tbody></table><p style="width:5,4em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">OrderForm</p><br /><br />
What I want is pretty simple (or so I thought it would be...)
I want to populate Cell C2 on OrderForm with the Description that matches the relevant reference number, which is somewhere in Column A, in Inventory.
I tried using a VLOOKUP formula but it errored out on me.
=VLOOKUP(D3;Inventory!A2:A5;3;FALSE)
Obviously, the example listed here is a very simplified version, as my inventory table has roughly 400ish rows of unique reference numbers and corresponding unique descriptions.
Clearly, either I'm missing something on the Vlookup formula, or I'm just getting it all wrong. Could you suggest the correct formula for me to do this?
Thanks in advance,
Bru
I think I've been working on Excel formulas too much today and my brain is possibly switching off, as, for the life of me, I cannot get it to do what I want it to do!
Using Excel 2007, I have a workbook containing 2 sheets.
<b></b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">Reference</td><td style=";">Description</td><td style=";">Instock</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;">1234</td><td style=";">Item1</td><td style="text-align: right;;">10</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;">5678</td><td style=";">Item2</td><td style="text-align: right;;">15</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="text-align: right;;">4321</td><td style=";">Item3</td><td style="text-align: right;;">20</td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;;">8765</td><td style=";">Item4</td><td style="text-align: right;;">25</td></tr></tbody></table><p style="width:5,4em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Inventory</p><br /><br />
<b></b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">OrderDate</td><td style=";">OrderQty</td><td style=";">Description</td><td style=";">Reference</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;">01-Jan</td><td style="text-align: right;;">2</td><td style="text-align: right;;"></td><td style="text-align: right;;">8765</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;">01-Jan</td><td style="text-align: right;;">4</td><td style="text-align: right;;"></td><td style="text-align: right;;">5678</td></tr></tbody></table><p style="width:5,4em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">OrderForm</p><br /><br />
What I want is pretty simple (or so I thought it would be...)
I want to populate Cell C2 on OrderForm with the Description that matches the relevant reference number, which is somewhere in Column A, in Inventory.
I tried using a VLOOKUP formula but it errored out on me.
=VLOOKUP(D3;Inventory!A2:A5;3;FALSE)
Obviously, the example listed here is a very simplified version, as my inventory table has roughly 400ish rows of unique reference numbers and corresponding unique descriptions.
Clearly, either I'm missing something on the Vlookup formula, or I'm just getting it all wrong. Could you suggest the correct formula for me to do this?
Thanks in advance,
Bru