+ Reply to Thread
Results 1 to 8 of 8

Array using A,B,C's not working

  1. #1
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Array using A,B,C's not working

    I am finished with my Sudoku in Excel but came up with the ideal of changing the numbers 1 -9 to A -I and it works perfectly except in one part of my numeric version where I use an Array for each Row to select a number, so while trying to convert the Array from numbers to letters it wouldn't accept one of my Array formulas, so need some help on it. I have attached a working copy with the Array, and you will be looking at Row 3 only. The rest works. Again, thanks for you help.
    Attached Files Attached Files

  2. #2
    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,428

    Re: Array using A,B,C's not working

    Clear F14:G22.

    Then:

    F14:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    G14:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ROW_3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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


  3. #3
    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,428

    Re: Array using A,B,C's not working

    Note that you can do the same for the numeric rows. for example:

    C14:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    D14:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ROW_2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Re: Array using A,B,C's not working

    OK, TMS, will look at that and let you know

  5. #5
    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,428

    Re: Array using A,B,C's not working

    Edit: G23:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by TMS; 03-18-2022 at 09:24 PM. Reason: Correct the formula

  6. #6
    Forum Contributor
    Join Date
    10-17-2018
    Location
    Knoxville, TN
    MS-Off Ver
    Office 365
    Posts
    214

    Re: Array using A,B,C's not working

    TMS, thanks I had to tweak your code a little, work out a new total for G14, you omitted some $ marks but fixed got it to work.
    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,428

    Re: Array using A,B,C's not working

    You're welcome. Thanks for the rep.

  8. #8
    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,428

    Re: Array using A,B,C's not working

    This was where I left it. I decided to leave your DNR formula alone because it will result it a null list when all letters have been selected, whereas, the option i tried would leave a single empty value.
    Attached Files Attached Files

+ 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. Array formulas not working on a 1x1 array?
    By ice00monster in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-18-2021, 04:20 AM
  2. Not working: Trying to get array in procedure but it's not working
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2018, 10:45 AM
  3. Array not working?
    By HalPlz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2015, 04:28 PM
  4. Assigning values into array using the "Array" vba function.......not working
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-17-2011, 04:21 PM
  5. Working with an Array
    By djblois1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2011, 05:52 PM
  6. Working with an array
    By Otto Moehrbach in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-06-2005, 06:05 PM
  7. [SOLVED] Sum not working on Array
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2005, 03:06 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