Urner
New Member
- Joined
- Sep 3, 2011
- Messages
- 10
Here's what I've been trying to do for the last hour without any particular success:
I want to write a macro that will do exactly the same thing written below
IF result for vlookup(Range1,Range2,2,False) is blank THEN write down the word "COW" ELSE write the result of that vlookup.
Take into consideration that vlookup is not for a single cell but an entire column. Thus, I want to put "COW" only in the cells where vlookup returns no value (that is 0 or blank).
How I'm supposed to do it?
I want to write a macro that will do exactly the same thing written below
IF result for vlookup(Range1,Range2,2,False) is blank THEN write down the word "COW" ELSE write the result of that vlookup.
Take into consideration that vlookup is not for a single cell but an entire column. Thus, I want to put "COW" only in the cells where vlookup returns no value (that is 0 or blank).
How I'm supposed to do it?