+ Reply to Thread
Results 1 to 2 of 2

Make Cell show only first character

  1. #1
    Registered User
    Join Date
    04-30-2008
    Posts
    16

    Make Cell show only first character

    Hello all

    I have a spreadsheet which details several products in the first column. Each product has a letter code e.g A1303, B1878, P3332 etc. The first character e.g A, B, P etc refers to the product type.

    I want to be able to format the cell containing the product code so that it only shows the first letter e.g A or B or P.

    The ultimate goal is to subtotal how many products there are of each type e.g how many a's, how many b's, how many c's etc. so I thought by somehow formatting the cells to show only the first letter, I could count how many products there are of each type.

    I cant seem to do this using normal subtotal command as it will only let you count after each complete change in value rather than the first letter of the value.

    Does anyone know the best way of doing this?

    Many thanks.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    just insert another colum that you want to do total in and use (where a1 is first cell of your list ofproduct code)
    =LEFT(a1) and drag down

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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