I'm trying to get google sheets to say (21/44) with checkboxes so I have
=COUNTIF(C3:C46, TRUE) and =COUNTIF(C3:C46, FALSE)
but I want both in the same cell, separated by a "/"
add & "/" & between the formulas and it will work :)
=COUNTIF(C3:C46, TRUE) & "/" & COUNTIF(C3:C46, FALSE)
Related
I'm trying to work with combined arrangeformula and importrange formulas. I want that from spreadsheet1:Table1 P4 value would be taken to spreadsheet2 C3 cell: Table2 and only when i add new link to column "L" it will put automatic value at C4. So i want to use arrangeformula so it will work on whole column, but i want to fix that from all the links i add it would take same "P4" value. Possible?
There is no solution. See link1 and link2
All you can is
={IFERROR(IMPORTRANGE($L3;"Lapas1!A2");"");
IFERROR(IMPORTRANGE($L4;"Lapas1!A2");"");
IFERROR(IMPORTRANGE($L5;"Lapas1!A2");"");
IFERROR(IMPORTRANGE($L6;"Lapas1!A2");"")}
as many times as you wish
How do I go about using REGEXREPLACE to insert commas into values in Google Sheets? Example:
cell A1 = 1234567890
expected output in B1 = 1,234,567,890
edit:
The intention would be so that the user would not need to format anything themselves. This issue is from a template I'm doing up, sample sheet here - https://docs.google.com/spreadsheets/d/1n-KXqcSpx_DpvrOv9A4UsKn1amGGEUCpyzWWDphWdJY/edit?usp=sharing
try:
=TEXT(A1; "#,###,###,##0")
Try
=A1
and change the format to
#,##0
To insert commas into values in Google Sheets, I recommend:
Select the range of cells you'd like to format or modify.
Click Format and then Number.
Select the format to apply to the range of cells.
I've been looking on the forums for a while trying to learn google's scripting language to create some shortcuts for me in Google Spreadsheets, but so far nothing is really panning out.
I'm trying to work out how to search whether 2 cells in the same row have a specific string & the other be empty.
(H having the string "Active" & K being empty)
For every Row that this happens, that cell number is returned.
This is what I have so far:
=IF(LOOKUP("Active", H1:H) & (LOOKUP(ISBLANK(),K1:K))), CELL(ROW())
I'm still fairly new to coding an would appreciate any help.
=ArrayFormula(IF((H:H="Active")*(K:K=""), ROW(H:H), ""))
paste in the first row.
I'm trying to use Google Sheets to manage a database. I've figured out how to use the query function to do a simple search, but I'd like to know if an advanced search is possible. Here's what I mean:
Example I made (refer to the second sheet)
Each row has a number of attributes, and the search sheet has a number of fields that can be entered. I'd like to be able to search for one without having to keep the other fields filled in as well, but I'm not sure how to mess around with the query function to get what I need.
Any help would be very much appreciated. Thank you!
Where must only appear at the beginning of the filtering, not before every conditional.
This can be done with FILTER and some if statements or keep the query and adjust it similarly like this:
= IFERROR(
query(
Database!B3:G13,
"select B,C,D,E,F,G
where " &
IF(LEN($C$4), "lower(C) contains lower('"&$C$4&"')", "1=1") & " and " &
IF(LEN($E$4), "lower(D) contains lower('"&$E$4&"')", "1=1") & " and " &
IF(LEN($G$4), "lower(E) contains lower('"&$G$4&"')", "1=1") & " and " &
IF(LEN($I$4), "lower(F) contains lower('"&$I$4&"')", "1=1") & " and " &
IF(LEN($K$4), "lower(G) contains lower('"&$K$4&"')", "1=1")),
"No Results")
It essentially checks if the filter is specified and if not puts 1=1 (TRUE) as a placeholder.
I am in need of a sum of a completed values present in between two separate dates using Query function. My sheets are as follows. The first sheet name is "Sheet1" & The 2nd sheet name is "Sheet2". I need the count(SUM) of India completed values in the cell Sheet2!A2 within the date range of Cell A1 & Cell A2. For this, I was trying with the below Query function. But it didn't work out. Can anyone please help me here to get this data.
You need to use the below formula there
=sum(query(Sheet1!$A$1:$D$13,"Select 1 where D='India' and A>=date '" & TEXT(A1,"yyyy-mm-dd") & "' and A<= date '" & TEXT(B1,"yyyy-mm-dd") &"'",1),0)