Date conditioning

fathima

New Member
Joined
Jan 29, 2020
Messages
37
Office Version
  1. 365
Platform
  1. Windows
Hi Need help with this.
If same ticket number under C is dispatched on even another day i need the value to be showing as 1 (under productivity) against my name.
Please refer to the current formula where its filtering based on different dates, i need value as 1 if same ticket assigned to same person on even different date.


Formula:
=IFNA(INDEX($F$6:$F$1000000,MATCH(J6,$E$6:$E$1000000,0),),0)

A B C D E F G H I J
SL NO
Date
TICKETS DISPATCHED
TICKET TYPE
ASSIGNEE
COUNT
DISPATCHER
COUNT
productivity​
1​
19th sept​
INC123​
Fathima Balquees​
1​
0​
2​
Fathima Balquees​
2​
19th sept​
INC123​
Fathima Balquees​
1​
0​
0​
3​
20th sept​
INC123​
Fathima Balquees​
1​
0​
0​
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi Fathima,
I'm struggling to understand the requirement.
I don't see how Productivity can be 2 for your first data row as INDEX returns zero or if your name is in column E then the first match in that column and with every Count being 1 it must return 1.

Please take a look at this data and indicate all values you'd expect in Productivity.

Book1
ABCDEFGHIJ
1
2
3SL NODateTICKETS DISPATCHEDTICKET TYPEASSIGNEECOUNTDISPATCHERCOUNTproductivity
4119-Sep-21INC123Fathima Balquees10?Fathima Balquees
5219-Sep-21INC123Fathima Balquees10?
6320-Sep-21INC123Fathima Balquees10?
7420-Sep-21INC123Fathima Balquees10?
8521-Sep-21INC123James Smith10?
9622-Sep-21INC123Fathima Balquees10?
10722-Sep-21INC123Fathima Balquees50?
Sheet1
 
Upvote 0
I am only guessing here, but is this what you mean ?
@Toadstool - just leveraging off your XL2BB (y)

Book1
ABCDEFGHIJK
1SL NODateTICKETS DISPATCHEDTICKET TYPEASSIGNEECOUNTDISPATCHERCOUNTproductivity
2119-Sep-21INC123Fathima Balquees101Fathima Balquees
3219-Sep-21INC123Fathima Balquees100
4320-Sep-21INC123Fathima Balquees100
5420-Sep-21INC123Fathima Balquees100
6521-Sep-21INC123James Smith101
7622-Sep-21INC123Fathima Balquees100
8722-Sep-21INC123Fathima Balquees500
9819-Sep-21INC130Fathima Balquees101
10922-Sep-21INC130Fathima Balquees100
11
Data
Cell Formulas
RangeFormula
I2:I10I2=--(COUNTIFS($C$2:$C2,$C2,$E$2:$E2,$E2)=1)
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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