+ Reply to Thread
Results 1 to 6 of 6

Cell Referencing

  1. #1
    Registered User
    Join Date
    12-22-2011
    Location
    Massachusetts
    MS-Off Ver
    Excel 2003
    Posts
    12

    Cell Referencing

    I'm making a spreadsheet for work where you first copy + paste a list of current investments and balances, and copy + paste a list of all available investments, to the spreadsheet. Right now the calculations just run straight across the row, pulling information from carious cells in that row. Ideally the information would copy as below.

    InvestmentA Calc Calc Calc Calc InvestmentA Calc Calc Calc
    InvestmentB Calc Calc Calc Calc InvestmentB Calc Calc Calc
    InvestmentC Calc Calc Calc Calc InvestmentC Calc Calc Calc

    But sometimes it doesn't, and I get something like:

    InvestmentB Calc Calc Calc Calc InvestmentA Calc Calc Calc
    InvestmentH Calc Calc Calc Calc InvestmentB Calc Calc Calc
    InvestmentM Calc Calc Calc Calc InvestmentC Calc Calc Calc

    What I need is a way to have the calculations on the first half of the spreadsheet, reference information in the cells with the same investment name, even if that information is in a different row.

    Disclaimer: I consider myself an intelligent person, but I have no official education in programming or excel, except for one class in 9th grade. I'm teaching myself as I go here. In other words, it's best to assume I know nothing and teach me like a 2 year old.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Cell Referencing Assistance

    You can use the VLOOKUP() function to spot the correct row and retrieve values from the adjacent cells.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    12-22-2011
    Location
    Massachusetts
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Cell Referencing Assistance

    Quote Originally Posted by JBeaucaire View Post
    You can use the VLOOKUP() function to spot the correct row and retrieve values from the adjacent cells.
    VLOOKUP(BTC).xls

    VLOOKUP() is over my head. I've never used table arrays. I'm not sure my spreadsheet is set up in a way that VLOOKUP() can work. I think I could get it if I was able to see how it would need to be coded. I've attached the file I'm working on. If anyone has the time to take a look I'd appreciate it. Basically I need the calculations in columns B - F pulling information from columns J - N in the rows where A and H are equal.

  4. #4
    Registered User
    Join Date
    12-22-2011
    Location
    Miami
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Cell Referencing Assistance

    I'm not 100% sure what you're trying to achieve on the xls file. If you open this attachment you can find an example of a vlookup formula which should get you what you need.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-22-2011
    Location
    Massachusetts
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Cell Referencing Assistance

    Thanks again for the assistance. I was able to find additional resources to allow me to forego the VLOOKUP() direction.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Cell Referencing Assistance

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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