Andonny,
Take a 4 free columns where you do the calcs:
In F1 enter: =(Sheet1!B1=$A$5)+0
In G1 enter: =(Sheet1!E1=$D$1)+0
In H1 enter: =F1*G1*Sheet1!D1
Select F1:H1 and copy down up to the row 20000.
In I1 enter: =SUM(H:H)
Please time the calc: very curious about the result.
Cheers,
Aladin
=====================
Make that a single col computation
:Andonny,
What I suggested can be done in a single column:
In F1 enter: =((Sheet1!B1=$A$5)+0)*((Sheet1!E1=$D$1)+0)*(Sheet1!D1)
Copy down this up to the row 20000.
Then of course in G1:
=SUM(F:F)
This must be cheaper than 3-column version.
Aladin
=====================
Re: Sorry some difficulties
Hi,
I am having a bit of difficulties with the recommentation. I am not sure if my formula is clear enough. It is in sheet2 in column D.
Thanks
Andonny
Re: Sorry some difficulties
Hi,
Use a unused column on Sheet2. I'd suggest implementing the single column version I suggested below in the thread. That is:
=((Sheet1!B1=$A$5)+0)*((Sheet1!E1=$D$1)+0)*(Sheet1!D1)
Copy down as far as needed (total 20000 rows). Then do a sum on the resulting range.
I'm terribly curious about the results qua time spent doing calcs.
Aladin
================
Hi Aladin,
Would you be able to look at my sheet.
Thank you for your kind help
Andonny