how do i build a code to do the following:
i have 2 sheets sheet 1- Box Index & sheet 2- sign out.
i need to have a code that will take the numbers from sheet 1 cells A2:A120 and search sheet 2 column B for the matching number. if it find said number for it to look over 2 cells (d column) to the right to see if there is a date entered. if no date entered i need the contents of the A column of that row to be copied to the B column of sheet 1 next to the number that is was looking for. if date is entered in the d column to continue to look through the B column for the number again, if no other occurrence then return the code ITP in the B Column of sheet 1. Basically i'm trying to make a quick look up page for my inventory sheet as if will be forever growing as items go in and out of my facility. we only have 120 clients and i need to know what item number the have and what i have in stock at the facility. this code does not have to run with every update i make to the inventory sheet. i think i could make a macro button to run it so that it doesn't slow down or crash excel. i know i'm asking a lot. I'm trying to learn
i have 2 sheets sheet 1- Box Index & sheet 2- sign out.
i need to have a code that will take the numbers from sheet 1 cells A2:A120 and search sheet 2 column B for the matching number. if it find said number for it to look over 2 cells (d column) to the right to see if there is a date entered. if no date entered i need the contents of the A column of that row to be copied to the B column of sheet 1 next to the number that is was looking for. if date is entered in the d column to continue to look through the B column for the number again, if no other occurrence then return the code ITP in the B Column of sheet 1. Basically i'm trying to make a quick look up page for my inventory sheet as if will be forever growing as items go in and out of my facility. we only have 120 clients and i need to know what item number the have and what i have in stock at the facility. this code does not have to run with every update i make to the inventory sheet. i think i could make a macro button to run it so that it doesn't slow down or crash excel. i know i'm asking a lot. I'm trying to learn