How have a row change color from data in a cell - arrays

I have a Google Sheet that I am making and I am having trouble with a format. I have columns from A-Q and cells from 4-100, what I want to be able to do is the last column (Q) is for invoice #'s so I want to be able to when someone enters an invoice number the whole row changes color, is that possible?

You need to create a conditional format with the custom formula
=NOT(ISBLANK($Q2))
In the "Format" menu, select "Conditional formatting...", then apply the pictured settings.

Related

Single cell selection as input in ag-grid

I am using ag-grid in an angualar project to display a list of input parameters for a user to select. However, so far I am only able to show this list as distinct rows. And every time user has to select one cell, he has to select the entire row. I have not found any single cell selection as user input in ag-grid documentation so far. Any other ideas?
This is how I would like to have my UI look in angular using ag-grid so that the user can select one or more cells per column (Data category) as input
Data Catagory A
Data Catagory B
Data Catagory C
ParamA_1
ParamB_1
ParamC_1
ParamA_2
ParamB_2
ParamC_2
ParamB_3
ParamC_3
ParamB_4
But currently, this is all I have come up with - distinct separate rows per input value for each of the columns :
Data Catagory A
Data Catagory B
Data Catagory C
ParamA_1
ParamB_1
ParamA_2
ParamB_2
ParamB_1
ParamB_2
ParamB_3
ParamB_4
ParamC_1
ParamC_2
ParamC_3
And subsequently, the entire row/rows are selected as input by the user.
Most of the ag-grid documentation talks about row selection or range selection, but I couldnät find anything that talks about multiple cell selection in different rows and columns (not a range of cells)

Highlighting text and merging queries into single cell on Google Sheets?

I've got a Google sheet that gets data from two different forms. One form is for verifier, the other for shipper. Tabs are at the bottom. The purpose of this Google Sheet is to perform verification of LPNs (serial numbers) scanned/entered into both forms.
Main sheet contains Sales Order #, for which somebody in logistics checks for "Verifier LPNs" and "Shipper LPNs" are a match for eash Sales Order #.
In cell C6 on Main Form I have put together a query function, with text join and array formula to merge the data received from "Verifier LPNs - Form". The verfier person should be able to go back and scan the same "Sales Order #" and enter new LPNs, with data on Main Form getting merged.
I need some help with the following:
-Merging the LPNs entered vertically (even if entered at a different time). New line is ideal, but also, is there a way to adjust row height automatically? Row height only shows 1 line as default.
Query function is not letting me drag it down for others rows while changing the reference to '"&$A$8&"' automatically going down to the respective row in column A.
-Highlighting the LPNs that appear under "Verifier LPNs" if they are not present in the "Shipper LPNs" column. See attached image for how data should look if not present in the "Shipper LPNs" column for that SO #.
Right now, when I submit more LPNs into the form for verifier, they are joined horizontally, I believe this is due to the text join function.
Link to Google Sheet:
https://docs.google.com/spreadsheets/d/1y1JV6rtytn7eQevy3TvFT-gTk75AuMGjnRJPduJrUOw/edit?usp=sharing

Link two cells in google sheets with autofill

First of all I would like to thank you for your time.
I have a google data studio report that extracts data from a google sheet. The data studio sheet gets values from a google form (in the form of another tab in the sheet). Altough the cells are linked, right now I have to drag the cells in the data studio sheet to pull the values from the forms sheet. If there are no values it can´t pull anything and I would like to have real time values in the google data studio as soon as a form is filled.
Right now all I have is a simple (='Form '!C55) to pull. What I would like to do is if there is a new value in the following cell in the forms sheets then the following cell in the data studio sheets pulls it so it can go to the report in dat studio.
Cheers to all!
Try this formula, in column A, after your last row of good data. So perhaps in Dados!A91. Note you will need to first delete everything in all of the cells below and to the right of A91, since this formula is filling everything:
=QUERY('Formulário '!A9:O;"select A,G,D,J,M,H,E,K,N,I,F,L,O where B <> '' ";0)
This queries your Formulário sheet, and pulls all of the data starting in row 9 (since that is what you were showing with your formula before), and selects all of the correct columns in order.
Please test it out with a test form submission, to see that it works as expected, and that it is copying the correct columns, in the right order. Let me know of any questions or issues.
I'm not positive how sheet updates work when there is no active user logged into the sheet, but I suppose when Data Studio goes to pull from Dados, it will first ensure that it has the latest data from all formulas.
Update
To have the Max and Min values,which you say should be the same all the way down the column, add a formula like the following in the header row (row 1) of your Formulario sheet:
={"Cloro Max.";ArrayFormula(IF(LEN(A2:A);1,5;""))}
That gives a value of 1,5 for a column labelled Cloro Max. Be sure to delete anything from row 2 down, in that same column, or the array formula gives a #REF error, since it can't put data when there is already data entered in those lower cells.
You can change the text to create a Max or Min column for each value you want, in columns Q to V. Change the 1,5 to whatever number you want, such as 0,5 for Cloro Min.
It will always add the value(s) to each new row as it gets added from a submitted form response.

SSRS formatting row colors based on attribute values

I have a problem with my report. I want to change colors of rows in my report based on what value is inside specific columns.
For example I have 6 columns: name, description, from currency code, to currency code, exchange rate, last import date.
I want to format my table like this:
=IIF(Fields!last_import_date.Value<>Today(), "Red", "LimeGreen")
=IIF(Fields!name.Value= "HMRC UK" & Fields!last_import_date.Value<>Today(), "Red","LimeGreen")
I want to join those two conditions but I dont really know how to.
I forgot to mention that in the second condition I have to change condition connected to date. It should check if field last_import_date value is within month that we currently having.
Try:
=IIF(Fields!name.Value= "HMRC UK"
AND datepart("M",
Fields!last_import_date.Value) =datepart("M",
Today()),
"LimeGreen",
IIF(Fields!last_import_date.Value=Today(),
"LimeGreen",
"Red"))
If the field is HMRC and the date this month then GREEN, if the date is today then GREEN, else RED

SQL Server 2005 Reporting Services Matrix Total Data Highlighting

I have created a SQL Server 2005 matrix with a total column.
I want to be able to change the colors of the totals only so they stand out from the rest of the data. I can change the color of the "total" label, but not the actual data.
Can anyone give me a clue of how to do this?
To test whether or not a cell is a total or not, you need to use the InScope() Function along with a heavily nested If statement. Jorg Klein does a great job of exlplaing how this works within a matrix (here)
Select the Total box and you can set the color in the properties page. If you want all totals to appear in the same color, this will do.
You can also conditionally format them, by putting an expression in the color property.
Check this link
Raj
Unless I'm mistaken, you can select the totals cell for editing it's properties by selecting the cell and then clicking on the small triangle in the upper corner of the cell.
Hope this helps,
Bill

Resources