Dates to month with if conditions

Vishaal

Well-known Member
Joined
Mar 16, 2019
Messages
543
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
  2. Web
Hi All,

Thanks in advance,

we have the following sheets

sheet1
Time and dateEmail AddressOptiontest
5-5-2020 12:52:30goldy@zyx.comcall1
5-5-2020 12:58:38vin@fdfs.comcall 2
5-5-2020 13:14:23pate@dfd.comcall1Option 1
5-5-2020 13:15:34lucy@fdfd.comcall3
5-5-2020 13:25:03goldy@zyx.comcall2
6-9-2020 10:38:38vin@fdfs.comcall
6-9-2020 16:29:31pate@dfd.comcall1
6-9-2020 13:37:21lucy@fdfd.comcall 2
6-9-2020 17:19:38goldy@zyx.comcall1
6-9-2020 17:22:23vin@fdfs.comcall3
6-9-2020 17:43:12pate@dfd.comjcall 5


sheet2
call 1
TeamNameEMail id01-April-202002-April-202002-May-202004-June-2020
IndiaGoldygoldy@zyx.com152021
IndiaVinavin@fdfs.com215200
NewzelandPatepate@dfd.com0268
NewzelandLucylucy@fdfd.com34810


sheet3
May 2020
call 1call 2call 3call 4
IndiaGoldygoldy@zyx.com
IndiaVinavin@fdfs.com
NewzelandPatepate@dfd.com
NewzelandLucylucy@fdfd.com


we want to do following in sheet 3,
E4, F4, G4, H4

total no. of count if from sheet3 the value E3 and B4 and C4 and D4 and E2 will match then count from sheet1 and show the result, in sheet1 we have dates no month.

can we use it as array formula, if possible
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try

=SUMPRODUCT((Sheet1!$B$2:$B$12=Sheet3!$C3)*(Sheet1!$C$2:$C$12=Sheet3!D$2)*(TEXT(Sheet1!$A$2:$A$12,"mmm")=TEXT(Sheet3!$D$1,"mmm")))

You may need to change some of the references

1591987836692.png
 
Upvote 0

Forum statistics

Threads
1,224,738
Messages
6,180,673
Members
452,993
Latest member
FDARYABEE

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