+ Reply to Thread
Results 1 to 6 of 6

Dyn. Arr. fx needed to handle numbers as text

  1. #1
    Forum Contributor
    Join Date
    08-31-2021
    Location
    Kassel, Germany
    MS-Off Ver
    365 v2409
    Posts
    207

    Dyn. Arr. fx needed to handle numbers as text

    Hi all, in the attached workbook:
    1. The table has a list of Class Numbers and the corresponding Market Share Codes. Each Class Number has one or more Market Share Codes, and some Market Share Codes comprise a comma-delimited list.
    2. A list of Class Numbers in use.
    3. Class Numbers in use, transposed.
    4. The split list of Market Share Codes for each Class Number in use.

    The 3 Class Numbers in use represent the scenarios of the data in use:
    1. a numeric value starting with a zero, ie, number as text
    2. a numeric value ending with "+", also number as text
    3. a numeric value

    My problem pertains to the formulas in cells I5:K5. The formulas in cells I5 & K5 return the expected values but the formula in cell J5 should return "LDST" but isn't. I'm looking for a correction (or alternative) to the formulas in I5:K5 so that all three formulas work as expected.

    All suggestions are appreciated. TIA, Paul
    Attached Files Attached Files

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,015

    Re: Dyn. Arr. fx needed to handle numbers as text

    It should be LEFT(J4, 1)="0" not LEFT(J4, 0)="0"
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,220

    Re: Dyn. Arr. fx needed to handle numbers as text

    Try this:

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,220

    Re: Dyn. Arr. fx needed to handle numbers as text

    Any good? Or have you just gone with post #2 and not told us?

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  5. #5
    Forum Contributor
    Join Date
    08-31-2021
    Location
    Kassel, Germany
    MS-Off Ver
    365 v2409
    Posts
    207

    Re: Dyn. Arr. fx needed to handle numbers as text

    @romperstomper, big face-palm. Thanks for that.

    @AliGW, I like your improvement, that works fine thanks.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,220

    Re: Dyn. Arr. fx needed to handle numbers as text

    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. Help needed to sort numbers and text
    By bigband1 in forum Excel General
    Replies: 9
    Last Post: 08-17-2020, 07:40 AM
  2. [SOLVED] all possible formula needed to convert text numbers to numbers
    By JEAN1972 in forum Excel General
    Replies: 5
    Last Post: 07-21-2014, 01:20 PM
  3. [SOLVED] Formula needed to get Date in text based on numbers
    By caabdul in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2014, 08:40 PM
  4. Replies: 0
    Last Post: 10-09-2013, 04:54 AM
  5. Formula needed to convert text to numbers
    By Bulldogs2011 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-07-2011, 05:22 PM
  6. Formula to handle cells with unicode needed
    By hyyfte in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2007, 08:37 AM
  7. Replies: 4
    Last Post: 02-15-2006, 08:47 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