+ Reply to Thread
Results 1 to 13 of 13

Numeric only formula, but how to use alpha?

  1. #1
    Forum Contributor
    Join Date
    08-22-2009
    Location
    Manitoba
    MS-Off Ver
    Office 2010
    Posts
    524

    Numeric only formula, but how to use alpha?

    I had an issue last week, http://www.excelforum.com/excel-form...ml#post4114927 which solved the problem. Now I have two with alpha characters. I changed "='Facilities(TC331)'!H7&2" to "=--('Facilities(TC331)'!H7&2)" and now it works. How do I make that work for alpha/text?
    Last edited by thecdnmole; 06-30-2015 at 05:27 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Numeric only formula, but how to use alpha?

    Would you be so kind as to ask your question in this thread?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    08-22-2009
    Location
    Manitoba
    MS-Off Ver
    Office 2010
    Posts
    524

    Re: Numeric only formula, but how to use alpha?

    I added a bit to my OP. Hope that helps?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Numeric only formula, but how to use alpha?

    Maybe you could provide an example and describe the desired result.

  5. #5
    Forum Contributor
    Join Date
    08-22-2009
    Location
    Manitoba
    MS-Off Ver
    Office 2010
    Posts
    524

    Re: Numeric only formula, but how to use alpha?

    Sure, here is the original from the other day and the new numeric formula I learned about. Problem is I have four numbers with an "A" and "B" in them. Now this new formula does not work for them. I could just change the "A" for a "1", but in a number such as 8235a looks better than 82351.
    Attached Files Attached Files

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Numeric only formula, but how to use alpha?

    What's wrong with the formula in B1?

    What problem are you trying to solve?

  7. #7
    Forum Contributor
    Join Date
    08-22-2009
    Location
    Manitoba
    MS-Off Ver
    Office 2010
    Posts
    524

    Re: Numeric only formula, but how to use alpha?

    I am using the formula on sheet2, column E. This works for the values in sheet2("B2:B3"), but not in B4 because of the alphabet. So, my question is, how do I use the formula with the alpha value as in B4? I need something that works for both.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Numeric only formula, but how to use alpha?

    Row\Col
    E
    F
    1
    new formula
    2
    83851 E2: =B2 & COUNTIF($B$2:$B2,B2)
    3
    83861
    4
    8385a1

  9. #9
    Forum Contributor
    Join Date
    08-22-2009
    Location
    Manitoba
    MS-Off Ver
    Office 2010
    Posts
    524

    Re: Numeric only formula, but how to use alpha?

    All you did was put a space in front and behind the "&"? I had to change all the formula to similar "text" style and now it appears it's working! Thanks shg!
    Last edited by thecdnmole; 07-01-2015 at 11:47 AM.

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Numeric only formula, but how to use alpha?

    The white space is just for legibility -- it's ignored by Excel. It's the elimination of the --, which converts a numeric string to a number, that was causing problems.

  11. #11
    Forum Contributor
    Join Date
    08-22-2009
    Location
    Manitoba
    MS-Off Ver
    Office 2010
    Posts
    524

    Re: Numeric only formula, but how to use alpha?

    Hmm, I need to study this more because that was my initial problem, not all cells and formula was in same format, thus the -- put it that way, as well as using the formula would put it in one form and if you had to manually enter the cell info would put it in another format. On the sample sheet it does appear to work.

  12. #12
    Forum Contributor
    Join Date
    08-22-2009
    Location
    Manitoba
    MS-Off Ver
    Office 2010
    Posts
    524

    Re: Numeric only formula, but how to use alpha?

    Well I don't get it. I am back to my original formula and it's working! That is why I started the previous post because this formula did not work in all situations. Gotta love Excel quirkiness!

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Numeric only formula, but how to use alpha?

    Excel has it's quirks, but this isn't one. It won't work if there is an alpha character in the number.

+ 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] Compare two Dates and two alpha numeric in a formula
    By knakw00 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-28-2011, 04:28 PM
  2. Macro to delete alpha and alpha numeric values
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2011, 09:13 AM
  3. [SOLVED] In alpha-numeric text data replace alpha
    By manharji in forum Excel General
    Replies: 3
    Last Post: 07-26-2010, 07:20 PM
  4. Replies: 2
    Last Post: 06-18-2010, 05:10 PM
  5. [SOLVED] The colums changed from alpha to numeric how do you make it alpha
    By worldmade in forum Excel General
    Replies: 2
    Last Post: 05-26-2005, 05:15 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