+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    03-26-2009
    Location
    Orlando, Florida
    MS-Off Ver
    Excel 2002
    Posts
    10

    Combining cell values in another cell

    Probably not the best description, but I don't know how to word what I'm trying to do...

    I have a spreadsheet with multiple worksheets that track hours spent on equipment repairs. Each worksheet represents one piece of equipment and is labeled with it's serial number. In each worksheet the total number of hours has been calculated and the cell that contains the total has been named.

    Example: eng1035 is the engineering hours spent on unit 1035.

    What I want to do on the summary page is somehow use the value in the row above my totals and the value in the column to the left to reference the named cell. The column contains the serial numbers; 1035, 1067, 1076, etc. The Row across the top contains, ENG, CAL, TEST, etc..

    What I want to do is some how combine the "ENG" and the "1035" to reference the cell value and not have to manually input "eng1035" for each unit and labor category.

    I've attached a spreadsheet with values only, no formulas for a visual reference.
    Attached Files Attached Files
    Last edited by dwtaxguy; 07-02-2009 at 09:53 AM.

  2. #2
    Valued Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2007
    Posts
    949

    Re: Combining cell values in another cell

    Bit of a wild guess here, since you didn't include anything showing the intended layout of your summary page, but see the attached sheet, it's all on the same page, since I'm guessing wildly... but it checks for values, then combines the column header with the item number, and the number of hours associated with it.

    ???


    mew!
    Attached Files Attached Files
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: Combining cell values in another cell

    I think you're actually saying you want to combine header and Box# to create the named range reference to retrieve associated value, ie:

    I2: =INDIRECT(I$1&$A2)

    should reference named range eng1035

    NOTE: INDIRECT is a Volatile function - see link in sig. for more info.

  4. #4
    Registered User
    Join Date
    03-26-2009
    Location
    Orlando, Florida
    MS-Off Ver
    Excel 2002
    Posts
    10

    Re: Combining cell values in another cell

    Thank you both for your assistance! DonkeyOte your suggestion works perfectly. I've received other warnings about the INDIRECT function, but thus far it's worked well for me.

    Thanks again for your help, and I'll make it a point to read your suggested material.

    Cheers!


    dale

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.2.0