Multi Part IF statement

mossman65

New Member
Joined
Jan 28, 2011
Messages
18
Good Morning.

I have been looking through the forums to find a solution. I'm going to keep looking but I thought i would post to see if some one could point me in the right direction. I'm a novice at Excel so please pardon my ignorance.

I would like to run a IF statement that will first compare the part numbers in column A and C. IF the part number in column A does not appear in column C delete the entire row. DONE

Second i would like to compare and update based on the part numbers and inventory count.

IF Column B count differs from column D count, update column D with the count from column B

The data:
A B C D
1-25182-C 1 1-23182-X 0
1-25182-D 1 1-23202-X 0
1-25182-DO 1 1-23242-X 0
1-25182-F 79 1-25182-X 0
1-25182-G 0 1-25201-X 0


Thank you very much!
Aaron
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
you can't delete a row with a formula. That will require a macro solution
Thank you for your reply. I have manually taken care of the deletion.

I now have to workbooks that i need to compare and update the inventory quantity based on the part number. Is there a simple formula or macro that will help me accomplish this?

Thank you!
Aaron
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,726
Members
452,939
Latest member
WCrawford

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