+ Reply to Thread
Results 1 to 8 of 8

Reference a cell within a row and then populate with the value that is last in the column

  1. #1
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Reference a cell within a row and then populate with the value that is last in the column

    Hi all,

    I am having a problem with a spreadsheet I am working on. I have a table that contains a bunch of heading and then some values under those headings for each month. Another table then populates with the 12 most recent values from this table, and a chart runs from that table to give a graph that only display data from the last 12 months.

    The problem is that currently the values in my 2nd table are only displaying the first 12. The way I would want it work is to read the heading of the 2nd table (currently in BW5), find that value in row 3:3 to find the correct column, and then return the last value in that column. From there I can work out the rest to populate the other 11 rows. The range to search in is B7:BJ100.

    I'm sure the answer is right in front of my eyes but I just can't seem to get it to work.

    Thanks for the anticipated help
    Last edited by Brumbot; 01-07-2013 at 05:04 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Reference a cell within a row and then populate with the value that is last in the col

    I think that will be usfull to upload a sample workbook.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Reference a cell within a row and then populate with the value that is last in the col

    Thanks for the swift reply Fotis.

    Here is the part of the workbook that I am struggling with:

    Test book.xlsm

    The way it currently works is - as data is fed into the main table, the right hand table will update the headings based on the top 5 values in the most recent row. The months will update to the most recent 12 months too. Currently, the RPN values do not update with the most 12 most recent under each heading - they just find the first 12.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Reference a cell within a row and then populate with the value that is last in the col

    As my poor English does not help me, can you pls tell me in columns BK & BL, which are the expected(correct) results and why?

  5. #5
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Reference a cell within a row and then populate with the value that is last in the col

    Quote Originally Posted by Fotis1991 View Post
    As my poor English does not help me, can you pls tell me in columns BK & BL, which are the expected(correct) results and why?
    BK and BL are correct. Apologies, I don't think I made it clear enough.

    The problem is with the 'chart feed' table, starting in BV column to the right of the 'top 5 FMEA' table. The expected value in BW7 would be 330, as it is the result that links the column header (electrodes >7 days wait) and the date (Feb-13) in the left hand main table.

    I suppose instead of referencing the header 'electrodes >7 days wait' and then looking for the bottom values, I could use a formula to find the intersection of 'electrodes >7 days wait' in row 3:3 and the date 'Feb-13' in column A:A?

    I hope this clears things. Please let me know if it still needs clarification. I know it is complicated, it confuses me a bit too :P

  6. #6
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Reference a cell within a row and then populate with the value that is last in the col

    Bump. Still awaiting a response. Any help is appreciated.

  7. #7
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Reference a cell within a row and then populate with the value that is last in the col

    Try it in BW7, copy accross and down
    Please Login or Register  to view this content.
    Quang PT

  8. #8
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Reference a cell within a row and then populate with the value that is last in the col

    Hi Bebo, thanks for the response.

    I tried this and it worked for the first column but didn't for the other 4. I played around with indrect(address) myself and managed to get it working with:

    Please Login or Register  to view this content.
    It seems to be working right now. Sorry for all the fuss!

+ 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