Hello I am hoping that you are able to help please
I have a worksheet which receives a feed into "Sheet 1". If an item in column "F" of sheet1 does not exist in column "H" of sheet 2 then our team need to add it on to Sheet 2. They then set column "R" of sheet 2 with how many instances there have been of the item in Sheet 1. When the item is closed on Sheet 2 - column R is set to "0"
What i need is a something that checks for the below things;
1) If the item does not exist at all in sheet 2 column H - Highlight the cell in red and send message to say that "new items have been found"
2) If the item in sheet 1 does exist in column H of sheet 2 but column R is set to "0" for that item - Highlight the cell in red and send message to say that "new items have been found"
3)If the item exists in sheet 2 but column R in sheet 2 is not "0" for that item then do nothing.
I have been going round in circles with IFAND statements on conditional formatting (I figured i could do a separate macro for sending the message based on the cell colour)
I have come up with this formula to put in to cell Z (unused on the feed sheet) for point 2, but nothing is changing as I would expect it to '=IF(AND($F2=MainRange,CompRange<1),"add to sheet" ,"Do not Add") '. MainRange is a dynamic named range on column H of the main sheet and COMPRange is a dynamic range on column R in the main sheet.
It is acting very strange in that it is highlighting a bunch of items as "do not add" but in the middle of those it is highlighting an identical item (of the same name) as "Add to sheet". It's also highlighting a whole bunch as #Value . I was going to do some conditional formatting based on these cell entries but if it's not changing the values right then the CF will not work.
Any help would be greatly appreciated as I have a bunch of guys who are not adding things that they should......... which is driving me somewhat potty.
Many thanks in advance
I have a worksheet which receives a feed into "Sheet 1". If an item in column "F" of sheet1 does not exist in column "H" of sheet 2 then our team need to add it on to Sheet 2. They then set column "R" of sheet 2 with how many instances there have been of the item in Sheet 1. When the item is closed on Sheet 2 - column R is set to "0"
What i need is a something that checks for the below things;
1) If the item does not exist at all in sheet 2 column H - Highlight the cell in red and send message to say that "new items have been found"
2) If the item in sheet 1 does exist in column H of sheet 2 but column R is set to "0" for that item - Highlight the cell in red and send message to say that "new items have been found"
3)If the item exists in sheet 2 but column R in sheet 2 is not "0" for that item then do nothing.
I have been going round in circles with IFAND statements on conditional formatting (I figured i could do a separate macro for sending the message based on the cell colour)
I have come up with this formula to put in to cell Z (unused on the feed sheet) for point 2, but nothing is changing as I would expect it to '=IF(AND($F2=MainRange,CompRange<1),"add to sheet" ,"Do not Add") '. MainRange is a dynamic named range on column H of the main sheet and COMPRange is a dynamic range on column R in the main sheet.
It is acting very strange in that it is highlighting a bunch of items as "do not add" but in the middle of those it is highlighting an identical item (of the same name) as "Add to sheet". It's also highlighting a whole bunch as #Value . I was going to do some conditional formatting based on these cell entries but if it's not changing the values right then the CF will not work.
Any help would be greatly appreciated as I have a bunch of guys who are not adding things that they should......... which is driving me somewhat potty.
Many thanks in advance