TimClayton
New Member
- Joined
- Oct 17, 2018
- Messages
- 11
Hi all
I'm trying to find a code that will find all values in a range and add another value to an adjacent cell. Example below:
This is a slightly simplified version of what I'm using, but the principle will be the same. The "stock#" & "sold" columns are further apart and the stock numbers would be a mix of letters and number, such as "2H176".
In my head the code would do the following:
Copy value from column G to column D for each value in column F found in column A
So, maybe something like this:
Set lookup values as range F1:F100
Find and replace lookup values in range A1:A100 with data from range G1:G100 (offset 3 colums)
I can't seem to find anything to do the job.
Any help is appreciated!
I'm trying to find a code that will find all values in a range and add another value to an adjacent cell. Example below:
This is a slightly simplified version of what I'm using, but the principle will be the same. The "stock#" & "sold" columns are further apart and the stock numbers would be a mix of letters and number, such as "2H176".
In my head the code would do the following:
Copy value from column G to column D for each value in column F found in column A
So, maybe something like this:
Set lookup values as range F1:F100
Find and replace lookup values in range A1:A100 with data from range G1:G100 (offset 3 colums)
I can't seem to find anything to do the job.
Any help is appreciated!