Excel - Update a table - excel

I saw this question multiple times, and tried several solutions. But i could not get it to work. Hopefully someone can enlighten me.
I have one masterdata file that contains multiple columns with data. Furthermore i have one destination file that contains a view with only necessary columns for that group. The source is the masterdata file (both are on the same Sharepoint, but a different folder).
Masterdata file
Destination file
What I want to achieve is that the information in the destination file is updated when something changes in the masterdata file. It can be that a row (ruim/location) will be added, or information in a cell will change. For this I created the following flow:
In this example some names can be different because i altered them for the picture. But in the flow everything is correct. The error I get with this flow is "No row was found with Id '1'. This is the key value. I added the No in both files to use it as a key value. But for some reason it is not working. Any suggestions?
Thanks in advance,
Ben

Related

filling in a worksheet based on data from other worksheets

I am fairly new to VBA and I mostly write my scripts by recording (and cleaning it up), or looking on forums / websites for help and I try to addapt scripts to my needs.
However now I'm totally clueless what to do with my following hurdle in my project.
For each item in image below, where there is a value under the field with the date, I want in a new worksheet a separete line for each value with the corresponding reference and date.
But in the new sheet (result sheet), I don't want the reference, but the relating product number, that is found in yet another sheet (so by means of a lookup I assume ?), I will also need an PO number and PO line number, also found in the Master data file, and the date (twice).
The format of the result find cannot by changed , it needs to be uploaded in that format.
example of my confirmation file
example of masterdata file
result sheet
Actually I need to do a lot more actions but if I could get some help how to get started, that would be appreciated.
I searched online and in forums but I have no idea in what direction to look.

How can I use Power Automate to move data from one Excel file to the other?

I want to create a simple flow that does the following:
When a file is created in OneDrive,
If it ends with .xlsx
Get rows from this file's Table1
Add rows to the Master file
Move it to another folder.
That's it. I've tried "apply to each", I've tried a direct add a row, nothing is working (and I believe it's because I don't know what to put in the column fields in the "Add a row to a table" card.) I know the main flow works because in the end, the file is moved, but there are no new rows int he Master file. I attached two of the flows I tried for clarity (both of which failed.)
First try
Second Try
Thank you!

Match multiple columns of Excel and highlight if the value is a complete or partial match upto certain characters

I have two Excel files Source File and Working File. Source file has name of organisations which are blacklisted. The Working File has 11 columns in which the name of organisations are mentioned. I need to complete match or Partial Match upto certain characters in the Working File. If the Working File has complete or partial match those values to be highlighted with Red Background in the Working File. I tried some VBA codes but not having a working solution. I am just a beginner need help on this please.
Load the entries of the Source File in an array, go to the Working file and check Row by Row for each column, if the cell content is listed in the array. If yes, mark it red.

Dynamic Hyperlink in Table Issue

I am working with a Table inside of excel. I would like to have it so the number documents in the table are hyperlinks back to my file folder.
I am finding that the Hyperlink formula will not work in the table. Using the same formula outside of a table it seems to work.
I have the below formula in the hyperlink link_location:
=LEFT(CELL("filename",A1),FIND("[",CELL("filename",A1))-1)&
INDEX(Sheet2!$H$3:$I$19,MATCH(LEFT([#Number],1),Sheet2!$H$3:$H$19,0),2)&
"\"&[#Number]
In the above code;
The first part of the code identifies the file location.
Index in the code returns the name Processes for P for the Number (P009).
Returns: R:\Integrity Management\2. Document Control Management\Processes\P006
Error window coming up says: Cannot open specified file.
Ultimately it would be great if the "Number" items would hold the hyperlink instead of a separate column.
Current table set up
Not sure why. The links are currently working as intended today. If anyone has a reason why this issue occurred please let me know.

Multiple user editing single Excel file using Single GUI

could anyone suggest a way multiple user can access single Excel file(Database) using Single userform. I have a system where multiple users have to update single excel file (Adding or deleting record). So could any of you suggest how should i proceed. I know this is an software process question rather than a software code question. But still asking, if Anybody could help me as i cannot find a feasible solution to do so.
When you have a network share available, would 'Shared Workbook' do the trick? (sounds a lot like it to me). You basically check a box that the workbook is from now on 'shared'. Excel will allow several users in parallel to open the same file for editing. It will make sure that everyones writes end up in the file (and that each save gives you others' edits).
You can find more info e.g. here: https://support.office.com/en-ie/article/About-the-shared-workbook-feature-49b833c0-873b-48d8-8bf2-c1c59a628534?ui=en-US&rs=en-IE&ad=IE
This may not be what you want, but you an have multiple users editing multiple files, but have the data combined into a single file. This will work as long as you have a fixed maximum number of data editors (say 20). Just create a simple data entry file with the userform built in that stores the data entered in a sheet. Now create 20 copies of this, one for each user, and store them in a file sharing environment like SharePoint or a shared network drive. Now you can have the master "database" file aggregate them into a single file by using workbook links.
In order to be able to do things with them as if they were a single data set, you need to do a sort of union of the data, which is not straightforward in Excel. Again, you need to establish a hard maximum size for each user to edit - for example, 5000 rows. On a Sheet in your database workbook, designate rows 2-5001 for the first user, then leave an empty row (usually I color it black to make it easy to spot), then 5002-10003 for the next user, etc. In Cell B2, put the formula
=if('J:\Network folder\[Data Entry 1.xlsm]DataSheet'!B2="","",'J:\Network folder\[Data Entry 1.xlsm]DataSheet'!B2)
and fill that to all the cells in that range (down to row 5001). Then repeat in the next range (B5002, for the second range:
=if('J:\Network folder\[Data Entry 2.xlsm]DataSheet'!B2="","",'J:\Network folder\[Data Entry 1.xlsm]DataSheet'!B2)

Resources