+ Reply to Thread
Results 1 to 12 of 12

Need vba to replace exisited data depends upon sheet range value

  1. #1
    Forum Contributor
    Join Date
    06-10-2014
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    118

    Need vba to replace exisited data depends upon sheet range value

    Hi Experts

    I have set of data, i want filter it and change values depends upon list.

    for e.g column G:G filter "FO", then column K:K filter select "Off Shore-Client & On Shore-Client"

    then check table array in sheet task_list ,depends upon emp name need to replace old values in column F & G.

    Please find the attachment include expected result sheet.

    thanks and regards
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Need vba to replace exisited data depends upon sheet range value

    See if this is how youo wanted.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-10-2014
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    118

    Re: Need vba to replace exisited data depends upon sheet range value

    Thanks for smart code its solved boss!!!

  4. #4
    Forum Contributor
    Join Date
    06-10-2014
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    118

    Re: Need vba to replace exisited data depends upon sheet range value

    HI boss sorry for disturb u again, i have small issue i moved column F&G to H&I and chaged in code but it not give 100% result pls have look sheet
    i changed column end
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Need vba to replace exisited data depends upon sheet range value

    Are you sure about your attachment?

    Seems working for me, but your result looks strange.

  6. #6
    Forum Contributor
    Join Date
    06-10-2014
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    118

    Re: Need vba to replace exisited data depends upon sheet range value

    yes i made changes in column and run code i moved column Business Unit and Finance code to H&I from F&G in raw_Data sheet.
    i didnt get result

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Need vba to replace exisited data depends upon sheet range value

    You have less columns in your result sheet, but I assume it would be the same, am I correct?

    If so, you need to explain why Finance code of row 11 changed to SOE, which is not even exists in Task_List.

  8. #8
    Forum Contributor
    Join Date
    06-10-2014
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    118

    Re: Need vba to replace exisited data depends upon sheet range value

    No sir i didnt change manually i made changes and run code see result file difference actual and expected
    Attached Files Attached Files

  9. #9
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Need vba to replace exisited data depends upon sheet range value

    That's more confusing, upload a workbook with the raw data and EXACT RESULT that you want without fail.

  10. #10
    Forum Contributor
    Join Date
    06-10-2014
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    118

    Re: Need vba to replace exisited data depends upon sheet range value

    HI sir pls find the attachement with raw data and exact result sheet!! this is my actual requirement, sorry for annoying u sir forgive me
    Attached Files Attached Files

  11. #11
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Need vba to replace exisited data depends upon sheet range value

    Is this the last change?
    Please Login or Register  to view this content.

  12. #12
    Forum Contributor
    Join Date
    06-10-2014
    Location
    CANADA
    MS-Off Ver
    2016
    Posts
    118

    Re: Need vba to replace exisited data depends upon sheet range value

    Thanks Alot Sir, Solved!!!Thanks for valuable time spend on me i learned now make changes in your code

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need vba code to pull data across sheet depends upon command button click
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-03-2022, 07:24 PM
  2. Sum data but range depends on a date
    By buhaj47 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-07-2020, 02:18 PM
  3. [SOLVED] vba to copy data from rawdata and paste into output sheet depends upon code&child
    By johnmacpro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2016, 06:52 AM
  4. [SOLVED] need vba to split data move to particular file sheet depends upon sheetname
    By julielara in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-06-2016, 03:05 AM
  5. Replies: 1
    Last Post: 02-25-2016, 01:35 AM
  6. Ms access Vba Save Data to xl depends upon 1 table pick & Depends 2 Upon fiterDate
    By breadwinner in forum Access Programming / VBA / Macros
    Replies: 14
    Last Post: 05-29-2014, 10:59 PM
  7. Replies: 2
    Last Post: 02-21-2012, 09:21 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1