Forum Discussion
deniztopcu
Sep 12, 2023Brass Contributor
Is there a solution to using the same function multiple times?
Hello, is there a shorter way to do such repetitive calculations?
ı havent office 365.
Workbook attached. Old formula in column D, new formula in column E
- PeterBartholomew1Silver Contributor
Congratulations folks. I am hugely impressed by the pattern recognition skills and the manner in which the monster formula has been reduced. I have not got the remotest idea what the result signifies but if it is meaningful to the OP, that's OK.
I realised I haven't used the old workhorse SUMPRODUCT for many years now, either as a SUMIFS predecessor or as an array wrapper function. I did start on the problem this morning and got as far as
before coming to the conclusion that there was going to be no great meeting of minds ever were I to produce the results.
- deniztopcuBrass ContributorLike you, I think there were very good reactions. Thanks
Somewhat shorter:
=TOPLA(TOPLA.ÇARPIM((B9<J9:AK9*{1;1,2;1,4;1,6;1,8;2})*(($J$8:$AK$8="QoQ")+($J$8:$AK$8="QoQ TTM"))*(J9:AK9<>""))-TOPLA.ÇARPIM((B9>J9:AK9*{1;1,2;1,4;1,6;1,8;2})*(($J$8:$AK$8="QoQ")+($J$8:$AK$8="QoQ TTM"))*(J9:AK9<>""))+
TOPLA.ÇARPIM((C9<J9:AK9*{1;1,2;1,4;1,6;1,8;2})*(($J$8:$AK$8="YoY")+($J$8:$AK$8="YoY TTM"))*(J9:AK9<>""))-TOPLA.ÇARPIM((C9>J9:AK9*{1;1,2;1,4;1,6;1,8;2})*(($J$8:$AK$8="YoY")+($J$8:$AK$8="YoY TTM"))*(J9:AK9<>"")))Just started with it the same way, but didn't receive correct result. Could you please repeat formula in English?
- deniztopcuBrass ContributorI was excited when I saw the fiction. But he made an error.
#NO