index match vlookup hlookup date month dilemma

twl2009

Board Regular
Joined
Jan 7, 2016
Messages
247
Hi, I am trying to find a way to search a large sheet of data and then sum the values based on two criteria.
For example I need to return the sum of colB for each Orange in colC in the month of "Jul" colA, IE 3 in this case.
The month will be expressed MMM, but colA will be as below.
Is this possible with a combo of index match and lookup?



_____A_____B___C
1 2018-08-03 3 Orange
2 2018-07-18 1 Pear
3 2018-07-09 2 Orange
4 2018-07-03 1 Orange
5 2018-06-27 1 Pear
6 2018-06-01 2 Orange

Thanks Twl
 
Last edited:

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Exactly, except col A has date fields 'yyyy-mm-dd', but the value to lookup, IE july, will be in another cell, lets say D1 and will be MMM. Is that possible?
 
Upvote 0

Forum statistics

Threads
1,223,250
Messages
6,171,036
Members
452,374
Latest member
keccles

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