+ Reply to Thread
Results 1 to 6 of 6

how can i make this array change the cell in a column based on a text array

  1. #1
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    how can i make this array change the cell in a column based on a text array

    this is all i have so far:

    Please Login or Register  to view this content.
    so X is the text array and Y is the range to check. basically if the range (in column D) on bigmaster matches one of the text arrays, it changes the cell in column L to a "3".

    how can i do that?

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: how can i make this array change the cell in a column based on a text array

    This is the code that I use to generate some random data on column D :
    Please Login or Register  to view this content.
    Your matching code will be something like this :
    Please Login or Register  to view this content.
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: how can i make this array change the cell in a column based on a text array

    thanks karedog for the code. can you do one thing though?

    i only want the cell in column L to change if its supposed to be a 3, otherwise leave the cell contents alone. i tried to remove the else statement but it copies over data from another column.

    thanks again for your help.

  4. #4
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: how can i make this array change the cell in a column based on a text array

    Maybe like this one ?

    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: how can i make this array change the cell in a column based on a text array

    bingo that did the trick. very fancy footwork i say. Gold stars for you....

  6. #6
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: how can i make this array change the cell in a column based on a text array

    Actually it is 100% hands work, I would say. Thanks for marking the thread as solved and for the rep.point.

    Regards

+ 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] part of array formula based on data change in another column?
    By njs27 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-29-2016, 02:25 PM
  2. Replies: 5
    Last Post: 11-24-2015, 08:15 AM
  3. [SOLVED] Find cell in 2nd array using row and column from the first array Excel 2010 VBA
    By crywolf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2015, 02:12 PM
  4. Change date into text if <today and adding text if cell isblank... into an Array.
    By JasonNeedsHelp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-29-2013, 12:06 PM
  5. Replies: 7
    Last Post: 10-26-2012, 03:19 PM
  6. Change an array based on cell value
    By Solarisphere in forum Excel General
    Replies: 6
    Last Post: 05-10-2012, 03:09 AM

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