+ Reply to Thread
Results 1 to 4 of 4

Get Total of Items From Single Letters W/in a Cell

  1. #1
    Registered User
    Join Date
    02-07-2019
    Location
    Pheonix, Az
    MS-Off Ver
    Excel 2016
    Posts
    7

    Get Total of Items From Single Letters W/in a Cell

    Hey all,

    First thanks to anyone that helps.

    My work gives me a list of multiple config codes and wants me to break it down using a rubrik to get totals of all the items going on each truck. They've been doing this by hand forever and it takes hours every week.

    I know you can use VLOOKUP to get totals but i've only seen it as looking up whole cells not just single letters or words within a cell.

    I'm trying to see if there is a formula so i can speed this job up. See bleow as an example.

    Example.PNG

    1: Input a config code in each cell in column A
    2: Input Truck number in column B
    2: Cell H:3 will total all the first digits in Column:A only if they are Capital 'A' and truck 1
    3: Cell I:3 will total all the first digits in Column:A only if they are Capital 'A' and truck 2
    4: Cell H:4 will total all the first digits in Column:A only if they are Lowercase 'b' and truck 1
    5: Cell I:4 will total all the first digits in Column:A only if they are Lowercase 'b' and truck 2
    6: Cell H:9 will total all the 3rd/4th digits in Column:A only if they are Lowercase 'aa' and truck 1
    7: Cell I:9 will total all the 3rd/4th digits in Column:A only if they are Lowercase 'aa' and truck 2
    8: ETC...

    Thanks,

    Fingdragons

  2. #2
    Forum Contributor
    Join Date
    10-30-2014
    Location
    England
    MS-Off Ver
    2007 / 365
    Posts
    279

    Re: Get Total of Items From Single Letters W/in a Cell

    Are the Codes always the same format and length?

    Edit: Give this a look. Perhaps my understanding is wrong, but this looks to follow your rules. Not all the columns I've added are strictly necessary, but I've done it that way to make it easier to understand.
    Attached Files Attached Files
    Last edited by EchoPassenger; 02-07-2019 at 06:05 PM.

  3. #3
    Registered User
    Join Date
    02-07-2019
    Location
    Pheonix, Az
    MS-Off Ver
    Excel 2016
    Posts
    7

    Re: Get Total of Items From Single Letters W/in a Cell

    Quote Originally Posted by EchoPassenger View Post
    Are the Codes always the same format and length?

    Edit: Give this a look. Perhaps my understanding is wrong, but this looks to follow your rules. Not all the columns I've added are strictly necessary, but I've done it that way to make it easier to understand.
    Echopassenger,

    First thanks, this look like it should work.

    Yes, the code lenghts are pretty much always the same, rarely they will have an extra digit but it's not normal. Mine are however 6 digits not 5. Will that make any difference?

    Thanks

    Fingdragons

  4. #4
    Registered User
    Join Date
    02-07-2019
    Location
    Pheonix, Az
    MS-Off Ver
    Excel 2016
    Posts
    7

    Re: Get Total of Items From Single Letters W/in a Cell

    Quote Originally Posted by FingDragons View Post
    Echopassenger,

    First thanks, this look like it should work.

    Yes, the code lenghts are pretty much always the same, rarely they will have an extra digit but it's not normal. Mine are however 6 digits not 5. Will that make any difference?

    Thanks

    Fingdragons
    Ok, i've been trying to work this and something strange is happening.

    1. The fomula doesn't work on mine. I've tried to make it all the same but it's only showing 0 and randomly 1 for totals
    2. In your product, when i double double click into the cell with a formula and then click off it, but don't change anything, the number changes to 0 or 1. See below

    Example 3.png
    Example 1.png
    Example 2.png

    Thanks again

    Fingdragons

+ 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. Incrementing Letter / Numbers / Letters in a single cell
    By Alan27 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-30-2017, 06:11 PM
  2. [SOLVED] Items in a single cell need to be tallied
    By Habanero Time in forum Excel General
    Replies: 6
    Last Post: 08-25-2015, 04:18 AM
  3. [SOLVED] Formula to find the total of different items in a single column
    By hardbnaqt in forum Excel - New Users/Basics
    Replies: 11
    Last Post: 06-08-2012, 09:13 PM
  4. Replies: 3
    Last Post: 03-06-2011, 05:45 PM
  5. Find total time taken by each person to process total number of letters.
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-07-2010, 10:04 AM
  6. evaluating one of two items in a single cell
    By mrw111 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-06-2010, 10:08 AM
  7. How to sort Single Letters before Double Letters
    By jabberdoo in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-09-2008, 12:18 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