match columns and add value

philmatth

Board Regular
Joined
Oct 6, 2008
Messages
118
Office Version
  1. 2003 or older
Platform
  1. Windows
Hi,
I'm hoping this is possible so any help would be greatly appreciated.
I need to add a value of 1 in column B where the pID in column C doesn't exist in column A

For example the pID of 30 does not exist in column A

Sheet1

*ABC
1IDRemove_ProductpID
2909
312012
417017
518018
625025
726026
827027
931130
1032031
1133032
1234033

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:80px;"><col style="width:131px;"><col style="width:80px;"></colgroup><tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Gaz - that's perfect, if you're ever in Blackpool I'll buy you a few pints :)
 
Upvote 0
It's the better part of the Fylde - Poulton near Blackpool :) Nice market town with normal people!!!
 
Upvote 0

Forum statistics

Threads
1,203,502
Messages
6,055,772
Members
444,822
Latest member
Hombre

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