Grouping and copying data into other columns

esuriency

New Member
Joined
Aug 7, 2017
Messages
3
Hello! I'm not sure how to describe this well, but essential I have rows that contain IP Address and Computer information for a session. The IP Address and Computer info is currently in the same column, but different rows (with same Session).

Sample Excel file here. I'm provided with columns A-K, but need to fill out M-P. M-P would be copied down for all the rows until the Session changes.

Would a vlookup (or something) work for this, or would I need to make a macro?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hello! I'm not sure how to describe this well, but essential I have rows that contain IP Address and Computer information for a session. The IP Address and Computer info is currently in the same column, but different rows (with same Session).

Sample Excel file here. I'm provided with columns A-K, but need to fill out M-P. M-P would be copied down for all the rows until the Session changes.

Would a vlookup (or something) work for this, or would I need to make a macro?


M2=INDEX($I$2:$I$7,MATCH($C2&"SOURCE",$C$2:$C$7&$A$2:$A$7,0)) press CTRL+SHIFT+ENTER
N2=INDEX($I$2:$I$7,MATCH($C2&"SOURCE_CLIENT",$C$2:$C$7&$A$2:$A$7,0)) press CTRL+SHIFT+ENTER
O2=INDEX($J$2:$J$7,MATCH($C2&"SOURCE_CLIENT",$C$2:$C$7&$A$2:$A$7,0)) press CTRL+SHIFT+ENTER
P2=INDEX($K$2:$K$7,MATCH($C2&"SOURCE_CLIENT",$C$2:$C$7&$A$2:$A$7,0)) press CTRL+SHIFT+ENTER
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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