+ Reply to Thread
Results 1 to 4 of 4

Adding Sum Formula Using Cells Containing Alpha and Numeric

  1. #1
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    332

    Adding Sum Formula Using Cells Containing Alpha and Numeric

    I've got a Column that has:

    PP Ending 1-5
    PP Ending 1-12
    PP Ending 1-19
    PP Ending 1-26
    PP Ending 2-2

    Etc... the column has 53 total entries... one for each week.

    My issue is I have to manually type all 53 entries.

    Is there a way to make a formula add these for me if I input the first one? I can't use a normal date format "mm/did/yyyy" because I have a macro that pulls the info out of these cells to name tabs and tab names can't have / in them. I even tried doing a customer format with - in it (mm-did-yyyy) but I still couldn't get it to work.

    So... I used the aforementioned formatting instead... PP Ending, etc, etc.

    With that being said... I am ok with changing the format to something different so long as the tabs can use the same name.

    Hope that makes sense...

    Thanks!

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Adding Sum Formula Using Cells Containing Alpha and Numeric

    Maybe this...

    Data Range
    A
    1
    PP Ending 1-5
    2
    PP Ending 1-12
    3
    PP Ending 1-19
    4
    PP Ending 1-26
    5
    PP Ending 2-2
    6
    PP Ending 2-9
    7
    PP Ending 2-16
    8
    PP Ending 2-23
    9
    PP Ending 3-2
    10
    PP Ending 3-9
    11
    PP Ending 3-16
    12
    PP Ending 3-23
    13
    PP Ending 3-30
    14
    PP Ending 4-6


    A1 manually entered

    This formula entered in A2 and copied down as needed:

    ="PP Ending "&TEXT(RIGHT(A$1,3)+ROWS(A$2:A2)*7,"m-d")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    332

    Re: Adding Sum Formula Using Cells Containing Alpha and Numeric

    Holy cow, you're smart... fantastic! Thank you so much!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Adding Sum Formula Using Cells Containing Alpha and Numeric

    You're welcome. Thanks for the feedback!

+ 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] Numeric only formula, but how to use alpha?
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-01-2015, 02:12 PM
  2. Sum cells that contain alpha and numeric
    By Hammer1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-04-2011, 09:41 PM
  3. 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
  4. Replies: 2
    Last Post: 06-18-2010, 05:10 PM
  5. using if then functrion with alpha numeric cells
    By JEllison in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2007, 03:43 PM
  6. [SOLVED] Sorting Cells With Alpha Numeric Values
    By 69-er in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-31-2006, 01:28 PM
  7. convert cells containing alpha to numeric
    By ezu in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 01-09-2005, 06: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