hercules89
New Member
- Joined
- Jan 24, 2019
- Messages
- 3
Hi,
I have a spreadsheet and I am trying to write a macro that searches based on whether a value in column I on sheet 1 appears in any cell in column G on sheet 2 and loop through al visible rows on a filtered range.
- if value in “12345” in cell I2 matches any cell between G3 and then last cell in column G on sheet 2 (number of cells in column G may change daily) then populate K2 with ‘accepted’
- If value doesn’t appear then populate cell K2 with ‘not accepted’
- I need this to perform this search on each filtered value cell in column I
I don’t have a clue where to start with the code for this so sorry for the lack of code, hopefully some expert can help!
Thanks,
Herc
I have a spreadsheet and I am trying to write a macro that searches based on whether a value in column I on sheet 1 appears in any cell in column G on sheet 2 and loop through al visible rows on a filtered range.
- if value in “12345” in cell I2 matches any cell between G3 and then last cell in column G on sheet 2 (number of cells in column G may change daily) then populate K2 with ‘accepted’
- If value doesn’t appear then populate cell K2 with ‘not accepted’
- I need this to perform this search on each filtered value cell in column I
I don’t have a clue where to start with the code for this so sorry for the lack of code, hopefully some expert can help!
Thanks,
Herc