Help!!! Than you so much

adikoldskool

New Member
Joined
Feb 2, 2011
Messages
13
SHEET 1 (COLUMN A : COLUMN E)
*
DATE SERIAL CODE CODE NO TOTAL BOX
01/03/2010 FN FN001 23

*
*
SHEET 2 (COLUMN A: COLUMN D)
*
Box no Serial Code Date Range Date Range
35 FN 01/11/2009 30/11/2010
45 EN 01/03/2010 18/07/2010
46 FN 26/07/2010 31/10/2010

*
*
*
I'm having problem in finding the box no located at another sheet. Is there any formula that can return me the correct box no of the item located at sheet 1
but the date as well as the serial code*must match with the date range of sheet 2. Thank you so much.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
<b>Excel 2007</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=";">Box no</td><td style=";">Serial Code</td><td style=";">Date Range</td><td style=";">Date Range</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;">35</td><td style=";">FN</td><td style="text-align: right;;">01/11/09</td><td style="text-align: right;;">30/11/10</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;">45</td><td style=";">EN</td><td style="text-align: right;;">01/03/10</td><td style="text-align: right;;">18/07/10</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="text-align: right;;">46</td><td style=";">FN</td><td style="text-align: right;;">26/07/10</td><td style="text-align: right;;">31/10/10</td></tr></tbody></table><p style="width:3.6em;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">Sheet2</p><br /><br />

<b>Excel 2007</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 /><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><th>E</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">Date</td><td style=";">Serial Code</td><td style=";">Code No</td><td style=";">Total</td><td style=";">Box</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="text-align: right;;">01/03/10</td><td style=";">FN</td><td style=";">FN001</td><td style="text-align: right;;">23</td><td style="text-align: right;;">35</td></tr></tbody></table><p style="width:3.6em;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">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Array Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #A6AAB6"><thead><tr style=" background-color: #E0E0F0;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">E2</th><td style="text-align:left">{=INDEX(<font color="Blue">Sheet2!$A$2:$A$4,MATCH(<font color="Red">1,(<font color="Green">Sheet2!$B$2:$B$4=B2</font>)*(<font color="Green">Sheet2!$C$2:$C$4<A2</font>)*(<font color="Green">Sheet2!$D$2:$D$4>A2</font>),0</font>)</font>)}</td></tr></tbody></table><b>Entered with Ctrl+Shift+Enter.</b> If entered correctly, Excel will surround with curly braces {}.
<b>Note: Do not try and enter the {} manually yourself</b></td></tr></table><br />
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,497
Members
448,967
Latest member
visheshkotha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top