+ Reply to Thread
Results 1 to 13 of 13

Data validation without helper column

  1. #1
    Forum Contributor
    Join Date
    06-12-2006
    Location
    Portugal
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    212

    Data validation without helper column

    Hello to all,
    I am uploading a file which is self-explanatory.
    The data validation on the yellow cell contains the correct data but I need to achieve the same result without the usage of the Helper column.
    Would this be possible?
    Many thanks.
    Octavio
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,294

    Re: Data validation without helper column

    You have more then 16000 columns what is the problem for 1 (hidden) helper column?
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Data validation without helper column

    you can use hardcoded delimited list, eg: Albania,Algeria, and so on

  4. #4
    Forum Contributor
    Join Date
    06-12-2006
    Location
    Portugal
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    212

    Re: Data validation without helper column

    You are absolutely right. The problem is that I have to change a bunch of lines of VBA code just to accomodate this helper column. I would like to avoid it because I am changing the work of somebody else...and will have to dig a lot...
    If there's no way...let me start digging..
    Otavio

  5. #5
    Forum Contributor
    Join Date
    06-12-2006
    Location
    Portugal
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    212

    Re: Data validation without helper column

    Yes, but the users can add or remove countries, so that solution will not work...
    But thanks, anyway.
    Octavio

  6. #6
    Forum Contributor
    Join Date
    06-12-2006
    Location
    Portugal
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    212

    Re: Data validation without helper column

    Can someone please move this thread to VBA fórum?
    I was thinking... Maybe the data can be stored in ano array, and use that array in the data validation source...

    Thanks

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,467

    Re: Data validation without helper column

    Strictly speaking, I wouldn't consider that to be a Helper column … it's a Data Validation List. No reason it couldn't be on a separate sheet where the user could add, delete or edit entries.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  8. #8
    Forum Contributor
    Join Date
    06-12-2006
    Location
    Portugal
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    212
    Thanks, have to think on that.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,467

    Re: Data validation without helper column

    Here's the updated sample workbook.
    Attached Files Attached Files

  10. #10
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Data validation without helper column

    Using a small macro on the Sheet module - no on-sheet formula or validation - all in the code - you may want to consider using 'structured tables' the there is no need to check range size.
    Attached Files Attached Files
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  11. #11
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Data validation without helper column

    Quote Originally Posted by oteixeira View Post
    You are absolutely right. The problem is that I have to change a bunch of lines of VBA code just to accomodate this helper column. I would like to avoid it because I am changing the work of somebody else...and will have to dig a lot...
    If there's no way...let me start digging..
    Otavio
    Why do you have to change code to accommodate a helper column? Make the helper column to the right of all your sheet data and you won't have to change the code.

  12. #12
    Forum Contributor
    Join Date
    06-12-2006
    Location
    Portugal
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    212

    Re: Data validation without helper column

    Torachan, just what I was looking for!
    Many thanks for your kind help and patience.
    Octavio

  13. #13
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Data validation without helper column

    thanks for the feedback and added rep point - glad to have helped.

+ 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] delete items from column for two sheets based on helper column
    By KalilMe in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2022, 01:14 PM
  2. [SOLVED] Count Number of Instances Column B >= Column A Without Helper Cells
    By TheMechEngineer in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-17-2022, 10:05 PM
  3. Group/Sort Data using helper column (Index Match)
    By qwertyuiop123654 in forum Excel General
    Replies: 1
    Last Post: 03-30-2020, 11:07 PM
  4. Extracting data based on two helper column criteria
    By QlooQ in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-19-2018, 04:28 PM
  5. Replies: 1
    Last Post: 08-02-2017, 01:51 PM
  6. Sort by helper column even if values in helper are alike
    By NoSleepForMe in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-10-2016, 04:14 AM
  7. [SOLVED] vba overwrite data if 2 condition is met ( date and if helper column does not have error)
    By vlady in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 07-12-2013, 11:28 PM

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