I have an apparel list in Google Sheets with the following columns:
This is only a little part of it. It actually has over 9K items. So here's the thing, I have to manually search each of those legacy numbers on a HTML list provided by the client, which looks like this:
As you can see on the last column, there are some texts like "Completed", "Customer Review", etc. Those values have to be parsed on the google sheet "Status" column. After reviewing some orders and copying those values, the sheet looks like this:
Now, imagine doing this process individually with 9K+ orders, it's a pain in the ass. So I thought there could be a way to automatize this, maybe parsing the values from the HTML through some Javascript to a CSV or anything similar. I've been doing some research but haven't found anything. I'm not asking you to do the job for me. I'm looking for a hint to start this correctly, as it would make a lot easier and faster the work.
Note: this "automatization" isn't a task or job requested to me, I'm a designer (with some programming background) and I have to do the manual process with a deadline, so I thought I could try and speed up this.
Thanks in advance.
I would try using IMPORTHTML so you can add the data from the HTML list on a different tab in Google sheets and then perform an INDEX MATCH or an ArrayFormula to get the data that you need.
There are many ways to compare the data that you need using different formulas, if you can create a demo sheet we could help you finding a formula that could perform the query of the data that you need. As a friendly reminder always try to include a minimal example that reproduces the issue. That way we can provide better insights about what you want to achieve.
Related
I am very new to html and JavaScript.
My project is to make a website in html that can search excel for user-defined criteria and display results back in the webpage.
Example: a user searches the ID number #1234, and the website then displays information like name, location, gender etc. That correspondences with that ID number (ID number in col A).
The data is in excel, typically one row per unique ID. And is currently in xlsx format but this can be changed.
Sorry for the lengthy question and lack of coding example. I have searched many different options however I cant even get those to work.
Any direction or help on this would be greatly appreciated.
In my opinion, this is going to be a monumental task if you are beginning. I'd say you should start with a smaller project. Especially since you don't know where to start / what to search for on google. If however you can convert your data to json (assuming you own the data), that will be more reachable.
If you want to do it with excel data anyway, with javascript, there is this parser for spread sheet that can help you:
Parser and writer for various spreadsheet formats. Pure-JS cleanroom
implementation from official specifications, related documents, and
test files. Emphasis on parsing and writing robustness, cross-format
feature compatibility with a unified JS representation, and ES3/ES5
browser compatibility back to IE6.
This is the community version. We also offer a pro version with
performance enhancements, additional features by request, and
dedicated support.
I want to get the value of a cell in google sheets and be able to compare it to something later. When searching for the answer on the web, I was directed to many different places including the Visualization API, and the Sheets Script, but could not find the answer anywhere here. I know I have probably missed something, but I am new to this and would appreciate any pointers you could give.
You may want to use Google Sheets API wherein you can read and write cell values via the spreadsheets.values collection.
Then to be able to properly compare cell values, you need to create and update the conditional formatting within spreadsheets. I suggest that you also check conditional formatting rules.
Lastly, this thread regarding conditional formatting to compare cell contents might also help.
Here's what I want to do.
I have a big xml file (there are a lot of daily records... let's say for every 3 hours there are some production records (pieces, scrap and so on). Now... I parse this XML in jQuery and I want to put the data in a jqGrid then show it as a chart with highcharts. The problem is that I don't want to show every record... just the daily results or weekly or monthly so what I need is to sum up all those 3 hour reports by date or by week or by month. I know how to do it... but since there are a lot of records looping through the xml multiple times is not the best idea. So... is there any jquery function or something that will help me do this task more efficient? Or easier?
Thanks! If you didn't understand what I want please ask and I'll add more details.
You can try use client side grouping with groupSummary. See the demo from the answer as an example.
I am not sure that it's exactly what you need, but I hope that you can change the solution so that it's corresponds your requirements.
Is it possible to write a program to grab the online search result?
Specifically, I want the data from http://portal.uspto.gov/external/portal/pair
sample data are application numbers, for example 9078871,10595401
Yes, they have CAPTCHAs, and I'm willing to type those in by hand. The problem is I have more than 500 application numbers, what shall I do? Are there any easier way for me to do this?
Thanks in advance! Also, the search engine seems to be written in javascript, but I am not exactly sure.
Sure it is possible and why should it not.
I do not know your gap in knowledge that would enable you to archieve this task as you didn't pointed that out.
Step by Step...
Analyze the Website' s code to see how links and content are generated.
Download the source code programaticly
Generate the hyperlinks to your search results
Parse the related data (I have always done this with some ugly regular expressions)
I have digged a little bit in the site you mentioned and what really can be said is that it won't be a 1-hour action as it's writte in Java (JSP; Java Server Pages).
What I so far found out is that you first have to write an equivalent of the function getDossier or use a Webbrowser control that enables you to call javascript manually to get the search results. Then you can simply bake some regular expressions together to parse the data out of the table.
I'm looking to create or find a screener tool similar to this that will read through the records in a database, allow you to select the criteria, create a histogram of said records and criteria, and allow the user to sort and filter through the data, just like the Google Stock Screener.
How would I go about creating something like this or is there somewhere that I could find a plug-in that would allow this? Thanks.
I think Flot would be a good javascript library to try for this. I've used it to display share market data in the past and it deals with time series data fairly well. It's not very hard to add interactive elements.