Single cell selection as input in ag-grid - angularjs

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)

Related

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

Sheets - Dropdown list based on items value

In google sheets from the table with items and its availability, I'd like to create a drop down list in a way to see only available items - so as in example on the drop down list i'd like to see Items A,B and E only, preferably with the corresponding quantity.
put this formula in Z column and create dropdown via data validation from there referencing Z column (then you can hide whole Z column > right click on column > hide)
=FILTER(A2:A; B2:B>0)

Filter row and populate

I have a form response sheet with different columns. I have a region column for every country. But when you respond to the form you have to select only one country. So in my sheet every row has only one country column filled. I would like to filter every row (and populate to automatically have new responses filtered) to have a new column with the region selected.
Sheet expected
In this case I only have 3 countries but in the real case I have about 40 countries.
Thanks for your help
try on row 1:
=ARRAYFORMULA(TRIM(TRANSPOSE(QUERY(TRANSPOSE(A:C);;999^99))))

How to count unique occurrences with criteria in excel

I'm using the below array formula to count the unique occurrences of text in column C using the agent name in column G as the reference. This is giving me multiple issues.
=SUM( --(FREQUENCY(IF(G3:G100000 = J5,MATCH(C3:C100000,C3:C100000,0)),ROW(C3:C100000) - ROW(C3) + 1) > 0))
Depending on the data set I'm using multiple agents will return a #N/A result and I can't figure out why.
Each dataset I'm using is 20k to 30k lines, so the formulas take a long time to process.
Any ideas how I could do this faster or better? Also any ideas why some agents get bad returns?
I am assuming that you are looking for the number of unique combinations of columns C and G.
Create a pivot table and check the box to add this data to the data model.
Drag both column headers to the Rows section, also drag one (of those same two) into the the values section.
click on the the field in the values section > value field settings > summarize values by > choose Distinct Count. This removes all duplicates.
Click the Row Labels filter and uncheck the blanks.
You can drop in new data then right-click on the pivot and refresh to see the new results. See the image.

How have a row change color from data in a cell

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.

Resources