Personal Finance Sheet - Copy and Paste Transactions - google-sheets

I'm trying to make a personal finance sheet. I would like to take the transactions from my bank and copy and paste them into "Current Results" Table. That way I don't have to manually put them in each day. The problem I am having though is the transactions are hard to read with all the numbers and other words that I don't need.
Here is my question...
Is there a way to check the "Transactions" table and change the transactions to match what is on the items list table? (See Desired Results Table)
View example spreadsheet here.
https://docs.google.com/spreadsheets/d/1dT7NtWysMOri9XxmYwCqJCNcL_-ZGtU0H1-BpFd3d4c/edit?usp=sharing
Another example here.
Change - PURCHASE WENDY'S CITY STATE CARD1234 - To ---> Wendys
Here are the formulas that I tried to get to work.
REGEXREPLACE(B8:B21,"something",K7:K23)
VLOOKUP(K7:K23,B8:B21,1)
Thanks for all of your help! I really appreciate it.

You can use the following formula
=ArrayFormula(REGEXEXTRACT(PROPER(B8:B21),PROPER(REGEXREPLACE(JOIN("|",G7:G),"\|+$",""))))
The "red words" you notice can not be extracted giving a #N/A error, since the sheets have no way of knowing them.
This can be remedied by adding them to the Items List
Functions used:
ArrayFormula
REGEXEXTRACT
PROPER
JOIN

Related

How do I return missing data when comparing two columns?

I've read a few similar questions, and I can't seem to find exactly what I'm trying to do.
I have a roster of employees in sheet "Roster" with their names in Column A. In sheet "Hours" I have a list of assigned jobs for tomorrow, with the assigned employee's name also in Column A. I'm trying to add a column of employees from the roster that are NOT in the list of employees on jobs.
The closest I've gotten is with this, on the Hours sheet:
=ARRAYFORMULA(VLOOKUP('Roster'!A2:A, A2:A,1,0))
which gives me a list of the entire roster, with the missing ones returning an #N/A error that tells me the missing name when I mouse over it and read the error code. Is there a way to just get a list of the errors? Would I be better off attacking this from a completely different angle?
EDIT: Sanitized example pictures. If what I was trying to do worked, it would return Bob and Jim in this example.
Assuming you're trying to return this list in the "Hours" sheet, you can build off what you had. Try this:
=ARRAYFORMULA(FILTER(A2:A,ISERROR(VLOOKUP('Roster'!A2:A, A2:A,1,0))))
Keep in mind that this formula was written sight-unseen. If it doesn't work as expected, consider sharing a link to a copy of your sheet (or to a sample sheet set up the same way and with enough sanitized but realistic data to illustrate the problem, along with the manually entered result you want in the range where you want it).
I ended up going a completely different route. I made a third "Under the Hood" sheet, pulled the two columns into it with queries, ran a match formula down the list and returned "" on errors, then ran a query on Hours to get the names where it had null for the match list.

Fill rows when a value is not in a column in google sheets

I need to create a list from a column when the cell doesn't contain a given text.
In the example above I want to exclude the folders that have the words (Archive, Rollback, rollback) as below.
I know
=countif(B2:B20,"<>*Archive*")
gives us the count but doesn't allow me to define more than one search phrase and also doesn't give a list.
Is it possible to use an Array Formula? where =ARRAYFORMULA(B2:B20) can be changed to exclude the words in B22
Test Sheet is in https://docs.google.com/spreadsheets/d/1WnGEsuuJcKsHVhpyYCX5EpmIxuKQEst5XVXgeETzxJ4/edit?pli=1#gid=1789577026
See the 'List_Excluding_Words' worksheet and feel free to add a worksheet with possible solutions.
Would a regex method work in this case like? Google Sheet REGEXMATCH function case insensitive
I understand this can be done using filters but I want a full list so I can run other processes on it and it doesn't allow for more than one phrase.
In B26 on the tab 'JPV_HELP' I entered
=filter(B2:B20, not(regexmatch(B2:B20, "(?i)Archive|Rollback")))
See if that works for you?

Google Sheets: How to Filter Vertically Merged Cells

I've come looking for help regarding this issue. I'm a teacher, and am trying to help my students get all their documents together for university applications. Google Sheets tell me that I'm not able to filter cells containing vertical merges, but I want to filter by the earliest application deadline (column G) so I know which student I have to chase up first, second, third, etc., without losing the rest of the data in the row.
Does anyone know a good way of doing this? I've created a sample of my spreadsheet: here.
Thanks in advance.
Try Insert > New sheet and this formula in cell A1 of the new sheet:
=query('2021'!A1:Z, "where G is not null order by G", 1)
The sorted list is for reference only. You will need to continue to do your editing in the 2021 sheet.
I would split the data between a couple of sheets.
In the first sheet you'd have important data that can be seen at a glance and filtered easily, like student names, universities and deadlines.
In the second sheet (which you can link by student name or id) you can put extra info like necessary documents, urls etc - something like this.
Alternatively keep all the info in one sheet but don't use split columns or rows - it isn't conducive for sorting, filtering and viewing data (and what's the point of data if you can't analyse it?)

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.

Summarise row data by removing blanks and use heading (Google Sheets)

I am looking for some help with summarising subject data.
We have 550 pupils who select subjects and our system outputs the information into a Google Sheet like this https://docs.google.com/spreadsheets/d/13rKygFBINl6nBBlHch0Gqo39iaoEYPTBfVCxoAs3QP4/edit?usp=sharing
I want the info to come out summarised, so we see the user info and the subjects they chose.
So this would mean when a cell is found to contain text along the row to reference the column heading and put this information into the second sheet under the subject 1 heading.
I have tried to show in sheet 2 called "Should look like this" so you can get an idea of what it should look like.
Is this possible in Google Sheets?
here is a copy of your sheet with the solution in cell A2 on the tab called Classes By Student.
=ARRAYFORMULA(IFERROR(SPLIT(TRANSPOSE(TRIM(QUERY(TRANSPOSE({Data!A2:E&CHAR(10),IF(Data!F2:AX="",,Data!F1:AX1&CHAR(10))}),,9^9))),CHAR(10)&" ",0,0)))
It is also possible to make a similar transformation that i've done on another tab called Students by Class.
QUERY() smush can be a powerful tool for problems like this. it consists of leveraging the query "header" argument to smush together entire columns of data all together, before splitting them back out without missing spaces.

Resources