I need get output using excel formuals

Aravindnantha

New Member
Joined
Apr 27, 2019
Messages
2
I Want to get Product value on below table using Excel formula



[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]

<colgroup><col width="73"></colgroup><tbody>
[TD="class: xl65, width: 73, align: right"]01-01-2016
[/TD]

</tbody>
[/TD]
[TD][TABLE="width: 73"]
<colgroup><col width="73"></colgroup><tbody>[TR]
[TD="class: xl65, width: 73, align: right"]01-03-2016[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]

<colgroup><col width="73"></colgroup><tbody>
[TD="class: xl65, width: 73, align: right"]01-04-2016[/TD]

</tbody>
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Below is the source data, i have tried index match but i have duplicates on Name


<colgroup><col style="mso-width-source:userset;mso-width-alt:2669;width:55pt" width="73"> <col style="mso-width-source:userset;mso-width-alt:2011;width:41pt" width="55"> <col style="mso-width-source:userset;mso-width-alt:1609;width:33pt" width="44"> </colgroup><tbody>
[TD="class: xl65, width: 73"]Date
[/TD]
[TD="class: xl65, width: 55"]Product
[/TD]
[TD="class: xl65, width: 44"]Name
[/TD]

[TD="class: xl66"]01-01-2016
[/TD]
[TD="class: xl65"] 60
[/TD]
[TD="class: xl65"]A
[/TD]

[TD="class: xl66"]01-01-2016[/TD]
[TD="class: xl65"] 54
[/TD]
[TD="class: xl65"]B
[/TD]

[TD="class: xl66"]01-01-2016[/TD]
[TD="class: xl65"] 40
[/TD]
[TD="class: xl65"]C
[/TD]

[TD="class: xl66"]01-01-2016[/TD]
[TD="class: xl65"] 60
[/TD]
[TD="class: xl65"]D
[/TD]

[TD="class: xl66"]01-03-2016[/TD]
[TD="class: xl65"] 47
[/TD]
[TD="class: xl65"]A
[/TD]

[TD="class: xl66"]01-03-2016[/TD]
[TD="class: xl65"] 39
[/TD]
[TD="class: xl65"]B
[/TD]

[TD="class: xl66"]01-03-2016[/TD]
[TD="class: xl65"] 46
[/TD]
[TD="class: xl65"]C
[/TD]

[TD="class: xl66"]01-03-2016[/TD]
[TD="class: xl65"] 42
[/TD]
[TD="class: xl65"]D
[/TD]

[TD="class: xl66"]01-02-2016[/TD]
[TD="class: xl65"] 37
[/TD]
[TD="class: xl65"]A
[/TD]

[TD="class: xl66"]01-02-2016[/TD]
[TD="class: xl65"] 53
[/TD]
[TD="class: xl65"]B
[/TD]

[TD="class: xl66"]01-02-2016[/TD]
[TD="class: xl65"] 25
[/TD]
[TD="class: xl65"]C
[/TD]

[TD="class: xl66"]01-02-2016[/TD]
[TD="class: xl65"] 46
[/TD]
[TD="class: xl65"]D
[/TD]

[TD="class: xl66"]01-04-2016[/TD]
[TD="class: xl65"] 49
[/TD]
[TD="class: xl65"]A
[/TD]

[TD="class: xl66"]01-04-2016
[/TD]
[TD="class: xl65"] 47
[/TD]
[TD="class: xl65"]B
[/TD]

[TD="class: xl66"]01-04-2016[/TD]
[TD="class: xl65"] 46
[/TD]
[TD="class: xl65"]C
[/TD]

[TD="class: xl66"]01-04-2016
[/TD]
[TD="class: xl65"] 27
[/TD]
[TD="class: xl65"]D
[/TD]

</tbody>

Kindly advise
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
If you will only have one match for both name & date try


Excel 2013/2016
ABCDEFGH
1DateProductName01/01/201601/03/201601/04/2016
201/01/201660AA604749
301/01/201654BB543947
401/01/201640CD604227
501/01/201660D
601/03/201647A
701/03/201639B
801/03/201646C
901/03/201642D
1001/02/201637A
1101/02/201653B
1201/02/201625C
1301/02/201646D
1401/04/201649A
1501/04/201647B
1601/04/201646C
1701/04/201627D
List
Cell Formulas
RangeFormula
F2=SUMIFS($B$2:$B$17,$C$2:$C$17,$E2,$A$2:$A$17,F$1)
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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