mark available items

beman

New Member
Joined
Jan 25, 2017
Messages
8
Hi,

I searched the forum but couldn't find any issue similar to mine.
I hope someone can help me out.

I'm working with a pivot and I need to flag if all missing part belonging to an item are available and that the item can be produced.

It would be great if I can get the below as shown in the Produce column automated.

PartMissing Comp.NeededStockStatusProduce
123ABC88-3318-0150MissingNo
88-3333-0455AVNo
88-1793-0150MissingNo
456DEF88-0034-01120AvYes
88-5434-01135AvYes
88-0495-011157AvYes

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>

VBA code is also welcome :cool:

Thanks in advance for your help.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Assuming this presentation:

PartMissing Comp.NeededStockStatusProduce
123ABC88-3318-0150MissingNO
88-3333-0455AVYES
88-1793-0150MissingNO
456DEF88-0034-01120AvYES
88-5434-01135AvYES
88-0495-011157AvYES

<tbody>
</tbody>

In F2, paste then drag down the column.

Code:
=IF(D2>=C2,"YES","NO")
 
Upvote 0
Hi Logit,

Thanks for the reply.

What I want it to do is, that it will only state Yes on the column Produce when all components are available for that specific part.

So for part 123ABC, all should be NO in the Produce column, because all 3 components are required to produce part 123ABC.
And ones all components are available like for part 456DEF all should show YES, this will then be easy to spot if a part can be produced.


Assuming this presentation:

PartMissing Comp.NeededStockStatusProduce
123ABC88-3318-0150MissingNO
88-3333-0455AVYES
88-1793-0150MissingNO
456DEF88-0034-01120AvYES
88-5434-01135AvYES
88-0495-011157AvYES

<tbody>
</tbody>

In F2, paste then drag down the column.

Code:
=IF(D2>=C2,"YES","NO")
 
Upvote 0
Code:
=IF(D2>=C2,"YES","")

PartMissing Comp.NeededStockStatusProduce
123ABC88-3318-0150Missing
88-3333-0455AVYES
88-1793-0150Missing
456DEF88-0034-01120AvYES
88-5434-01135AvYES
88-0495-011157AvYES

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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