NEED EXCEL IN COUNTIF AND COUNTIFS - excel

ı am stuck in formula and ı don't know how to solve this problem.
ı want a write a formula which is check the names if the names are same counts data which is in the other column.
Can you help me please.

In the formula below the name is in A2. The formula searches all the column B for duplicates and writes the number of matches found in its own cell. Therefore the formula must be in a column other than A or B.
=COUNTIF($B:$B, $A2)
Say, you have the formula in cell C2, you can copy it down as far as column A has values and do the count for every one of the names in column A.

In this problem ı use SUM(COUNTIFS( method.
example = sum(countifs(B:B;name which ı described for criteria;E:E;{"and this part ı described all data names which is in E column";"like this";"as far as want"}))
ı tried to explain with best way ı hope this answer will help you.
maybe there is a short way to do this if you solve this with other way please tell us.
Thank You.

Related

Textjoin based on multiple columns and a condition

HI I would like to know what is the formula to textjoin/concate below information? summary of status
I have tried to use this but not sure how to include the second column in and have unique values
=TEXTJOIN(",",TRUE,(UNIQUE(IF(I6:I17=J20,K6:K17,"")))) - only one column
if include the array, will not have unique value, duplicate, and actual requirement the column will not be adjacent.
I'm kinda hopeless with formula still learning.
Any help is appreciated, thank you!!
One option:
Formula in G2:
=LET(a,UNIQUE(A2:A12),HSTACK(a,BYROW(a,LAMBDA(b,TEXTJOIN(", ",,UNIQUE(TOCOL(CHOOSECOLS(FILTER(C2:E12,A2:A12=b),1,3))))))))

Use of Excel formula 'IF" and "AND" with multiple sheet to combine the data

I have two excel datasheets i.e. 'Data' and 'Sheet1'. Now, I am using the following excel formula to bring some data from 'Sheet1' to 'Data':
=IF(AND(Data!B2=Sheet1!A2,Data!C2="Argentina"),Data!AU2:CR2=Sheet1!B2:AY2,NAN)
The formula return "#NAME?".
Can you help solve this issue? Thanks in advance.
You no need to mention destination sheet cells in formula. If function doesn't accept this. Try below formula
=IF(AND(Data!B2=Sheet1!A2,Data!C2="Argentina"),Sheet1!B2,"NAN")
This is advise too large to fit into a comment:
In order to solve such an issue, you can use Formula auditing: it gets into your formula and solves it step by step.
After some evaluations, I get the question to evaluate this formula:
=IF(FALSE, Data!AU2:CR2=Sheet1!B2:AY2, NAN)
And the moment it wants to evaluate Data!AU2:CR2=Sheet1!B2:AY2, I get an error.
I tried to put this formula excerpt as a single formula into a sheet, and as a result I got a complete row, filled with boolean values (which does not fit into one single cell, explaining the problem).
What are you trying to do here? Do you want every single value to be equal? Do you want matches? ...

Ranking extra criteria

I came across this formula yesterday and wondered if someone would be able to help expand it for me. This is what I found below:
=COUNTIF($C$1:$C$99,">"&C1)+1+SUMPRODUCT(--($C$1:$C$99=C1),--($B$1:$B$99>B1))
This formula is for 2 sets of criteria, in column C and then B.
Can anyone please help me add a third set of criteria, which would be in column D?
It would be easier to use COUNTIFS in the original formula unless you have a very old version of Excel
=COUNTIF($C$1:$C$10,">"&C1)+1+COUNTIFS($C$1:$C$10,C1,$B$1:$B$10,">"&B1)
Then just add another column in the same way (I have used column A because it was testing column C first and moving right to left)
=COUNTIF($C$1:$C$10,">"&C1)+1+COUNTIFS($C$1:$C$10,C1,$B$1:$B$10,">"&B1)+COUNTIFS($C$1:$C$10,C1,$B$1:$B$10,B1,$A$1:$A$10,">"&A1)
Plz change ranges as required.

Re: Count value of cells in one column that are within a specific date range in another

Hope you guys can help me please :)
I am trying to create a profit/loss sheet that automatically counts the values in all cells in AH that are within a specific month...
What is the best way to go about this please? Any ideas?
I thing the following formula might work for you:
=SUMPRODUCT((MONTH(A1:A60)=2)*C1:C60)
Where A is the date and C is the value that needs to be counted.

Excel Formula Help INDEX MATCH Dates

I have been working on this formula for the last 40 minutes and I can't really figure out where I'm doing wrong. I would really appreciate the community's help.
I have provided a screen shot below.
For some reason the formula is only taking the first instance of the currency provided in "column O:O" and it is not adding up the multiple instances of the matching months and year. I tried putting SUM in the formula but I got an error.
INDEX/MATCH And VLOOKUP will only return the first instance.
You will need to use SUMPRODUCT() to return what you want:
=SUMPRODUCT((MONTH(D17)=MONTH($M$2:$M$6))*(YEAR(D17)=YEAR($M$2:$M$6)),$O$2:$O$6)
Note: SUMPRODUCT is an Array Type formula an thus the cell references should include only those that have data and avoid full column data.

Resources