Returning Calculations based on a search function?

jencha

New Member
Joined
Nov 10, 2017
Messages
20
Hello All, thanks in advance for your help! This may be an easier task than I'm making it out to be , but here's my predicament....

I have sheet1 where I am interested in making calculations over several months for instance:

[TABLE="width: 400"]
<tbody>[TR]
[TD]Account Name[/TD]
[TD]# of 3 over 3 mos[/TD]
[TD]# 3 over 5 mos[/TD]
[/TR]
[TR]
[TD]Happy Account[/TD]
[TD]?[/TD]
[TD]?[/TD]
[/TR]
</tbody>[/TABLE]


The sheet I would be building this table off of is as follows- columns are months
[TABLE="width: 400"]
<tbody>[TR]
[TD]Account Name[/TD]
[TD]oct[/TD]
[TD]nov[/TD]
[TD]dec[/TD]
[TD]jan[/TD]
[TD]feb[/TD]
[/TR]
[TR]
[TD]OK Account[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD]8[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Happy Account[/TD]
[TD]06[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]89[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Thrilled Account[/TD]
[TD]3[/TD]
[TD]8[/TD]
[TD]6[/TD]
[TD]3[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]blah Account[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD]5[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]


How do I fill in the counts?
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Am I reading this correct?

There are NO occurrences of the number 3 for any of the Happy Account months.

Therefore, what's your expected output based on your example data?
 
Upvote 0
Maybe


Excel 2013/2016
QRSTUVWXYZ
2Account NameoctnovdecjanfebAccount Name# of 3 over 3 mos# 3 over 5 mos
3OK Account33386Happy Account00
4Happy Account658895
5Thrilled Account38638
6blah Account33523
Archive
Cell Formulas
RangeFormula
Y3=COUNTIF(INDEX(R3:T6,MATCH(X3,Q3:Q6,0),0),3)
Z3=COUNTIF(INDEX(R3:V6,MATCH(X3,Q3:Q6,0),0),3)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
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