I'm unclear on exactly what you're trying to calculate as I can't see the data
If it's only the one formula then I can't see it slowing down your file that much by itself, though if you have a load of these I could understand it
I don't think VBA will help speed the calculation up, unless you're using it to switch the calculation on and off, e.g. converting it to a value once calculated and then reinserting the formula as required
Also can't see how a COUNTIFS would be able to take account of the duplication issue, but again there may be a better way depending on how your data is laid out and what exactly you're trying to calculate. I wouldn't rule out the use of a helper column or two either, if it simplifies the steps needed for the formula it could speed things up a bit
Suggest you try and post more info about how your data looks, what you're trying to compare and where
Hi sorry,
here is some data so i can show you what im trying to do,
Thanks
[TABLE="class: cms_table, width: 630"]
<tbody>[TR]
[/TR]
[TR]
[TD="class: cms_table_xl65, width: 70"]
A[/TD]
[TD="class: cms_table_xl65, width: 70"]B[/TD]
[TD="class: cms_table_xl65, width: 70"]C[/TD]
[TD="class: cms_table_xl65, width: 70"]D[/TD]
[TD="class: cms_table_xl65, width: 70"]E[/TD]
[TD="class: cms_table_xl65, width: 70"]F[/TD]
[TD="class: cms_table_xl65, width: 70"]G[/TD]
[TD="class: cms_table_xl65, width: 70"]H[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl65"]1[/TD]
[TD="class: cms_table_xl65"]ID[/TD]
[TD="class: cms_table_xl65"]Name[/TD]
[TD="class: cms_table_xl65"]Date[/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"]Name[/TD]
[TD="class: cms_table_xl65"]Start[/TD]
[TD="class: cms_table_xl65"]End[/TD]
[TD="class: cms_table_xl65"]Result[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl65"]2[/TD]
[TD="class: cms_table_xl65"]A112[/TD]
[TD="class: cms_table_xl65"]John[/TD]
[TD="class: cms_table_xl66"]01/01/18[/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"]John[/TD]
[TD="class: cms_table_xl67, align: right"]01/01/18[/TD]
[TD="class: cms_table_xl67, align: right"]30/04/18[/TD]
[TD="class: cms_table_xl65"]2[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl65"]3[/TD]
[TD="class: cms_table_xl65"]A112[/TD]
[TD="class: cms_table_xl65"]John[/TD]
[TD="class: cms_table_xl66"]02/01/18[/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[/TR]
[TR]
[TD="class: cms_table_xl65"]4[/TD]
[TD="class: cms_table_xl65"]A113[/TD]
[TD="class: cms_table_xl65"]John[/TD]
[TD="class: cms_table_xl66"]03/01/18[/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[/TR]
[TR]
[TD="class: cms_table_xl65"]5[/TD]
[TD="class: cms_table_xl65"]A114[/TD]
[TD="class: cms_table_xl65"]Dave[/TD]
[TD="class: cms_table_xl66"]01/01/18[/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[/TR]
[TR]
[TD="class: cms_table_xl65"]6[/TD]
[TD="class: cms_table_xl65"]A115[/TD]
[TD="class: cms_table_xl65"]Jenny[/TD]
[TD="class: cms_table_xl66"]01/01/18[/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[TD="class: cms_table_xl65"][/TD]
[/TR]
</tbody>[/TABLE]