I'm looking for help finding a function/formula to find the least common value in a col on Google Sheets.
In a couple of words, the opposite of the Mode function.
Any help would be hugely appreciated.
Thanks,
Tom.
Assuming the range you want to count is A2:A40, try:
=unique(filter(A2:A40,countif(A2:A40, A2:A40)=MIN(countif(A2:A40,A2:A40))))
Related
I am wondering if someone with Google Sheets expertise can help me figure out how to write a formula to find percentages based on 2 parameters.
For Example, please see screenshot below, we want to figure out what percentage of the cost is included(Y/N) within each fruit (oranges/apples). What would be the best formula to solution for this?
Thank you!
Thanks in advance!
im am still doing my google sheets test and need help finding the answer to the question: what proportion of products are discontinued. i have to express my answer in a formula on google sheets
you can find the link to the data stack here:
products list:
https://docs.google.com/spreadsheets/d/1m67VmLZispyTwFTmPdppsdJNtbvnZsZK2LBCSchUWmU/edit?usp=sharing
my idea was to count the 0 in the column J(discontinued) with the formula: =Countif(J2:J78,"0"). in the next step i would have to show a proportionality and i have no clue how i am supposed to do that. could anyone tell me if the first step is correct and how i should go about the proportionality?
thank you!!
You can also use the formula PERCENTIF:
Returns the percentage of a range that meets a condition.
PERCENTIF(range, criterion)
In this case if you want to know the percentage of 0 this would be:
=PERCENTIF(J2:J78;"0")
You do not need any formula, just build a pivot table
I was wondering how to sort data in google sheets by how many letters it contains. Could someone help me with this? Please explain clearly as I am new to google sheets.
Thanks.
use:
=INDEX(SORT(A2:A; LEN(A2:A); 1))
or 0 instead of 1 for reverse ordering
I have a question about a google sheet formula?
=SUM(COUNTIF('Signed Case'!C:C,{"Barry","Maya"}))
It seems that Google Sheet can only count the total number of "Barry" but NOT BOTH "Barry" and "Maya", is there a way to fix this?
Greatly appreciated, thanks and have a nice day!
Change as
=sum(ARRAYFORMULA(COUNTIF('Signed Case'!C:C,{"Barry","Maya"})))
ARRAYFORMULA will develop countif for all criteria
So I have these formulas here
=if(J3="","",sum(J3,M3:N3))
=if(A1="","",index('SHEET1?'!F:F,match(A1,'SHEET1?'!E:E,0)))
I have been trying to find a way to get this as an array but I can't seem to find the solution that works best with this specific format. The problem is that if I do the array formula as is, it shows the sum of the whole range instead of giving the sum per row.
Any help is appreciated. Thank you!
SUM is not supported by ARRAYFORMULA, use + or MMULT
=ARRAYFORMULA(if(J3:J="",,J3:J+M3:M+N3:N)))
Alternative:
=ARRAYFORMULA(if(J3:J="",,J3:J+MMULT(N(M3:N),N(TRANSPOSE(COLUMN(M3:N)^0)))))
INDEX is not fully supported by ARRAYFORMULA, use VLOOKUP
=ARRAYFORMULA(IF(A1:A="",,VLOOKUP(A1:A,E:F,2,FALSE)))