ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   I really need help (https://www.excelbanter.com/excel-programming/447915-i-really-need-help.html)

[email protected]

I really need help
 
I have a spreadsheet that contain 4 columns. the first on is a string (Name), second (from) and third (To)are double, the last column is again string (Code).
I need a macro to check following steps
1- if "Name"="Name" then
2- check "Code" column if the string is repeated then
3- remember "from" value and take "To" value from the last repeated cells of the "Code"!!
what I need is to merge "From" and "To" in repeated cells of the "code" and copy the NEW "Name", "From", "To" and "Code" columns into a new sheet.

I can send excel file if you need


[email protected]

I really need help
 
On Monday, December 31, 2012 11:28:27 AM UTC+3:30, wrote:
I have a spreadsheet that contain 4 columns. the first on is a string (Name), second (from) and third (To)are double, the last column is again string (Code).

I need a macro to check following steps

1- if "Name"="Name" then

2- check "Code" column if the string is repeated then

3- remember "from" value and take "To" value from the last repeated cells of the "Code"!!

what I need is to merge "From" and "To" in repeated cells of the "code" and copy the NEW "Name", "From", "To" and "Code" columns into a new sheet.



It is the file

https://dl.dropbox.com/u/56812294/MAJOR_s1.xlsx


All times are GMT +1. The time now is 10:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com