heres the link to the sample file to use macro
T2 TEST MACRO.xlsm
below are all the rules i follow manually and putting them all in one macro would just cause the data to be incorrect so i need it to be 3 separate macros. ive worded it best as can. thanks
Macro 1
If column S has keyword “YES” then put in column H in house repair UNLESS column N has the word Telescope, Lenses, Camera, projector then leave alone ALSO if value is 500 or greater leave alone but highlight the line in blue
If column T has a date that is older than 3 years from todays date put in column H in house repair
IF column O is under $20 then put in column H LR
Macro 2
If column F has keyword Manfrotto, Godox, Yashica or Tiffen and column G is TESTED CONFIRMED DEFECTIVE or TESTED CONFIRMED DAMAGED then put in column H “in house repair”
If column F has keyword Viewsonic, LG or NEC , column N has keyword “monitor” and column W is Defective / unspecified then put in column H pic needed
If column F has keyword SANUS or Middle Atlantic then put in column H Levi stuff
If column F has keyword Dell and column G has TESTED CONFIRMED DAMAGED and column N has the word monitor then put in column H LSI IF it’s not then put in house repair
If column F has keyword HP or Apple and column G is blank or MANUFACTURE and column N has keyword “Printers, Workstations, Monitors, Desktop, Macbook, Tablet, Smartwatches or Notebook” then put in column H TT
If column F is Sony, column N has keyword “headphones” and column G is TESTED CONFIRMED DEFECTIVE or TESTED CONFIRMED DAMAGED then put in column H in house repair, if column G is blank put in column H TT
If column F is B+W and column G is either TESTED CONFIRMED DEFECTIVE OR TESTED CONFIRMED DAMAGED then put in column H in house repair
If column F is Google and column G is MANUFACTURE put in column H TT
Macro 3
If column G has keyword TESTED CONFIRMED DAMAGED and column O is less than 300 then put in column H in house repair
If column G has keyword Liquidate then put in column H in house repair UNLESS column N has the word “Monitors” or “Printers” put in column H LSI
If column W has key word “Open Box” highlight the line in yellow
If column N has key word PRINTERS-Inkjet Printers, PRINTERS-Laser Printers, PRINTERS-Large Format Printers, PRINTERS-3D Printers, PRINTERS-Shredders AND column G has keyword “tested confirmed defective or tested confirmed damaged put in column H in house repair
If column N has keyword Mirrorless Cameras, DSLR Cameras or Point & Shoot Cameras and column P has ZNFI then put in column H TT
If column N has keyword “SCANNERS-Flatbed & Document Scanners” and column W is Defective /unspecified or Damaged put in column H TT
If column N has key word Commercial Monitors, Computer Monitors, Camera Monitors or Recording Monitors and column G is TESTED CONFIRMED DAMAGED and column O is below 800 put in column H in house repair
If column N has keyword Motherboards, column G is TESTED CONFIRMED DAMAGED and column O is less then 300 then put in house repair in column H
T2 TEST MACRO.xlsm
below are all the rules i follow manually and putting them all in one macro would just cause the data to be incorrect so i need it to be 3 separate macros. ive worded it best as can. thanks
Macro 1
If column S has keyword “YES” then put in column H in house repair UNLESS column N has the word Telescope, Lenses, Camera, projector then leave alone ALSO if value is 500 or greater leave alone but highlight the line in blue
If column T has a date that is older than 3 years from todays date put in column H in house repair
IF column O is under $20 then put in column H LR
Macro 2
If column F has keyword Manfrotto, Godox, Yashica or Tiffen and column G is TESTED CONFIRMED DEFECTIVE or TESTED CONFIRMED DAMAGED then put in column H “in house repair”
If column F has keyword Viewsonic, LG or NEC , column N has keyword “monitor” and column W is Defective / unspecified then put in column H pic needed
If column F has keyword SANUS or Middle Atlantic then put in column H Levi stuff
If column F has keyword Dell and column G has TESTED CONFIRMED DAMAGED and column N has the word monitor then put in column H LSI IF it’s not then put in house repair
If column F has keyword HP or Apple and column G is blank or MANUFACTURE and column N has keyword “Printers, Workstations, Monitors, Desktop, Macbook, Tablet, Smartwatches or Notebook” then put in column H TT
If column F is Sony, column N has keyword “headphones” and column G is TESTED CONFIRMED DEFECTIVE or TESTED CONFIRMED DAMAGED then put in column H in house repair, if column G is blank put in column H TT
If column F is B+W and column G is either TESTED CONFIRMED DEFECTIVE OR TESTED CONFIRMED DAMAGED then put in column H in house repair
If column F is Google and column G is MANUFACTURE put in column H TT
Macro 3
If column G has keyword TESTED CONFIRMED DAMAGED and column O is less than 300 then put in column H in house repair
If column G has keyword Liquidate then put in column H in house repair UNLESS column N has the word “Monitors” or “Printers” put in column H LSI
If column W has key word “Open Box” highlight the line in yellow
If column N has key word PRINTERS-Inkjet Printers, PRINTERS-Laser Printers, PRINTERS-Large Format Printers, PRINTERS-3D Printers, PRINTERS-Shredders AND column G has keyword “tested confirmed defective or tested confirmed damaged put in column H in house repair
If column N has keyword Mirrorless Cameras, DSLR Cameras or Point & Shoot Cameras and column P has ZNFI then put in column H TT
If column N has keyword “SCANNERS-Flatbed & Document Scanners” and column W is Defective /unspecified or Damaged put in column H TT
If column N has key word Commercial Monitors, Computer Monitors, Camera Monitors or Recording Monitors and column G is TESTED CONFIRMED DAMAGED and column O is below 800 put in column H in house repair
If column N has keyword Motherboards, column G is TESTED CONFIRMED DAMAGED and column O is less then 300 then put in house repair in column H