COUNTIF in Microsoft list - sharepoint

I want to make an asset manager in Microsoft List via Sharepoint. The list should define a serial number to every item like this:
The challenge is that a running number should be the last charachter of serial number which counts the items in the same category/subcategory.
In Excel with CountIf function it is easy to do. But in MS Lists or with Power Automate I did not find the solution.
Do You have any idea?
Thank You
I need a category dependent running number when I define a new item in list.

You should look at using Office Scripts through PowerAutomate ...
https://learn.microsoft.com/en-us/office/dev/scripts/overview/excel
... from here, you can write a script that performs the COUNTIF against the relevant dataset.
Note: My answer assumes that you have the correct licence to do so.

Related

How do I create a list that automatically pulls only unique instances from a second list - even when the second list is changed?

I know how to do this by hand, but I'd like to automate it since my 2nd list will change. My list is relatively long 5k+ with 2k+ uniques. I have found an array solution on exceljet but after trying it, it looks like the operation would take hours to execute.
Thank you,
Excel 2016 Windows.
You can Create an Excel Advanced Filter (tutorials)
leave the criteria values blank not the header,
and apply unique records
this is the fastest way to get unique records for long lists

Crop order scheduling in excel

I am looking for some advice, I have a small micro green business and I have an excel sheet that breaks down the seeds, seed batch amount required, yield etc and so on.
I want to create a tab where I can input a customer order, I then want excel to schedule that order based on the information contained above in a calendar format on a tab.
I also want excel to calculate the amount of seed required number of trays and assign the tray a number. All trays are number in this format "A123, A124, A125" etc.
I'm also keen for excel to then assign the seed batch to the order and a tray number to the order.
Firstly is this possible, I've used excel a fair bit from my previous work experience but this is quite new for me and I am keen to learn so if someone could point me in the right direction on a possible method and what I should be looking at!
It sounds like you are looking for a data(base) structure for this challenge. Yes, that could be done in Excel, some VBA skills will probably come in handy if you want to achieve it automatically. As a first step, you could e.g. set up something like this:
Mockup of a data structure
So you would at least need one table where you enter your orders, one list of trays and one table where you link your incoming orders to the trays. You might need more columns than I added in my mockup.
Hope that gets you started

Microsoft Excel Custom Function Slow and Commercially Available Software Does Not Work..Too Many Records?

I am having an excel issue that is driving me crazy, mostly because I feel like I have reached some limit of excel where I do not have the processing power to do this task.
I have two columns that I need to do the following:
one column contains record ids and the other column contains information about those ids. The total number of record id's is 185629 and the total number of records containing the information is 498776.
My goal is to compare the two columns and do a special vlookup that will return the information values and if it finds an id that is the same it will return it in the same record but with just a comma or some other delimiter to separate the information. The link I sent does a better job of explaining my task.
https://www.extendoffice.com/documents/excel/3120-excel-return-multiple-values-separated-by-comma.html
I have followed both methods, the first method works but it takes about 1 second to run per record, so with my calculations it would take 52 or so hours to complete the task. The other way, using the kutools plugin just sends the computer into limbo where it says not responding until the computer falls asleep as per sleep settings. I feel like this method will either not work at all or still take 52 hours as well.
I have also followed all the tips in this guide to make formulas run faster:
http://professor-excel.com/15-ways-to-speed-up-excel/
My processor is a laptop intel core i7-4720HQ 2.59GHZ and I have excel set to utilize all 8 cores.
My spreadsheet is originally from an SQL database which I imported though the data tab on excel. What do you guys think? Is this too much data for a custom vlookup to crunch quickly? Is there anything else I should try? Have you worked with this much data in Excel Before? Thanks!

Finding matching datasets in two separate spreadsheets (Excel/Pages)

Using Pages (or Excel) I'd like to do the following:
I have a list of around 150 order numbers in one spreadsheet (A).
In another spreadsheet (B) I have a database of all customers (thousands) including their order numbers and their email addresses.
I need to find a way to match the order numbers in (A) with the associated email addresses in (B), i.e. I need a list of all email addresses of the orders in list (A).
I'm not very good at Excel/Pages. Does anyone have an easy solution for this? Thank you!
This is a common =VLOOKUP scenario. Without knowing more about the specific details of what you need it's difficult to write something for you.
As you say you're not very experienced I would recommend using the Insert Function Wizard to put something together, have a look at this guide on how to create a vlookup formula through the wizard: http://www.howtogeek.com/howto/13780/using-vlookup-in-excel/

Excel Lookup with multiple queries

I have a question that I a may not be thinking correctly about. But I have an a long excel file that I pull from somewhere else with the following columns:
Project_Name1, Employee_Name1, Date_Worked1, Hours_Worked1
In another sheet I have these columns
Project_Name2, Employee_Name2, Begin_Date2, End_Date2, Hours_Worked2
This second sheet is filled with data, and works just fine.
However, it turns out that I have some employee names that I do not know that are also working on the same project. I need to figure out the names of the employees and then sum the number of hours they worked for a given period.
So I need a lookup with three criteria:
Project_Name1 = Project_Name2
Employee_Name1 <> {Array of Employee_Name2}
Begin_Date2 <= Date_Worked1 > End_Date2
Returning Employee name.
Once I have the employee name, I can do a sumifs=() and get the total hours they worked no problem.
I have tried a number of combinations of Index Match functions, using ctrl-shift-enter... and have not been able to figure out it. Any help would be greatly appreciated.
What you're talking about doing is extremely complicated and a little bit past what Excel was designed to do by default. However, there are a few workarounds that you can use to attempt to get the information that you're looking for.
It's possible to do multiple-criteria VLOOKUPs and SUMIFs by concatenating fields to make a multi-part identifier (Ex: Insert a new column and have a forumla in it like =A1&B1)
Open a new workbook and use Microsoft Query (I'm not sure if you can select from more than one sheet, but if you can select from multiple sheets like tables you should be able to write a semi-complex query to pull the dataset you want.
http://office.microsoft.com/en-us/excel-help/use-microsoft-query-to-retrieve-external-data-HA010099664.aspx
Use the embedded macro feature and use visual basic script to write out your business logic. (Hotkey is ALT+F11)
One way to do this would be to first create an additional column to the right of entries on the sheet you're trying to pull employee_name from: =ROW()
You could then use an array formula like you were trying to implement to pull the corresponding 'match' row:
{=SUM((project_name1=projectname2)*(employeename1<>employeename2)*(begindate<=date_worked1)*(date_worked1>end_date2)*(match_column))}
You could then use this returned match_column entry within the index as you described to retrieve the appropriate entries.

Resources