Calculating the sum of different unique values - excel

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

Related

IF applied to FORECAST functions

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!

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.

Vlookup for differente sheets Excel

Good afternoon,
I am trying to use a VLOOKUP formula across different sheets, but so
far I am unsucessful.
The formula I am using is the one below:
VLOOKUP(R9;INDIRECT("'"&INDEX(ListaFolhas;MATCH(1;--(COUNTIF(INDIRECT("'"&ListaFolhas&"'!$C$4:$D$4");R9)>0);0))&"'!$C$4:$D$4");2;FALSE)
ListaFolhas is the name of the range of the names from the different
sheets.
Basically I need to insert the number associated with each person:
What can I be doing wrong? I used this formula from a page and adapted
to my own case...
EDIT:
After some research I figured out an answer. However, I am facing a new problem: The formula I found only considers one word, doesn't consider 2+ words. A screenshot of the situation:
In the image I have the formula I am using and the difference I get. Could anyone help me please? Thanks in advance!
=INDEX(range of cells with the numbers, MATCH(name you are looking for,ListaFolhas, 0))

Excel function to determine count for range of an occurrence text value

I know this is a simple function to implement in excel but I am not getting it right. I am trying to get count of "FAIL" text where "THUMB" using this function =IF(L8:L307="THUMB",COUNTIF(N8:N307,"*FAIL*")) but then I am getting #VALUE!. I want to be able to tell how many FAILs are there for the occurence of THUMB.
Here is a screenshot from my excel worksheet I am working on
Could someone please tell me what is it that I am doing wrong in this function?
you gotta use the simple countifs function like this:
=COUNTIFS($N$8:$N$307,"FAIL",$L$8:$L$307,"THUMB")
hope this works for you.

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