Ok, so I'm new to VBA and am still figuring things out. I have a huge inventory audit I have to do monthly at work. We count all of our cars and they can fit into 5 categories. I need to label the categories to find any cars that didn't go in any of the categories and find out which cars I need to find. Below is kind of a dummy version of our actual template that I'm working on at home, but basically if a cell in B:F has ANY data in it, it need the status in column A to return with "Scanned", "Sold", "Wholesale", "InTransit" or "Whatever" (I forgot what the 5th category is). But one problem is, it's possible for column C and B or D and B to BOTH have data in them in which case I need to return the string I would use for C or D.
I was trying to run a sub like this; just to see if I could make it work for even one column, but it won't return anything. I'm sure I'm missing something small.
Sub sort()
If Not IsEmpty("b2") Then
a2 = "scanned"
End If
End Sub
any pointers are apprecated. TIA
I was trying to run a sub like this; just to see if I could make it work for even one column, but it won't return anything. I'm sure I'm missing something small.
Sub sort()
If Not IsEmpty("b2") Then
a2 = "scanned"
End If
End Sub
any pointers are apprecated. TIA