+ Reply to Thread
Results 1 to 5 of 5

VB Macro to insert value in cell based on multiple criteria in a row

  1. #1
    Registered User
    Join Date
    07-28-2012
    Location
    Morgantown, WV
    MS-Off Ver
    Excel 2007
    Posts
    54

    VB Macro to insert value in cell based on multiple criteria in a row

    All,

    I am requesting assistance for A VB macro that will insert a value in cells based on multiple criteria in the same row. Please view Excel file on attachment and read text Steps 1 and 2. Instructions are very easy to understand with visuals and cell colors.

    Thank you for your time and I will be waiting for your reply.

    This VB Macro will be for a spreadsheet containing 50,000 rows of information. I am using Excel version 2003, 2007, and 2010
    Attached Files Attached Files
    Last edited by haleakala17; 08-22-2012 at 08:53 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: VB Macro to insert value in cell based on multiple criteria in a row

    Hi

    This is pretty brutal and doesn't easily lend to enhancement but....

    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    07-28-2012
    Location
    Morgantown, WV
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: VB Macro to insert value in cell based on multiple criteria in a row

    Rylo,

    Thank you so much. You are a lifesaver! This is incredible how I can receive help from someone half way around the world. Take care mate and thank you once again. I will give this VB Script a try at work. I have about 50,000 rows on my spreadsheet so I am hoping it will work.

    Haleakala 17

  4. #4
    Forum Contributor
    Join Date
    08-09-2012
    Location
    Anch, Alaska
    MS-Off Ver
    2003, 2010, 2013
    Posts
    131

    Re: VB Macro to insert value in cell based on multiple criteria in a row

    Quote Originally Posted by rylo View Post
    Hi

    This is pretty brutal and doesn't easily lend to enhancement but....

    Please Login or Register  to view this content.
    rylo

    I think your missing bit's and pieces of santex to make this work properly, unless I'm missing something.
    Please correct me if I am wrong.

    Should it look something like this.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-28-2012
    Location
    Morgantown, WV
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: VB Macro to insert value in cell based on multiple criteria in a row

    BuckoAk,

    Thank you for coming to the rescue again, I have used this VB at work and it worked perfectly. FYI I made some modification so that the Macro recognized values in other columns and return a value in another column. Once Again I appreciate your time and assistance.



    ---------- Post added at 09:30 PM ---------- Previous post was at 09:24 PM ----------

    Quote Originally Posted by BuckoAk View Post
    I think your missing bit's and pieces of santex to make this work properly, unless I'm missing something.
    Please correct me if I am wrong.

    Should it look something like this.

    Please Login or Register  to view this content.
    This code helped me so much. Thank you BuckoAK, this worked out perfect!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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