+ Reply to Thread
Results 1 to 7 of 7

text and number finding

  1. #1
    Registered User
    Join Date
    08-24-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    6

    text and number finding

    first, hi im new to the forum and i have no idea if this is going to be in the right place or not but im wingin it.

    i got a list of "items" with a "value" beside it (i use [ ] to represent cells)
    [item1] [2]
    [item2] [6]
    [item3] [9]

    at the top i keep a list of the items and numbers and a few rows down i want to start a list keeping track of those items and values.

    example:
    [item1] [2]
    [item2] [6]
    [item3] [9]
    [ ] [ ]
    [ ] [ ]
    [item3] [24]
    [item1] [6]
    [item2] [2] (so on)

    i want the numbers at the top to calculate a total of each item and its value.

    example:
    i want item1 to search the worksheet and find everything with the text "item1" and add the value beside it.
    [item1] [2] <<searches for text "item1" then ads the number beside it "6", "2+6=8"
    [item2] [1]
    [item3] [6]
    [ ] [ ]
    [ ] [ ]
    [item 1] [6]

    i hope this is not to confusing....if it is im sorry and ill make up a sheet to explain what i mean
    thanks hope to hear something soon.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: text and number finding

    Those top 3 numbers... are they fixed? Do they change?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-24-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: text and number finding

    the numbers besides the items are suppose to change.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: text and number finding

    I am still a little unsure of your top values.. are they starting numbers that can change with manual manipulation?

    Check sample attached.

    It assumes the top numbers are fixed and you want to add to these.

    So formula in C1 is: =B1+SUMIF($A$6:$A$14,A1,$B$6:$B$14) copied down.

    If you are not using the top 3 cells as fixed starting points, then use the formula above in B1 but eliminate the B1+ part at the beginning.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-24-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: text and number finding

    ok that is pretty much it but is there a way to make it find the number and add it auto. or do you gotta do it all manual?
    in the A column you have your "items" and in the B column you got "values"
    is it possible to make it auto find the name of an item in A and add the number that is beside it in B to the name and number at the top?

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: text and number finding

    You can't have a number and a formula in the same cell.. once a number is entered, you can't have a formula use that same cell in the formula.

    If you are looking to just accumulate a sum.. perhaps add the same three items to the list below and then use the formula, =SUMIF($A$6:$A$14,A1,$B$6:$B$14) and make it include those initial "hard-coded" numbers.

  7. #7
    Registered User
    Join Date
    08-24-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: text and number finding

    i just figured it out thanks for all your help and time.
    very pleased on response time to.

+ 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