+ Reply to Thread
Results 1 to 5 of 5

Getting values from multiple rows and colums

  1. #1
    Registered User
    Join Date
    06-05-2012
    Location
    Brampton, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Post Getting values from multiple rows and colums

    Hello:

    Ive attached an excel spreadsheet that includes some rates and zones for my contractor. I already have a Data Validation list setup where if i select a specific postal code it provides me the Zone that you can see on the top of the attached spreadsheet.

    What im trying to do is as below:

    If for example i selected the postal code in Cell "S3" using the data validation list as "A0A", the zone is displayed using the vlookup statement as "D13" in cell "T4". and then i select the total weight using data validation list in cell "U4" as "9" then i need a formula that can display the value from cell "N10". The formula that i need is something so that whatever the postal code or weight i select it should display the value from the corresponding Zone (Column) and Weight (Row).

    Can anyone help?

    Thx, Bilal336
    Attached Files Attached Files

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

    Re: Getting values from multiple rows and colums

    Try this...

    =INDEX($A$1:$Q$152,MATCH(U3,$A$1:$A$152,0),MATCH(T3,$A$1:$Q$1,0))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Getting values from multiple rows and colums

    Enter this formula in cell T5:

    =VLOOKUP(U3,A2:Q152,VALUE(+RIGHT(T3,2))+1)

    What this does:
    - Using U3 {Weight}
    - and this table A2:Q152
    - Which value corresponds to this column, VALUE(+RIGHT(T3,2))+1) {For example D13 is in column 14}

    Mark this as [SOLVED] if this answers your problem and click on the star below
    Click on star (*) below if this helps

  4. #4
    Registered User
    Join Date
    06-05-2012
    Location
    Brampton, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Getting values from multiple rows and colums

    Absolutely awesome, worked for me, i had another detailed sheet but worked!!! Thanks alot for the help.

    Thats what i used: =INDEX('Provinces and Products'!N1:AD152,MATCH(B30,'Provinces and Products'!N$1:$N$151,0),MATCH(D4,'Provinces and Products'!N$1:$AD$1))

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Getting values from multiple rows and colums

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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