Google Spreadsheet Formula - google-sheets

I have used a Google Form to create a multiple choice survey. I need to assign one point to each answer that says "no issues" on the spreadsheet that it fills. For instance, if is says "no issues" in A2, A3, and A7, I need it to add up to 3 in the final cell.
How would I write this, and how would I enter it? I have been looking for two days, and cannot find a solution that I can make work. I have been using Google spreadsheets for a while, but I am new to writing anything for them, so please be gentle.

Maybe what you want is:
=countif(A1:A,"no issues")

Related

Array Formula not auto-filling in Google Sheets? [Example Provided]

I have a spreadsheet that will not auto fill my array formula. Can someone please explain what I might be doing wrong on this? Example Spreadsheet (Editable)
Essentially, I'm looking through a messy tag field trying to pull out the important tag I need displayed in a separate cell. I want this done automatically so I don't have to keep pulling down my formula every morning to update the ticket sales pivot report.
A1: fe220608-dcba-12p,mg220606-dcba,reg_confirm_sms_test,confirmation_sms_mc-guidebook,mailed_v2-guidebook,preview_reminder_call_1st_attempt,phase-preview-attendee,phase-preview-buyer,product_path_quickstart,product_workshop_registration,pb,me220624-dcba,pb_mg220606-dcba,pp_2023_pre_sale,pp-2023_guest-ticket_platinum,**pp-2023_ticket_platinum**,branding_package,branding_ob_form_finished,2022_webinar_test1_group,unsubscribed_mfcp-investor-related
(I want to pull out that Platinum tag, and put it in a separate column)
Formula: =ArrayFormula(IFERROR(INDEX({"pp-2023_ticket_general-seating","pp-2023_ticket_general-admission","pp-2023_ticket_silver","pp-2023_ticket_gold","pp-2023_ticket_platinum"},MATCH(TRUE,ISNUMBER(SEARCH({"pp-2023_ticket_general-seating","pp-2023_ticket_general-admission","pp-2023_ticket_silver","pp-2023_ticket_gold","pp-2023_ticket_platinum"},A2)),0)),""))
Expected Result:
**pp-2023_ticket_platinum**
Please let me know if there is an easier way to automate this.
use:
=ARRAYFORMULA(BYROW(A2:A, LAMBDA(x, IFERROR(INDEX({
"pp-2023_ticket_general-seating","pp-2023_ticket_general-admission",
"pp-2023_ticket_silver","pp-2023_ticket_gold","pp-2023_ticket_platinum"},
MATCH(TRUE, ISNUMBER(SEARCH({
"pp-2023_ticket_general-seating","pp-2023_ticket_general-admission",
"pp-2023_ticket_silver","pp-2023_ticket_gold","pp-2023_ticket_platinum"}, x)), ))))))

Google sheets formula to add order quantities over several sheets

here is a link to my google sheet for reference: [https://docs.google.com/spreadsheets/d/1tUlqB2tsH4xEsxYiMv1CiUIY3hhLGpM-1G8eWOyZPWk/edit?usp=sharing]
What I am trying to do is in the "Clients" sheet there is the column "Orders". Here I want a count of all the times that "Client ID" has been used across all the other pages. Any tips on what formula to use? Thanks
I would use:
={"Orders";ArrayFormula(IF(A2:A="","",COUNTIF({Jun!B:B;July!B:B;August!B:B;Sept!B:B}, A2:A)))}
from what i saw you only needed to add the ARRAYFORMULA to your formula, it should end up like this: =ArrayFormula(COUNTIF({Jun!B:B;July!B:B;August!B:B;Sept!B:B},A2)).
But, even after adding it, to me at least, the results didn't change. Could you verify and make sure there's a problem with the results the SUMIFS is giving you?
If you find anything that's broken I'll try and help.

Google Sheets Query/ImportRange formula - not giving me #REF so I can connect to the worksheet?

I'm collecting vaccine information for the teachers in our school and because of privacy, teachers can only see their own staff's information. Therefore, I've created a worksheet for each teacher with their staff listed. A form went out to collect the data from staff members. I am trying to use the following formula to pull the data from the form responses into the teacher's spreadsheet, and it works in some spreadsheets but not others. I'm not getting the #REF to click on and connect the sheets. I think that's the issue. Has any seen this and/or know how to resolve? I feel like I'm missing something simple.
=IFERROR(VLOOKUP($B2:$B,IMPORTRANGE("1bQnPrmZwqQnziVsCktNE7hDNhMmzIbxqcZNDrXF716o","Form Responses 1!A1:J"),5,FALSE),"")
This works in one of the teacher's worksheets. The exact same formula does not work in the next teacher's worksheet. It doesn't throw any errors - just leaves blank data in the cell.
I'm in a time crunch here and any help is appreciated! Thank you!
before an IMPORTRANGE() will work nested in a formula it has to be "connected". The only way to prompt that #ref error and establish the "access" is to use the IMPORTRANGE() once first "Naked". That is, not nested in another function.
so just pick a new cell somewhere and try just a single IMPORTRANGE() of any particular cell. Then you'll be prompted to "allow access". Once you click allow, the other functions using IMPORTRANGE should work.

Cell/column/row divider between formula/import result

This is a Google Sheets case, but if you good enough with MS Excel and
know the solution, don't be shy and share it with the community. Your
experience could be relevant to all of us.
Hello over there! I still didn't find any relevant solution in google, so I post my problem here.
I have a sample sheet and I import data via formula to cell via:
=UNIQUE(INDIRECT(C$2&"!"&$O3)
which means import all unique values via formula from Sheet!Range:range
It works fine, and I receive necessary data like:
But I want to see it like this:
with X (1,2,3,etc) row/cell/column spaces between them. I guess that =SPLIT formula should help me with that, but when I use , as a separator, I receive only first value, not the whole array of results that I needed it to.
So is there any way to achieve the result that I show at the picture above via formula or Google Script?
SAMPLE TEST SHEET with EDIT permission here:
https://docs.google.com/spreadsheets/d/1eYeFI8nL39kLNDkcyyjeqV8tc9LwG7P7cn2NzUIB7Wo
=ARRAYFORMULA(SUBSTITUTE(TRANSPOSE(SPLIT(QUERY(
"♂"&UNIQUE(INDIRECT(F$2&"!"&$G2))&"♂♀",,999^99), "♂")), "♀", ""))

Why this query on google sheets return error?

I've read tons of topics and tons of links about writing this query but keeps returning #ERROR!. I have no clue what's wrong, the query line I wrote is:
=QUERY(B2:B180;"SELECT "col3" WHERE "col2" CONTAINS "E2"";-1)
What's wrong?
If you want to know more about the problem:
I have a google form created to take a lists of objects that my team has, I want to put in a cell the keyword I'm searching and want excel to return me the name of all the people who owns that object, in normal excel I would write a vba probably but in google sheets I find it a way harder.
P.S. I tried to write the col3 in other ways but seems he doesn't understand , while E2 lights on the google sheets and seems it understood what it is.
The range is only one column (B2:B180) so there simply is no Col3. Also in this query, you should refer to columns by letter: "select B, C, ...".

Resources