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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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