Return a Value from Multiple Criteria eg between 2 dates

Humanoj

New Member
Joined
Aug 12, 2015
Messages
5
I have two tables on separate sheets. One table needs to return the value of the product purchased for a specific date. I am trying to use the formula =INDEX(Sheet1!$a$2:$d$5,MATCH(B2,Sheet1!$b$2:$b$5,0),2) but I think it is only a criteri for the customer and none for the date. Can you help me with this? Thanks.

ABCD
1CustomerProductStart DateEnd Date
2AShampoo8/1/20158/3/2015
3Bsoap8/1/20158/3/2015
4CTowel8/1/20158/30/2015
5Asoap8/7/20158/31/2015
6Bshampoo8/15/20158/31/2015
Sheet1

<tbody>
</tbody>


ABCD
1DateCustomerTotalProduct
22-Aug-15A5 =INDEX(Sheet1!$a$2:$d$5,MATCH(B2,Sheet1!$b$2:$b$5,0),2)
31-Aug-15B3
420-Aug-15C6
510-Aug-15A8
619-Aug-15B2
Sheet2

<tbody>
</tbody>
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,213,490
Messages
6,113,957
Members
448,535
Latest member
alrossman

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