sumproduct or countA, but how :)

zyuth

New Member
Joined
Sep 7, 2019
Messages
4
[TABLE="width: 154"]
<colgroup><col span="2"></colgroup><tbody>[TR]
[TD]Fruits[/TD]
[TD]Years[/TD]
[/TR]
[TR]
[TD]apple[/TD]
[TD="align: right"]2018[/TD]
[/TR]
[TR]
[TD]apple[/TD]
[TD="align: right"]2018[/TD]
[/TR]
[TR]
[TD]orange[/TD]
[TD="align: right"]2018[/TD]
[/TR]
[TR]
[TD]banana[/TD]
[TD="align: right"]2018[/TD]
[/TR]
[TR]
[TD]peach[/TD]
[TD="align: right"]2019[/TD]
[/TR]
[TR]
[TD]grape[/TD]
[TD="align: right"]2019[/TD]
[/TR]
[TR]
[TD]apple[/TD]
[TD="align: right"]2019[/TD]
[/TR]
[TR]
[TD]melon[/TD]
[TD="align: right"]2019[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2018[/TD]
[TD="align: right"]3[/TD]
[/TR]
</tbody>[/TABLE]

hi i got this case, can you help me out for the formula? as u can see the answer is 3, but when i change to 2019 the answer is 4. thanks
 
oh.. you are too specific by putting apple on it. what i want is how much fruit type in 2018 (or base on year that i will put)

I guess, "eating an Apple before going to bed and you"ll keep away the doctor from eating his bread"
 
Last edited:
Upvote 0

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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