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.

Sold to C1
Business person D1
Plastic Company Index c2
Plastic Company d2
Small Plastic Company c3
Plastic Company d3
Small window firm c4
Plastic Company d4
Small bathroom fitter c4
Plastic Company d5
Flooring Company Index c6
Flooring Company d6
Flooring Company Index c7
Flooring Company d7
Small Floor Company c8
Flooring Company d8
Small Floor Company c9
Flooring Company d9
Trade Person Index c10
Trade Person d10

<tbody>
</tbody>

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

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
build the two lists on a sheet you will hide, then do an index/match to get the result
 
Upvote 0

Forum statistics

Threads
1,215,029
Messages
6,122,755
Members
449,094
Latest member
dsharae57

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