copying cell value from columns that will change

jbrown021286

Board Regular
Joined
Mar 13, 2023
Messages
88
Office Version
  1. 365
Platform
  1. Windows
Tru Video Compliance report 12.23.csv
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1Technician12/17 Uploaded12/17 Sent12/17 Viewed12/18 Uploaded12/18 Sent12/18 Viewed12/19 Uploaded12/19 Sent12/19 Viewed12/20 Uploaded12/20 Sent12/20 Viewed12/21 Uploaded12/21 Sent12/21 Viewed12/22 Uploaded12/22 Sent12/22 Viewed12/23 Uploaded12/23 Sent12/23 Viewed12/24 Uploaded12/24 Sent12/24 ViewedTotal Uploaded Total Sent Total Viewed
2
3Gustavo Alcaraz
4Carl Alexander444443444222444181817
5Zirie Benton
6Quenya Bogle13138119666512129161412585440
7Jemira Brittain
8Jeffrey Brown221111332443776171713
9Brandun Browne332443111331444151511
10CHRIS BURTON55455233232116159
11JUSTIN CALKINS
12TIONA CALLAWAY44499513139
13Israel Cardona332444111332444151513
14Aaron Cromer
15Ciera Farrow777554887221444262623
16Scott Ferrell
17Jesse Gentle
18KEDRIN GIBBY666110222333554171715
19Alexander Gomez
20Jamar Hassan1010955312119665333226
21PETER HEM443111554333131311
22BILLY HUMMEL
23BRAYAN JIMENEZ222442111111886
24Lindsey Kniesly
25Justin Lewis332554886
26Garrett Maddox111442222665131310
27Jake Maddox
28Venro Mayo1002003002003001100
29BRANDON MCGHEE
30Terence Mckibben
31Jada Moore1212888555477612128444431
32Dylan Murphy
33Alex Oliveros
34Angel Ortiz11122122022233310107
35Ramy Oum444222330554141410
36TRE REDD222553222333121210
37Kirsten Reid
38Ronnell Rhodes
39Joshua Shreve442666553886774303021
40EVAN SPIKES
41DANNY STATON
42Gerardo Torres333010553554554775252619
43Jonathan Tuzzo443443221554151511
44Aldo Vaquera
45Aldo Vaquera
46aldo vaquera222221222554444151513
47Robert Walker
48Jenn Wall
49Total807965605737737052767357817356787864448430331
Tru Video Compliance report 12.

Cell Formulas
RangeFormula
B3:B48B3='Tru Video Compliance report 12.'!A3

i need to copy cell values from 1 sheet to another the tricky part is that the raw data is from a report that will add columns to the source sheet depending on how many days are in the report. the data needed will always be in the 2nd to last and 3rd to last columns of the Tru Video Compliance report 12. sheet . what i am wanting to do is copy the value of the 3rd to last column of the matching employee to column C in the table on the performance sheet and the 2nd to last column to column D so i can use them to get a % value In column E. is there a good way to do this since the column will change from day to day?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I think that to truly understand what you want, we need to see a mocked up solution and not a sheet with empty cells. Help us to help you.
 
Upvote 0
I think that to truly understand what you want, we need to see a mocked up solution and not a sheet with empty cells. Help us to help you.
Cell Formulas
RangeFormula
B3:B48B3='Tru Video Compliance report 12.'!A3
E3:E48E3=[@Videos]/[@[RO''s]]

in this example Column C data is from Column Z in the Tru Video Compliance report 12. sheet. and D is from AA. but those data source columns will change with the number of days in the report they will just always be the 2nd and 3rd to last columns. does that help?
 
Upvote 0
Here is a power query solution that worked for me when I added additional days.

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Filtered Rows" = Table.SelectRows(Source, each ([Technician] <> null)),
    #"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Technician", "Total Uploaded", "Total Sent"}),
    #"Inserted Division" = Table.AddColumn(#"Removed Other Columns", "Division", each [Total Sent] / [Total Uploaded], type number),
    #"Changed Type" = Table.TransformColumnTypes(#"Inserted Division",{{"Division", Percentage.Type}})
in
    #"Changed Type"
 
Upvote 0
Here is a power query solution that worked for me when I added additional days.

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Filtered Rows" = Table.SelectRows(Source, each ([Technician] <> null)),
    #"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Technician", "Total Uploaded", "Total Sent"}),
    #"Inserted Division" = Table.AddColumn(#"Removed Other Columns", "Division", each [Total Sent] / [Total Uploaded], type number),
    #"Changed Type" = Table.TransformColumnTypes(#"Inserted Division",{{"Division", Percentage.Type}})
in
    #"Changed Type"
I'm not sure i follow what i need to do with this since it isn't a formula to put in a cell. could you walk me through what i need to do. i don't have any experience with "power query"
[/QUOTE]
 
Upvote 0

Forum statistics

Threads
1,225,201
Messages
6,183,526
Members
453,167
Latest member
Franz68100

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top