+ Reply to Thread
Results 1 to 4 of 4

Using named cells in operations

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

    Using named cells in operations

    In building an actual cost worksheet I have a list of employee names in one worksheet in column a and their rate of pay in column b. I name the cell that contains the rate of pay the employee's name.

    Smith 35.86
    Jones 41.20
    Brown 32.12
    Thomas 27.75
    Johnson 33.00


    so the cell that contains "35.86" is named "smith". Each week I build a report that shows actual labor costs in various phases of various projects. I have the employee's last name in a column and the hours spent on the task in the adjacent column. Is there a way to use the employee's name in Column A as one of the operands for multiplying.

    A B C
    Smith 20 Value in B * employee in A's rate of pay.
    Jones 40
    Brown 11
    Thomas 32
    Johnson 21


    Is there a way to use the name in A as an operand without actually typing it in. Using cell references instead. Instead of typing in column C "=b1*smith"
    Is there a way to use the value of "Smith" in column A and type something like "=A1*B1"?
    Last edited by dwtaxguy; 04-02-2009 at 10:37 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Using named cells in operations

    You can use INDIRECT but it's Volatile

    =B1*INDIRECT(A1)

    It would however make a great deal more sense just to use VLOOKUP ... see XL Help

    =B1*VLOOKUP(A1,yourlistrangeworksheet!A:B,2,0)

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Using named cells in operations

    =indirect(a1) * b1
    Entia non sunt multiplicanda sine necessitate

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

    Re: Using named cells in operations

    Thank you! The indirect function makes it pretty easy, but I think I'm going to use the VLOOKUP.

    I appreciate your assistance and expertise.

+ 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