This question is related to google spreadsheet number formating - google-sheets

I have a number "1,015,788" i want this number to be displayed as 10.15L. How can i do this in google spreadsheet?
Thanks in advance

To change the formatting of the number to what you've described, use the following formula.
=TEXT(TRUNC(1015788/100000,2),"#.##L")

Related

proportion formula google sheets

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

How do I sort data in google sheets by word length?

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

Google Sheets "COUNTIF" function NOT showing multiple conditions

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

Using arrayformula in Google Sheets

I'm trying to use arrayformula to expand the formula below but it's not working. When I copy-paste manually the formula into each cell it works.
=arrayformula(INDEX($1:$100,ROW(B2:B),match(YEAR(M$1:$1),$1:$1,0)))
What I want to achieve is to convert yearly salaries into monthly salaries based on years.
The spreadsheet can be viewed here:
https://docs.google.com/spreadsheets/d/1veiYh1CMIfFPwBGQk4OwKmCLa7q08TugReVfAXtpIgI/edit#gid=1363287956
Thanks!
Solution:
Since you are looking for a specific column, you can use HLOOKUP as a substitute for INDEX and MATCH:
=ARRAYFORMULA(HLOOKUP(YEAR(M1:AT1),A1:H11,ROW(B2:B11))/12)
This should yield the same result as the previous formula:

Count the number of occurrences of a value on a multi-page spreadsheet

The spreadsheet has many pages and more pages will be added in the future and I don't know the names of these future added. I can't just do:
=countif(Tab1!A:Z,Value1)+countif(Tab2!A:Z,Value1)+countif(Tab3!A:Z,Value1)...
because I don't know the names of these tabs to be added.
Is there a way to count the occurrences on new sheets without explicitly adding them in such a formula?
It seems that this can not be achieved using a formula. It must be written as a script. You can see an example at this question: COUNTIF Statements: Range Across All Sheets + Cell Reference as Criterion
I'm not sure if what you're trying to do is possible. But, I can help you with the getting the spreadsheet pages/sheets name part.
By using this sheets projection:
https://spreadsheets.google.com/feeds/worksheets/{spreadsheetId}/public/basic
you'll be able to get the list of all spreadsheet pages in xml format.

Resources