I have two google sheets. the first sheet shows people and hours worked
the second sheet shows people and projects worked.
I want to pull in the projects from sheet two into sheet one so that I have people, projects, hours worked in one sheet.
Sheet one is something like below
Person
Hours
Sam
12
Jen
5
James
6.2
Sue
4
Sheet two is something like below
Id
Person
Project
123
James
Something
569
Jen
abc
25
Sue
Test
456
Sam
best_Wing
The result I am looking for is
Person
project
Hours
Jen
abc
5
Sam
Best_wing
12
James
Something
6.5
Sue
Test
4
The names in the Person column on sheet 1 are hyperlinked. So the name is displayed in the Person Column, but when clicked on links to a different page.
I was trying to do a VLOOKUP, but I keep getting a formula parse error, I used the =TO_TEXT(A3:A) to pull the text from the hyperlinked field and use that as a Filter for the second sheet, but I am doing something wrong, somewhere.
=ARRAYFORMULA(IFNA(VLOOKUP(TO_TEXT(A3:A), FILTER({sheet2!$B$2:B, sheet2!$C$2:C}, sheet2!$C$2:C), 3, 0)))
Related
i All.
I have created below measure to reflects always 3 month figures when month slicer is used.
3R =
CALCULATE(COUNT('Order'[Order/ not ordered]),DATESINPERIOD('Date'[Date],LASTDATE('Date'[Date]),-3,MONTH)))
However, when I try to add salesman figures as filter with below formula, and click to month slicer it is directly show just choosen month figures not 3 months.
3R John =
CALCULATE(COUNT('Order'[Order/ notordered])
,DATESINPERIOD('Date'[Date],LASTDATE('Date'[Date]),-3,MONTH),FILTER('Order','Order'[Salesman]="John")))
on below link I have shared a sample for this. there are 2 different table and 1 matrix.
Matrix is named working and 1 of the table is named as "not working properly". not selecting any value on slicer. all data gives same data. however when clicked month slicer not named main table is changing and this is correct. also matrix is correct but table that I am trying to achive is not working.
What i am trying to achive is, 3 month roling data based on customer and salesman. when click for example 1 on month slicer table should give January 2020, December 2019 and November 2019 figures.
https://drive.google.com/file/d/1LoqSiKhHMFn_OioI2RnXOzjcIL9dPRjS/view?usp=sharing
below is the solution. worked for me.
3R John =CALCULATE(COUNT('Order'[Order/notordered]),DATESINPERIOD('Date'[Date],LASTDATE('Date'[Date]),-3,MONTH),'Order'[Salesman]="John"))
just remove filter('order', section and it is ok now.
Let me describe the one record structure in pseudo-code:
Record
UserName
E-mail
Items[8]
ItemPropertyA
ItemPropertyB
ItemPropertyC
ItemPropertyD
ItemPropertyE
There are 1-8 items in a record and exactly 5 properties each in each item. So I need to store these many records as (excel) table and I want it to be human readable, if possible. The straitforward approach is to put items and properties in 8 * 5 = 40 columns, but this is difficult to review. I'm going to place a JSON array of properties in each cell (one celll per item), using as many cells in each rows as needed. I'm just curious about other tree-to-table possibilities.
There is an alternative to 40 separate columns (some of which may be unused if there are fewer than 8 items in a record). You can use database style normalized records:
SHEET 1
RecordId UserName Email
1 Bobby bobby#example.com
2 Susan sueb#example.com
SHEET 2
RecordId ItemId PropertyA PropertyB PropertyC PropertyD PropertyE
1 1 Chocolate Electric Round Silver Hebrew
1 2 Raspberry Steam Trapezoid Brass Esperanto
1 3 Durian Gravity Bezier Titanium Bahasa Melayu
2 1 Vanilla Solar Rhombus Copper Pashto
Of course you could normalize even further and have just a single Property column, but the above seems perhaps enough when you know each item has exactly the same five properties.
How to get articles grouped by month, like this:
1. January
article 1
article 2
2. February
article 3
article 4
...
without hardcoding default joomla components and modules?
You can make a category for each month, and then put the articles in corresponding category.
-Category YEAR
--Category January
---Article 1
---Article 2
--Category Ferbuary
---Article 1
---Article 2
...and so on
Or
You could manually set the creation date for the articles (if you dont need to show the real creation date), and then sort the articles by date created.
You can put all your articles in a single category, add an "Articles Category" module, and then configure the grouping option to month.
See screenshot:
http://extensions.joomla.org/extensions/news-display/articles-display/articles-structured-lists/10731
check this extension it shows articles grouped by year and month(presented in a hierarchy)
i'm using linq to sql in .Net 2010 project, i'm preparing the data in a list to load the data in the rpt file.
the parent table (passport):
ID name passport_number
1 Donnie 123456
2 Monica 789797
3 John 587123
The child table (passport_addons):
ID parent_id addon_name
1 2 Bob
2 2 Beverly
I want the rpt file to show the list of all the passport, and the passport_addons records below them if exists, for example:
ID NAME PASSPORT NUMBER
1 Donnie 123456
2 Monica 789797
Bob
Beverly
3 John 587123
is that possible? and if it's possible, how to achieve it using linq to sql?
Because there are limited number of addons on the passport, maximum is 5.
I've added 10 columns to the passport table like this:
addon_1
addon_1_birthday
addon_2
addon_2_birthday
addon_3
addon_3_birthday
addon_4
addon_4_birthday
addon_5
addon_5_birthday
May be it's not the best solution, but it has satisfied the requirement, by using only 1 table for the Crystal Report.
And I hope that could help other people having same issue.
I'm wondering is there a possibility to create dynamic map of cities based on my database?
For example i have few cities in my db eg:
1 | Warsaw
2 | Cracov
3 | Poznan
4 | Poznan
5 | Poznan
6 | Warsaw
7 | Berlin
8 | Berlin
etc. This is based on registered users, and as you can see for example i have 2 users from Berlin, 2 from Warsaw, 1 from Cracov and 3 from Poznan. Now i'd like to count how many times unique city name is repeated. And i'd like to make an dynamic map based on this which will looks something like thad i've made in graphic editor
If count of city is bigger, then circle on it is bigger and it means that more people from that city where registered on my page. I'm looking for kind of that solution. It can me different and frpm different page but it has to be dynamic and change on every refresh, for example someone noew have registeres - whe i refresh it will add new city to map or if city exists before circle on it will be bigger.
Hope you understand me and you will help me ;)
regards
Darek