I have two excel sheets (in two separate files). I need to write a macros that will look at column Q on sheet "InspectionPlanByContract" and observe if the each cell is filled or not (cell either has "No Insp Req" or is empty). Each of these cells is connected to a corresponding Item No.
If cell is filled with "No Insp Req," then column AI in Sheet1 (of the second excel file) needs to be filled with "NAR." Right now, I have a function to do this:
=IF(ISNUMBER(SEARCH("No Insp Req",'[Copy of InspectionPlanByContract_Excel_041813A2.xlsx]InspectionPlanByContract_Excel'!$Q$1:$Q$4421)),"NAR","")
The problem is, some of the cells in column AI (on Sheet1 of the second excel file) are filled, some are not. If the cells (in column AI) are filled, I need that infomation to remain; if the cell is empty, I need the cell to be updated (either filled with NAR, based on the information above or left empty).
All of the information in the spreadsheets corresponds to specific item numbers and other info. I need this info. to stay intact.
Bookmarks