I'm a beginner. I have 4 tables like below . I'm able to acheive result with either one of UAT, IT, Prod but not all 3...
Should we use pivot?
Please help to achieve result.
Related
How to get data from 2 columns, in different tables within Excel Power Query, to sum into 1 column?
For example: Table names - Main_Company_HR_Data and Company1_HR_Data -- Fields I want to combine: Main_Company_HR_Data.Gross Company1_HR_Data.Gross.
Within the Data Model; I have established the connection to my data warehouse, and have linked the tables in Power Query as well. I added a column and attempted several suggestions from multiple sites. None work. I have been using: Calculate(SUMX(Main_Company_HR_Data.Gross))+ SUMX(Company1_HR_Data.Gross). And other iterations of the sort, and it doesn't work.
I had this issue, and the way I tackle it, is to make it as simple as possible.
Try this:
Enter this code as a formula, adding a column, in the tab which will have the field summed.
=LOOKUPVALUE('Company1_HR_Data'[Gross],'Company1_HR_Data'[Unique_ID],'Main_Company_HR_Data'[Unique_ID])
Create a column to sum the two in the same tab you created the above formula.
='Main_Company_HR_Data'[Gross]+'Company1_HR Data'[Gross]
Looking to use VBA to compare two tables, with three columns each against each other. Beginner here and very lost.
They may have a different amount of entries each, and there may be some in table A that aren't in table B, and vice versa
Some of the individual Columns may match but trying to work out how to make sure all three columns are compared as one against all three columns in the other table
For example
xyz123 55.50 12/07/21 if compared with XYZ123 54.55 12/07/21 will show up as not a match, because the middle column is a different number.
Have attached a picture below. For the most part, and unlike the photo, each table will be in a completely random order, and its unlikely that there will be the same entry in table 1, row 1, as table 2 row 1
Ideally, I'm trying to create two new table to the right of the original tables, the first one being the entries table 1 has, that table 2 does not have. The second one being the entries table 2 has, that table 1 does not have.
Have attached an example below of the end result I'm looking for out of this. The four rows on the left are entries that the first table has but the second table doesn't, and the rows to the right are all entries that the second table has, but the first table does not.
I've tried to search on this but haven't found something that matches what I've got, and I'm struggling to adapt someone else's code to my specific problem
Any help on this would be greatly appreciated
Maybe not a direct answer to your problem but is this data also in a database somewhere or are you familiar with Ms Access? As you could open the tables in Access, and it is pretty easy to do this kind of thing with data bases.
If not, then yes, it is do able with VBA. Numerous ways of doing it.
The simplest is to scroll through one table a line at a time and compare it with every row in the other table and match or not. This will work with small tables and be easy and quick but for large data tables it would be wasteful and may take a long time to complete.
Apologies if this has been asked and answered but I haven't managed to find a match.
I have built a spreadsheet that lists all the movies in my collection. In that I have two columns that contain the Genres and four that list up to that number of principle actors like this...
A given genre can appear in either of those two columns D & E. An actor's name in any one of columns G,H,I,J. What I want to be able to do is have a filter that shows all the values across all the relevant columns in a drop-down list, as you get when you filter a single column. In other words, when I click the filter for Genre it shows 'drama' in the drop-down whether 'drama' is in column D or E and if selected shows results where it's in either column. Similar for actors names.
Is it possible to achieve this? I know I can use advanced filter to build an 'OR' query across column D & E but as far as I can see there's no way of making that list the available values across the columns and allow a choice - you have to know in advance what you are looking for.
You should also know I'm running an old release (2007) of Excel so any answer ideally has to work in that version, although if there is a way of doing so in a later release I am still interested in hearing that..
I think you would need to separate genres into 2 columns. say Genres A and Genres B, therefore you could apply filter for these columns
Is there a way to add values in Excel based off of values previously in table?
For example, in the table I currently have, is there a way to exclude adding the 1 from the "Attended" column in the "Sonics and Cold Cash" row because I already had a row with "Sonics" and "1" in attended? I don't want to add a 1 to the SUMIF function if I have already attended that team once before.
I hope this is clear enough for some help. Thank you!
edit: So far, I have a table that tracks how many times a team has been "attended". This works, however I am trying to use linear optimization for scheduling, and using the results table has some linearity problems. I'm trying to find a way to only use the table instead of a second, results table.
I have a list of numbers, ranging from 100000 to 101000 and i need to find which ones are not in order, is there anyway to do this ? As i dont want to go through a list of 1000 numbers
PS. I am taking this data from SQL So in this instance i cannot sort the data. I just need to know which are not in correct order
If your numbers start in A1 then:
=IF(SMALL(A:A,ROW())=A1,"")
in Row1 and copied down should indicate those that are out of order.
If it is just the number in the SQL entry you can sort it directly when writing the query using ORDER BY in your SQL statement