Insert the value of a different column depending on matching cell value

suzeet

New Member
Joined
Oct 8, 2018
Messages
3
Hello Everyone
Hope you are doing good. I want to put the value of SEQ NO in the SEQNO_I column when bot the ID column values matches. As per example below, when ID 4280 matched, SEQ NO 559 inserted in the SEQNO_I column

SEQ NO
ID
SEQNO_I
ID
ADDRESS
55942805594280 1155 PRESSLER ST
634567855942801515 HOLCOMBE BLVD
549690155942801515 HOLCOMBE BLVD UNIT 1354
3581648355942801515 HOLCOMBE BLVD UNIT 1534
496198145496901100 NAVARRE PL
54969011915 LAKE AVE
358164831812 FITZWATER ST
496198141045 SOUTHCREST DR STE 200
496198141250 HIGHWAY 54 W STE 102

<tbody>
</tbody>
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Welcome to the MrExcel board!

1. Can you confirm that you have shown the sheet with the results you want and that the SEQNO_I column was originally blank?

2. Are you looking for a formula solution or a macro?
 
Upvote 0
Here's a formula suggestion. Is this what you meant?
Formula in C2 is copied down.

Excel Workbook
ABCD
1SEQ NOIDSEQNO_IID
255942805594280
363456785594280
454969015594280
5358164835594280
6496198145496901
75496901
835816483
949619814
1049619814
Sheet1
 
Upvote 0
Here's a formula suggestion. Is this what you meant?
Formula in C2 is copied down.

Sheet1

ABCD

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:70px;"><col style="width:54px;"><col style="width:76px;"><col style="width:54px;"></colgroup><tbody>
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]1[/TD]
[TD="align: right"]SEQ NO[/TD]
[TD="align: right"]ID[/TD]
[TD="align: right"]SEQNO_I[/TD]
[TD="align: right"]ID[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]2[/TD]
[TD="align: right"]559[/TD]
[TD="align: right"]4280[/TD]
[TD="align: right"]559[/TD]
[TD="align: right"]4280[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]3[/TD]
[TD="align: right"]634[/TD]
[TD="align: right"]5678[/TD]
[TD="align: right"]559[/TD]
[TD="align: right"]4280[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]4[/TD]
[TD="align: right"]549[/TD]
[TD="align: right"]6901[/TD]
[TD="align: right"]559[/TD]
[TD="align: right"]4280[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]5[/TD]
[TD="align: right"]358[/TD]
[TD="align: right"]16483[/TD]
[TD="align: right"]559[/TD]
[TD="align: right"]4280[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]6[/TD]
[TD="align: right"]496[/TD]
[TD="align: right"]19814[/TD]
[TD="align: right"]549[/TD]
[TD="align: right"]6901[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]7[/TD]

[TD="align: right"]549[/TD]
[TD="align: right"]6901[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]8[/TD]

[TD="align: right"]358[/TD]
[TD="align: right"]16483[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]9[/TD]

[TD="align: right"]496[/TD]
[TD="align: right"]19814[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]10[/TD]

[TD="align: right"]496[/TD]
[TD="align: right"]19814[/TD]

</tbody>

Spreadsheet Formulas
CellFormula
C2=INDEX(A$2:A$6,MATCH(D2,B$2:B$6,0))

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

Yes, this was what I am looking for. Thank you very much
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
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