I have a controlled assessment at school, and one of the tasks is that you should have prices for different qualities of pet food and bedding.
I have tried using insert spinner in Developer, but it only works for number value, and I need high, low, and medium qualities of pet food and bedding.
Here is a screenshot of the animal table:
Related
my problem is as follows:
Imagine I have a large Excel dataset that has a company identifier in column (A) and long string texts within cells in column (B). These texts in those cells contain many words, imagine it as being the company description. I need to find fuzzy duplicates in this database, i.e. an example could be:
In cell B2 I have:
"Amazon.com Inc (Amazon) is an online retailer and web service provider. The company provides products such as apparel, auto and industrial items, beauty and health products, electronics, grocery, books, games, jewellery, kids and baby products, movies, music, sports goods, toys, tools and other related products."
and in cell B222 I have:
"%& COMPANY DESCRIPTION: Amazon is an online retailer and web service provider. Amazon provides products such as apparel, auto and industrial items, beauty and health products, electronics, grocery, books, games, jewellery, kids and baby products, movies, music, sports goods, toys, tools and other related products. Amazon is a great company."
So my point is: is there a way to find B222 fast and somehow show in B2 that there is a fuzzy duplicate, e.g. with an 80% match, in B222?
I have tried multiple tools such as Ablebits and the Levenshtein Distance in VBA. However I am not 100% satisfied with the result.
Thank you for any help!
Best,
I have a data set of players and their corresponding jersey numbers. My actual data set is larger but this sample should suffice for all intents and purposes. This data set includes the various specialties that the player has. There are categories that each specialty (sport) falls into. Albeit the formatting, I was able to get some valuable help earlier this week which helped me in arriving at a total tally for a numeric category in a cell with other numbers and commas.
The function that helped me was as follows:
=SUM(--(FILTERXML("<t><s>"&TEXTJOIN("</s><s>",TRUE,SUBSTITUTE($D$3:$D$16,",","</s><s>"))&"</s></t>","//s[.=" & K3 & "]")<>""))
However, in the data I have now, there are situations where one player will play two games which both fall into the same category (i.e., player 10 plays Soccer and Baseball and they both are sports that require a ball). What I want, is to be able to find the # of players that play a single sport that falls into one of the many categories. For example, I would like to find the number of players that play a single sport that requires a ball. So if a player plays two sports that require a ball, the tally should only count this player once. Is there a function that can allow me to avoid double counting of players across a designated category? I have also attached a screenshot of my excel worksheet below.
Solved (and edited)
I'm using Array formulas and "COUNTA" for solve both the [total tally] and the [player count] problems.
Formula for total tally:
->>> =COUNTA(FILTER($E$3:$E$30,NOT(ISERROR(FIND(","&H3&",",","&$E$3:$E$30&",",1)))))
Formula for player count:
->>> =COUNTA(UNIQUE(FILTER($C$3:$C$30,NOT(ISERROR(FIND(","&H3&",",","&$E$3:$E$30&",",1))))))
I have no programming experience, yet I am in a desperate need for a help. I am managing a large restaurant/catering company where i once a month have to make an inventory of more than 1.000 products. I have an excell sheets, that are devided into a categories, for example for the kitchen, there is Fruits And Vegetables, Dairy, Frozen, Fresh Meat etc.
It is really hard, to go around using a laptop and do the inventory of more than a 1.000 items manually, so i was thinking, since I actually have a barcode scanner, if there is a possibility to just go around, and scan the products, after scanning a products barcode, excell would take me to the row of the products that corresponds to the scanned barcode.
Right now, if i scan the barcode with a scanner while in excell, it will just add the scanned value to what ever field i am in currently. so the scanner works, all i need is to capture that scan, compare it to the all barcodes that are associated with products, so it could take me to the QTY field of that particular product.
For example, if i scan a Star Anis product with barcode 23135165, the excell should find that product, which is as per picture in field B6, and than take me to the field F6, which is where the quantity should be entered.
\So, in short, i scan a product that is in a dry storage, the excell finds a product within 6 different sheets via corresponding barcode, and takes me to the field where i can enter the quantity of that product :)
This would save me hours and hours of work :)
can this be done? Thank you :)
This is the picture of one of the sheets that i use when making and inventory.
I have a piece of coding which will order a list of people in order from the highest to the lowest performance (in percent). This means that if a person performs well and the person value goes up, they will then go up the list of people, this coding is as follows:
=IFERROR(INDEX('[Filename.xlsx]Sheet'!$A$4:$A$1000,MATCH(LARGE('[Filename.xlsx]Sheet'!$AS$4:$AS$1000,ROW()-4),'[Filename.xlsx]Sheet'!$AS$4:$AS$1000,0)),"")
dragged down
The coding above works from a piece of coding which ranks data so the higher the data, the higher the number will be:
{=IF(AR4="","",SUM(1*(AR4>$AR$4:$AR$1000))+1+IF(ROW(AR4)-ROW($AR$4)=0,0,SUM(1*(AR4=OFFSET($AR$4,0,0,INDEX(ROW(AR4)-ROW($AR$4)+1,1)-1,1)))))}
dragged down
So the code above pulls through the employees unique ID dependent on their performance percentage.
With the unique ID, I have used VLOOKUPS to get the rest of the data to come through with it, including name, country, sector etc...so if a person performance goes up, they move up the list and the correct data is kept on the same line.
Now the problem I am having is I want to assign manually these people to a job role using a data validation list in a new column that is where the problem begins.
So I have added a column where each cell contains a data validation list so when I give a person a job role...and somebody moves up the list, the rest of the data moves down BUT, the job role/data validation stays in the same cell and does not move down with the data. I was wondering if there is any way to counter this and make it so when a job role is attached to an employee it will move with that employee.
An example of the above:
Unique ID Name Country Performance JOB ROLE
123456789 tom UK 90% BOSS
987868564 bill USA 76% SALESMAN
162537456 steve sweden 52% WORKER
Now, in a case where steve gets 99% performance:
Unique ID Name Country Performance JOB ROLE (List)
162537456 steve sweden 99% BOSS
123456789 tom UK 90% SALESMAN
987868564 bill USA 76% WORKER
Notice the job roles stay in the same place? - Tom should have the BOSS job role, bill should be a salesman and steve should be a worker.
The situation is akin to the following:
Assume I am a store selling fruits, I would like to record the costs of each type of fruit. Assume the customer has specific tastes, and they can differentiate everything.
A fruit can be an orange, apple,
pear, or peach
It could be n days fresh from the vendor
The fruits come from different countries and have different taxes for export
Fruits are also valued by weight
Fruits could have handling requirements (Fridge,water sprigs)
Fruits could also be valued just because of different origins
One idea is to do what is done in some industries, assign a unique product code for each variation: e.g. Orange5dayfreshAustralia200gfridgeSydney
This however, would be a HUUUUUGE long list of values, and should any costs change, it would be hell to search for Apples from Turkey that are 200 grams have now 20cents more export tax. Adding new variables would also massively mess up the whole table and require much recoding.
The other way is to assume a standard orange, peach, apple and pear and different weight(2 dimensional table). On other tables, prepare a list of cost savings/increase for any given deviation. (Law of probability should show me I have 80% "standard" fruits, and 20% niche fruits from funky places having funky costs)
E.g. a 1 day fresh orange compared to a standard 4 day fresh orange is 50cents more, regardless of weight.
(Yes, this means the primary table would need to have at least one variable that dont affect the others)
Final constrain: The data entry is done by hired hands, needs to be simple to enter in Excel. The programing can be difficult, but not the general interface.
Any suggestions?
If the information needs to be encoded in the product code, you can use subcodes to build a complete product code.
Type of fruit
AP - Apple
OR - Orange
PR - Pear
PC - Peach
You can use Country Codes for the country, and other subcodes for handling and origin.
EXAMPLE:
AP06BR145HROR
is a Brazilian apple, six days old, weighing 145 grams, with HR handling and OR origins.
Obviously you would need a lookup table and foreign keys for each of the code types.
You seem to have twigged your problem - your data structure is wrong.
Your list is really a collection of attributes that apply to each "batch" of stock you purchase - except perhaps for "n days fresh" where the attribute is the difference between the attributes of date picked and date delivered.
So what you really want is a data table for each attribute type, and then a transcation data table where you add the attributes. The input is a form where the attributes are loopups.
You also need your pricing rules in a table, which you can use to calculate prices.
If your transaction table records both sales and purchases then you can filter on the attributes to report by any combination you like.
But the bit that interests me is how you work out how old the fruit is you are selling. You might know from the paperwork that you have purchased x oranges from Spain on one day and y oranges from Italy on another day, but in the box oranges are just oranges - so how do you tell which are which? Or are you planning to use a FIFO or LIFO scheme?