Kenja824
Automotive
- Nov 5, 2014
- 950
I have two columns ("Number" & "ROB#") and depending on who runs a program that gives me the excel info, these two columns can be in different locations.
IE... "Number" Column may be in row "C" or it may be in row "F" or "I".
Manually I have been using the formula ..... =if(C2=X2,".","XXX") .... Then I will drag it down the 1000 cells to check the info in both columns through the entire sheet. I use the "." instead of "" because if I see the "." it lets me know the formula is present and working and is extremely distinguishable from the XXX that lets me now something is wrong.
I have a section of code already working for inserting a column before the Number column. (Lines 47 thru 52 in the file attached.
I dont know how to add the formula to the new column having it compare the information in the other two columns with the above mentioned headers and then filling the formula down that column for as long as there is data available.
I apologize for not adding the excel file. It is filled with a lot of data that is considered GM property and I could get in trouble for handing it out. Privacy issues and such.
Thank you in advance for any help I receive.
IE... "Number" Column may be in row "C" or it may be in row "F" or "I".
Manually I have been using the formula ..... =if(C2=X2,".","XXX") .... Then I will drag it down the 1000 cells to check the info in both columns through the entire sheet. I use the "." instead of "" because if I see the "." it lets me know the formula is present and working and is extremely distinguishable from the XXX that lets me now something is wrong.
I have a section of code already working for inserting a column before the Number column. (Lines 47 thru 52 in the file attached.
I dont know how to add the formula to the new column having it compare the information in the other two columns with the above mentioned headers and then filling the formula down that column for as long as there is data available.
I apologize for not adding the excel file. It is filled with a lot of data that is considered GM property and I could get in trouble for handing it out. Privacy issues and such.
Thank you in advance for any help I receive.