Excel Multiple value look up and multiple results - excel

I have a list of Tasks: Portfolios, Programme of works, Projects, etc.
i have a document number that starts TMO-
These are in a long list TMO-1,TMO-2 etc with each one being associated to a Task title.
The photo below shows the fist few. In column AA and AB i have started to create some filters to see what portfolio number, and POW they are linked to. IN column AC there is a list of TMO-1, TMO-2 etc links for each line.
The issue is some of them have multiple values and i cant get that to work.
My working so far has been to separate the lists into lines as shown (so i took the list in column AC and split it into separate rows on a different page for clarity) i then used Text join to search. The search criteria for this i kept on a separate page also which was all the portfolios which go from TMO-1 to TMO-7 also shown:
As stated above the issue comes when looking at programmes of work POW as projects have multiple POW's. Once the Value is found in the finder tabs its just shown on the main output tab using =(to the cell on the finder)... any ideas ?

Related

Returning list of projects that are assigned to a person

I’m creating a project management template and I’ve bumped into problem.
I need to return a list of projects to 1 cell assigned to a certain member in a given time period (does project falls in a period or not).
When retrieving project names that are assigned to certain person in a period there is a problem because the range of cells that contains information of enrolled members includes several codes in text form - XX, YZ etc. F:F. Cells that include information about code assembled from 3 columns(based on the type of engagement) that could contain same person several times, cells that in that 3 columns also could contain several codes.
Ive managed to make a formula that retrieves list of projects based on starting date H:H, and deadline I:I in 1 cell:
No luck though with implementing binding to certain members. I’ve tried using another IF cycle:
{=TEXTJOIN(“; “;TRUE;IF($H$3:$H$13<=D$19;IF($I$3:$I$13>=C$19;IF($F3:$F$13=“*XX*”;$A$3:$A$13;””);””);””))}
Result - empty cell
I’ve tried implementing VLOOKUP and COUNTIF but so far unsuccessfully
I would really appreciate any possible solutions or workarounds, thanks
I think you can use a filter function to get this. I used an example on this google sheet, but it should work exactly the same in Excel. Basically you want to textjoin an array which you filter by meeting multiple and statements (*) along with one OR condition (shown with pluses) over four columns.
Double check the columns and ranges, but I think this works.
=TEXTJOIN(";",TRUE,FILTER($A$3:$A$19,
($H$3:$H$19<=$D$19) * ($I$3:$I$19>=$C$19) * (
(isnumber(find($B20,$D$3:$D$19))+
(isnumber(find($B20,$E$3:$E$19)))+
(isnumber(find($B20,$F$3:$F$19)))+
(isnumber(find($B20,$G$3:$G$19))) ))))

Excel Concatenate a string in multiple columns, count and remove the duplicates

Currently the stock process at my company is very manual and it normally doesn't get carried out due to the process being rather boring. Currently all excel based I am slowly moving over to SQL that will automatically update the information.
We have come up with a naming system/code for each item, this is made up from several fields on the excel document. However there is the same codes in different columns that we wish to remove for when we push into SQL (Basically we just want the 1 line item and a count of how many times it has been used)
It has to be dynamic. (I can add an extra tab to the excel document to do any magic required) and if possible not use any Macros
So the data starts like this:
#Counts and then the duplicates are removed to produce this list
I have tried a range of countifs/Vlookups and I can get it roughly working but its not dynamic enough and I end up having multiple rows of 0 Qtys
Hopefully this is enough information
Cheers all
It looks like a very similar question was answered here.
After plugging in that formula in a different column, you can use the CountIf function in the next column.

multiple lines made into 1 line of data

I have attached a picture of what im trying to do.
I run these reports on my techs once a week. on the left side of the picture it shows the service order number multiple times and then the the booked date and closed date the techs id number actual hours work and then sold hours. the problem is it has many lines with the same service order. i need to make it look like the line to the right. 1 usable line of data so that i can process the reports the way i need to.
Copy A1:E32 all your Data without column F and paste it in I1 it will be I1:M32 for example, select I1:M32 the new Data under Data Tab click on Remove Duplicates you will have one row for each different entry
If the Number in Ro-no (column I) is unique for each entry, use the following in N2:
=Sumif($A$2:$A$32,I2,$F$2:$F$32)
and drag it down
It will sum the Sold Hours in column F for each RO-NO
Change the references to include all your rows and keep $
Power query
One of solutions is to use MS power query addin. In Office 2016 and alike the PQ is built-in feature, located on the Data tab, Get and Transform group.
Let's say we have data like this:
We can use the Power query to Group By, like so:
The query will remember the steps you 'teach' it.

Relabeling Duplicates in Excel of Cells in direct proximity

Apologies for the tile gore - was trying to be descriptive.
I have a large lab result data set, and it has been found that one analyte was screened for twice per sample and i need to capture both sets of results. This results in me having a table similar to below where Antimony is listed twice. Is there a way to automate something either to flag the instances where i have two rows like that or rename to antimony-1 and antimony-2? Since I have 300 sites screened for the same things, everything shows up as duplicate and i can't use the simple methods. The main trigger is the proximity to another row where everything is matching except the results.
If I assume you have the data in you screen shot starting in cell A1 (and Soil as your site) I'd add to columns the first combines Site & Element (Column F in my example):
=A1&C1
Result: SoilAluminium
In the column next to that I'd have a formula:
=F1&COUNTIF($F$1:F1,F1)
Result - SoilAluminium1, SoilAntimony1, SoilAntimony2 etc
Note: Pay Attention to the $'s
I hope that works

Count cell(s) if another cell shows certain data

I am struggling work out the formula/function that I should be using for an excel spread sheet I have created.
A questionnaire is being sent out to clients asking for feedback of their recent business. I have one work sheet which will allow me to input the answers for each client and another showing the results.
I would like the results to be shown as a whole group and (using a drop down menu) for each sales adviser.
I have created the drop down menu and I am using the function 'Counta' to obviously count the number of 'yes's or no's etc. for each question.
The problem I have though is when trying to show the results for individual sales advisers I can't figure out which formula/function I should be using.
I have come up with the following:
{=IF(H1=Data!B3:B500,COUNTA(Data!$D$3:$D$500),"0")}
Where:
H1 = the drop down menu with the list of sales advisers.
Data!B3:B500 = the 'Adviser_names'.
Data!D3:D500 = the results for that inidivdual question.
The problem is I can't get the two columns to match each other in the results - i.e. if Data!B3 is the same as H1 then count Data!D3 ONLY; or/and (plus) if Data!B30 is the same as H1 then count Data!D30 only.
Use simply:
=COUNTIFs(Data!B3:B500,H1,Data!$D$3:$D$500,"<>")

Resources