IF applied to FORECAST functions - excel

I'm trying to create a forecast formula in excel using the if (like a sumif, for instance) but I'm not being able to find anything on Google that describes how it can be done.
My idea is not that complex, but excel does not support directly the calculation. I'm trying to do something similar to the following:
=sumif($A:$A;Z1;$B:$B)
But instead the sumif, I would like to apply any FORECAST formula, such as FORECAST.ETS, FORECAST.LINEAR, etc..
Someone imagines how to do so?
Thanks in advance!

Related

How to calculate averageifs in powerbi using DAX?

I am really new with powerbi. I would like to convert some formula from excel to powerbi. There is an execel formula like this
=AVERAGEIFS('FIE'!BB:BB,'FIE'!M:M,"<>",'FIE'!BF:BF,"V")
I want to use it in powerbi. Is anyone can help me please.
Thanks a lot

Sumif formula for chosen criteria ranging this date of to this date

hi guys so im having trouble with this sumif. i can make other formulas to work for simple sumifs. but this one is not working. im trying to sum this given criterion
=SUMIFS($C$4:$C$33,$B$4:B$33,$A$4:$A$33,">"&$G$6,$H6,$A$4:$A$33,"<="&I6)
here is the sample sheet im playing with before doing it to the actual sheet.
this is what i want to happen
ex. if "Line 1" is chosen how many minutes it consume during this dates from 8-july-22 upt to 13-aug-22.
You need to use the formula like as given below, SUMIFS() syntax was not applied in correct order.
=SUMIFS($C$4:$C$33,$B$4:$B$33,$G6,$A$4:$A$33,">="&$H6,$A$4:$A$33,"<="&$I6)
Learn how to use SUMIFS() Function from Microsoft Documentation.

How this Excel Formula worked?

I'm using following formula to extract the records from the database in excel.
{=IFERROR(INDEX(A$2:A$11,SMALL(IF($A$2:$A$11=$C$1,ROW($A$2:$A$11)-ROW($A$2)+1),ROWS(E$2:E2))),"")}
I got this formula idea from the following YouTube tutorial,
https://www.youtube.com/watch?v=6jcqN3swdW8
Now my question is I want to understand the part of the Formula.
here is that,
"IF($A$2:$A$11=$C$1"
How did the above part work with excel formula? I have tried to use this part individually to return the boolean value from the table but it gives the wrong result every time.
anyone can clear my concept?
this is turned out to be a very easy concept. Thank you to #TomJohnRiddle for his comment.
I have started learning Advance Excel from VBA. I used to apply VBA literally for every little data processing. Maybe that's why I have never interacted with Excel's Array Formulas. but it's all cleared now
here is the link as Tom has suggested.
https://support.office.com/en-us/article/guidelines-and-examples-of-array-formulas-7d94a64e-3ff3-4686-9372-ecfd5caa57c7
Thank you.

Calculating the sum of different unique values

I'm trying to achieve something like in the picture attached. I could able to achieve rest but calculation of Highlighted part. Formula or VBA code is preferred. Here is the image for what I'm trying to achieve.-
I could able to solve it by sumifs method as told by Jeeped.Formula goes Like
=SUMIFS(Sheet1!Column3:Column3,Sheet1!Column1:Column1,Sheet2!Column2-row1value,,Sheet1!Column2:Column2,Sheet2!Column1-row2value)
Thanks Guys

Excel - complex if function

I need help with my Excel table.
I want to compare my Reifenstärke with Reifenstärke, and than compare it with the weather to get the specific round number for that Car.
I need to use a IF-function but i don't really know how,
I will add a picture of my problem
https://www.dropbox.com/sh/7vstay1p15m15y1/AAAF5QHrj4Mf098tpd1I8gIda?dl=0
Use the following VLOOKUP formula under "Minuten pro Runde":
=IF($E26=2,VLOOKUP($F26,$D$17:$I$19,6,FALSE),IF($E26=1,VLOOKUP($F26,$D$17:$I$19,5,FALSE),""))
Then copy it down as far as you need.

Resources