For example, I have two worksheets in my workbook. One workbook is for data only, it has 10 columns but the number of rows can increase or decrease.
I'm able to use the paste link special function on worksheet two, to link to the current data but is there a way that I can automatically update the link so that if I add additional rows on the Data worksheet that those will also appear on the other spreadsheet?
I'm hoping I'm clear on this.
Thank you for your help.
Jim
As #jeffreyweir stated, you do need to use code for this. In this case, I used ODE in C# .net after searching stackoverflow for examples.
Jim
Related
I've found several sources that appear to give me a solution to my need, but each one has come up short. I think my solution is in using VBA UNION; however, I am a complete VBA noob, so I feel like I shooting in the dark. Here is my need.
I have a worksheet with multiple tabs.
Each tab has the same headers for the first 10 columns.
I'd like a sheet that is a summary of the first 10 columns of all other sheets combined.
I thought if I made each sheet a table and named each, I could create a range of ranges and then just call that combined range on the summary tab. My thought is there a solution somewhere with Union here, but I don't know enough to know if that's right or not.
I need basically what this solution is, but rather than it running on a run command and doing a copy/paste, the result just needs to dynamically update. https://danwagner.co/how-to-combine-data-from-multiple-sheets-into-a-single-sheet/
As a Google Sheets user, this is super simple, but I have to use Excel for this. I feel like there must be a simple solution that I am just completely missing. In Sheets I'd have just done ={range1;range2;range3;etc} and I'd have had my output, if that helps someone get what I need.
Any help here is very much appreciated.
Part of what is great about VBA is that it is an event-driven language, so you can set your code to run every time a cell is changed, workbook is saved, etc. instead of having to press a button. I recommend reading up to section 3.1 of Excel VBA Events - An Easy Guide where it explains how you can use:
Private Sub Worksheet_Change(ByVal Target as Range)
CombineDataFromAllSheets
End Sub
I've searched all over but have yet to find someone who has been able to asnwer this.
I'm in the process of trying to create a macro to streamline requesting days off, so to help modernize the payroll sheet while still allowing it to be compatible with the legacy system.
I want to have this sheet be the input:
And then the macro (activated from a button click)
would copy that data, find the associated employee, then paste to fit with the legacy system as shown below:
So the macro would match the respective employee of each entry, and paste the respective entry to the next entry in the log of the employee. Any idea of how to go about this?
I am completely lost and not sure where to start.
Maybe you could show your code and ask a concrete question about it? Because there's no problem in VBA to copy-paste any Range of Cells (or it's values, or it's formats etc.) with any logical conditions you need. MSDN has a clear example: https://learn.microsoft.com/ru-ru/office/vba/api/excel.range.copy
I am new to this stackoverflow and i can say that its a very interesting and resourceful website.
I need to share a workbook on a network and as you already know the workbook must not contain any table or XML maps but i prefer to use a table because it is an expandable range. Information are extracted from this table via formulas.
Is there any work around possible to share the workbook with the table included?
I do not want to use formula for an expandable range in order to maximize the efficiency of the workbook because there are already lots of formula in the workbook.
Besides what is the maximum number of users that can access the workbook at the same time, with each user having access to only one worksheet
Thanking you in advance for your precious help.
Best Regards
Jack
Here has:
Note first and last entries in the image.
And that it was the first hit to the Google query Excel 2010 spec
so please see also the first bullet point here.
Suppose I have several rows of data across different spreadsheets in the same workbook and I want to display (in a separate spreadsheet) only the rows which contain a specific string. How would I do that?
Without macros this gets a little clumsy, but one way to do it is with linking and filtering.
In your separate workbook, copy all the rows from the several worksheets that might be of interest and make sure that they are linked to the source workbook or worksheets. (If you are doing all of this from within the same workbook, you don't have to worry about the external linking.)
Then apply filtering to all of these rows, and set up your filter to look for the specific string that you need.
To reiterate #Stewbob's comment, there isn't really a 'clean' way to do this using only Excel formulas and little manual work.
As I don't believe OP required the work to be done in a separate workbook, you could just copy/paste all data into an additional worksheet and filter on the desired string should get you the results you're looking for.
I have an excel file that is a SEO report of a website. But the tool that generated the report included everything under the sun and most of it is junk. I want to filter out the important info such that I keep only records in the first worksheet that correspond to a record in a second worksheet.
Basically I want to keep all the records in the first sheet where the URL matches a URL in the "good url" list found on worksheet2.
Is there some cell formula I can use or macro or something???
Please explain how to implement the solution as it’s been a while since I used excel in any advanced way.
See the attached file for reference.
Thanks
I would recommend using a VLOOKUP function with an autofilter. The VLOOKUP function helps "link" data in two different sheets. See my explanation on this question.