简体   繁体   中英

Substituting cell values in Excel based on matching criteria

I'm not sure is my Title correct, but I don't know how else to put it. Not an Excel expert so I would need help here.
I'm having COL A and COL B, COL A containing a name and COL B containing a link to COL A. All values in COL A and COL B are unique.

Then I have COLUMNS C, D, E, F, G, H containing values from COL A.

I need to replace each value in COLUMNS C, D, E, F, G, H with the value from COLUMN B (link).

Maybe a screenshot will explain it better. 在此处输入图片说明 I really don't know how to do that, so straight to the point answer would be awesome. I'm working with Google Spreadsheets and Excel, but I don't know how to create macros, so solution with formulas would be appreciated.

Im not sure how to replace the value in the Column C,D...H but you can get the values in corresponding columns I, J...N

Step 1: Enter the follwing formula in Cell I1

=INDIRECT((ADDRESS(MATCH(C1,$A:$A,0),2,3,1)))

Step 2: Copy the formula to all cell in Column I, J, K, L, M and N Note- The formula already has absolute and relative reference in it so there is no need to change the formula for each cell

Step 3: Copy Column IN and use "Ctrl+Alt+V to paste in place of Columns CH and select "Values" in the dialogue box and hit enter

You can leave out step 3 if you dont mind having a second set of links alone.

I'm not an expert in Excel but I believe my solution gets the job done although there may be more efficient ways out there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM