Conditional formatting with two conditions - google-sheets

I have a google sheet list of membership fees per user and per year. Currently it only highlights rows if a user id is already in the list and thus duplicate. This is how the conditional formatting formula looks like.
=countif($A:$A,$A2)>1
However, it is possible that a user is listed twice or even three times because the fees belong to different years. In this case, everything would be fine and the row does not need to be highlighted.
So the goal is to highlight all the rows where there are duplicate users with only the same year.
The headings/columns of the list:
User id || first name || last name || year || Amount
I would be glad if someone could help me.
Thanks in advance!

Use:
=COUNTIFS($A:$A,$A1,$D:$D,$D1)>1

Related

How to automatically detect an input from a column and updates into a different range

Hi, I would like some help with a current project or to know if it's possible to have a script for this.
For example, when someone makes changes a students lesson (column J) from Lesson 5 to Lesson 6 but didn't input a date, the script would add a text "DATE PLS" to the respective student's row at the respective Lessons (L5 & L6)
It will be used for several other sheets too. About 24-26 other sheets.
Thank you for any answers.
for inserting text DATE PLS you will need a script but if you are fine only with the red cell you can use conditional formatting like:
=(J4<>"")*(W4="")
on range W4:W

Using Google Sheets to create lists

Let's see if I can explain this in a comprehensible manner:
To make the administration around certain field days easier, I want to make a spreadsheet where class teachers can put in the names of their students. Next to the student's name, there will be a drop-down menu (I seem to have figured that one out).
The next thing I want is for Google Sheets to take those names and sort them into lists. So, all the students who chose "softball" will end up in list, and the ones who chose "golf" ends up on another, and so on.
How do I do this?
https://docs.google.com/spreadsheets/d/1IzoVMk78s9ZUSDflN1Q0Dv2US3zBVeHaFjaL7Z__M1A/edit?usp=sharing
Check out this sheet, it should have your answers.
I have used data validation for the dropdowns and then transposed that into headers, with the FILTER formula to find matches.

Google Sheets: How do I look up multiple values in another sheet?

The scenario I am faced with is kind of an odd one. Basically, I am designing a Google Sheet for work that will allow the employees to log their tech support phone calls and then a report will automatically update on another page, keeping a collective tally of sorts of all the activity on a particular day.
What I am trying to do is write a function that searches another sheet for a particular date and, if that date is found, sum a particular column of values for that day only. There are pictures attached that should help explain the problem.
Basically, I am trying to write a general equation in the cell reading "FALSE" that will look up the date of that row (in this case 1/1/2017) in the "Spendgo Minutes" sheet. If that date were to be found somewhere on that sheet (not necessarily at the top of the sheet), the "Minutes Gained" column would be summed up, but for that date only (not the entire column). Here is my running formula right now that has errors:
=IF(COUNTIF('Spendgo Tally'!$A$3:$A,$B7),'Spendgo Tally'!$G3)
Does anyone know how this might be possible? Feel free to ask any clarifying questions.
You're looking for SUMIF
= SUMIF('Spendgo Tally'!$A$3:$A,$B7,'Spendgo Tally'!$G3:$G)

Crystal Reports - Displaying customer records who have not bought

amazing experts.
I am still very new to Crystal, and only do it on the odd occasion, and seem to be going around in circles with this issue.
I work for a charity, and we would like to pull off a list of all our past donors who have not donated anything on the last 6 months.
I have tables for customer details, linked to another tables which shows their orders. They are linked based on the unique customer ID.
I have added all the customer orders, grouped by customer ID and then sported by OrderDate, and now I get stuck.
In my mind, I need to exclude anyone who has an order date that is less than 6 months old, and to do so I have tried using
{OrderDate} <= DateAdd ("m", -6, CurrentDate).
This however only seems to remove the customer orders that are less than 6 months old, not remove the customer records themselves.
I have tried using it both the "Select Expert" and also to suppress in the "Section Expert", but neither seem to be working to exclude the relevant Customer records.
I am certain there is a super easy way to do this, and I will kick myself when I know how to do it, but right now I have gone round the houses trying to find the solution.
So, if anyone out there has done this before and can help me out, i would greatly appreciate it.
Thank you all for your time!
this might solve your problem.
create a running summary field to count the number of rows return per group. if it is zero under the group section, under suppress , edit formula at put > 0
and run the report.

Conditional Query and Retrieval

I'm making a Google Sheet for our handyman business and need to collect totals on multiple client labor and material activities. I have a pretty decent sheet going, but, since we work for different clients on different days, with lots of other information in between, it would be nice if I could make a cell collect totals from any cell that has their name at the top of the column instead of chasing all over the sheet to get the client's grand total at the end of the week. Kind of like, if any cell in Row 3 has the word (name) Doe in it, return the value in row 10 of the corresponding column (where the labor for that day has been added up for that client on that day). It'd be great if it could add everything up for that client for the week every time their name is mentioned.
Too much to ask? Thanks for any help!!
If you can standardize the column that the name will occur in you can use vlookup to do exactly what you want. You may need to use partial matches as well if you want only check for part of the name https://exceljet.net/formula/partial-match-with-vlookup.

Resources