I have a range of cells, some merged that contain customer information. If the customer is attending or has a video demo I want a single cell that shows all the customers involved.
My cells look like the picture attached.
I want the last column to show all the customers to the left that have customer or video on the last line.
I have tried to put this code into a function in VBA
to see if the cell contains the text and then
to return the customer name.
I keep getting errors and haven't been able to figure this out.
Can anyone help me with a function module that I could use on a second sheet to create a list of customer blocks
Thanks
My cells look like the picture attached.
I want the last column to show all the customers to the left that have customer or video on the last line.
I have tried to put this code into a function in VBA
VBA Code:
IF(ISNUMBER(SEARCH("abc",A1:L5)),A1:L5,"")
VBA Code:
LEFT(T11,FIND("*",T11,2)-1)
I keep getting errors and haven't been able to figure this out.
Can anyone help me with a function module that I could use on a second sheet to create a list of customer blocks
Thanks