+ Reply to Thread
Results 1 to 6 of 6

Finding a value within the defined column address of a specific range

  1. #1
    Registered User
    Join Date
    11-01-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    52

    Finding a value within the defined column address of a specific range

    Good morning all!

    test.xlsI've attached a small workbook which I hope might help better explain what I need to be able to do. In short I have the column address of one value (the name) and want to use this column address number to look up the value in coluimn before the equivalent column (where the address value is greater than 1) under the VALUES half of my data.

    For example, on the spreadsheet where it says Mike, I need to come up with a formula that returns the value of 900 from cell A2.

    Does that make sense to any of you?

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Finding a value within the defined column address of a specific range

    Does that make sense to any of you?
    Not really, but try this array formula in J2
    Please Login or Register  to view this content.
    Confirm with Ctrl+Shift+Enter not just enter.
    Drag/Fill Down.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    11-01-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: Finding a value within the defined column address of a specific range

    Thanks Marcol,

    That's almost it!

    It's returning the value from the second column which is great, but I actually need it to return the value from the 1st column. Ie, where the column value in I is 3, it will return the value from the 2nd column in the values range.

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Finding a value within the defined column address of a specific range

    Change marcol's formula to

    =INDEX(A:D,ROW(),MAX(IF(ISTEXT(E2:H2),COLUMN(A:D)-1)))

    Confirm with Ctrl+Shift+Enter
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Finding a value within the defined column address of a specific range

    I don't understand what you are trying to do, or why you are doing it this way.
    Try this array in J2
    Please Login or Register  to view this content.
    Confirm with Ctrl+Shift+Enter not just enter.
    Drag/Fill Down.

    In I2 you could have
    Please Login or Register  to view this content.
    Confirm with Ctrl+Shift+Enter not just enter.
    Drag/Fill Down.
    Then J2 might be
    Please Login or Register  to view this content.
    Drag/Fill Down.


    Would this not suffice?
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-01-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: Finding a value within the defined column address of a specific range

    Thank you both, the -1 amendment worked perfectly. I do apologise for being a bit vague, I'm afraid the actual spreadsheet I'm working on is covering 6 different column ranges across an 80mb workbook of 143 columns and 20000 + rows and it would take a mini essay to properly explain the end result that I wanted.

    I know I didn't go into a great deal of detail, but I guessed (correctly I might add!) that someone here would have a perfectly simple solution to what I was looking for.

    Yet another of my headaches solved by this forum! Thanks again.

+ 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