vlookup then copy and transpose paste a specific range of cells

MattTrust

New Member
Joined
Nov 5, 2023
Messages
3
Office Version
  1. 2011
Platform
  1. Windows
At a new job with very poor data I need to sort and I'm stock. Trying to ref. a job number, then have it look down a list of the operations, stop at the empty cell and copy and transpose paste it.

Does that make sense?
 

Attachments

  • Capture.PNG
    Capture.PNG
    31.3 KB · Views: 13

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
power query method
Book1
ABCDEFGHIJKLMNOPQRS
2Column1Column2Column1Column2Column3Column4Column5Column6Column7Column8Column9Column10Column11Column12Column13Column14
392657B&WCA926570000000000000
40JOBB&WCAJOBSAW2INSHOLDINSHOLDSAW2INSHOLDULTRAINSPECTINSFINALINSHOLDSHIPPINGCERTSCMTR
50SAW2
60INSHOLD
70INSHOLD
80SAW2
90INSHOLD
100ULTRA
110INSPECT
120INSFINAL
130INSHOLD
140SHIPPING
150CERTS
160CMTR
Sheet1



Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", Int64.Type}, {"Column2", type text}}),
    #"Transposed Table" = Table.Transpose(#"Changed Type")
in
    #"Transposed Table"
 
Upvote 0
or just copy and paste special --- Transpose
1699346254409.png
 
Upvote 0
power query method
Book1
ABCDEFGHIJKLMNOPQRS
2Column1Column2Column1Column2Column3Column4Column5Column6Column7Column8Column9Column10Column11Column12Column13Column14
392657B&WCA926570000000000000
40JOBB&WCAJOBSAW2INSHOLDINSHOLDSAW2INSHOLDULTRAINSPECTINSFINALINSHOLDSHIPPINGCERTSCMTR
50SAW2
60INSHOLD
70INSHOLD
80SAW2
90INSHOLD
100ULTRA
110INSPECT
120INSFINAL
130INSHOLD
140SHIPPING
150CERTS
160CMTR
Sheet1



Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", Int64.Type}, {"Column2", type text}}),
    #"Transposed Table" = Table.Transpose(#"Changed Type")
in
    #"Transposed Table"
This worked out, thank you.
 
Upvote 0

Forum statistics

Threads
1,215,159
Messages
6,123,346
Members
449,097
Latest member
thnirmitha

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