IF Row has same value in sequence then change row C?

AndyGray

New Member
Joined
May 31, 2017
Messages
30
Hi Guys, I'm trying to change the value on row C based on Row D sequencing....
Example.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Sold to C1
[/TD]
[TD]Business person D1
[/TD]
[/TR]
[TR]
[TD]Plastic Company Index c2
[/TD]
[TD]Plastic Company d2
[/TD]
[/TR]
[TR]
[TD]Small Plastic Company c3
[/TD]
[TD]Plastic Company d3
[/TD]
[/TR]
[TR]
[TD]Small window firm c4
[/TD]
[TD]Plastic Company d4
[/TD]
[/TR]
[TR]
[TD]Small bathroom fitter c4
[/TD]
[TD]Plastic Company d5
[/TD]
[/TR]
[TR]
[TD]Flooring Company Index c6
[/TD]
[TD]Flooring Company d6
[/TD]
[/TR]
[TR]
[TD]Flooring Company Index c7
[/TD]
[TD]Flooring Company d7
[/TD]
[/TR]
[TR]
[TD]Small Floor Company c8
[/TD]
[TD]Flooring Company d8
[/TD]
[/TR]
[TR]
[TD]Small Floor Company c9
[/TD]
[TD]Flooring Company d9
[/TD]
[/TR]
[TR]
[TD]Trade Person Index c10
[/TD]
[TD]Trade Person d10
[/TD]
[/TR]
</tbody>[/TABLE]

I need c2 to line up with D 2 3 4 and 5
Then I need C6 to line up with D7 8 and 9
and obviously C10 line up with D 10.

I tried in Cell C2 If D2=D1 Then Display cell C1. if not Display C2.... this never worked. Any suggestions are welcome.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

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