+ Reply to Thread
Results 1 to 5 of 5

Function/Array for selecting data from rows and columns

  1. #1
    Forum Contributor
    Join Date
    06-24-2012
    Location
    Australia
    MS-Off Ver
    Office365
    Posts
    302

    Function/Array for selecting data from rows and columns

    Hi Experts,

    To get values in cell by selecting row and column from fixed table .
    Best analogy is like in X-Y graphs when axis intercept to get coordinates.

    Currently details are entered manually looking at table

    Please see attached sample excel file
    Thanks in Advance
    Karnik
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Function/Array for selecting data from rows and columns

    In M4 copied down:

    =SUMPRODUCT(($A$4:$A$8=K4)*($B$3:$F$3=L4),$B$4:$F$8)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Function/Array for selecting data from rows and columns

    Do you only have Excel 2010?

  4. #4
    Forum Contributor
    Join Date
    06-24-2012
    Location
    Australia
    MS-Off Ver
    Office365
    Posts
    302

    Re: Function/Array for selecting data from rows and columns

    Hi LAigW
    Thanks for your valuable suggestion
    It works,
    Thanks Kersplash, I use Office 2010 , but at home I have office 2016

    Cheers
    Karnik

  5. #5
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Function/Array for selecting data from rows and columns

    You can use Power Query to unpivot the data as in the attached.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Fill array from range selecting all rows and some columns
    By cgkmal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-21-2014, 03:21 PM
  2. Replies: 0
    Last Post: 04-29-2014, 11:24 AM
  3. [SOLVED] Selecting all data in specific columns without selecting adjacent column.
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2014, 02:20 AM
  4. Selecting all data in specific columns without selecting adjacent column.
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2014, 03:50 PM
  5. Replies: 3
    Last Post: 09-30-2011, 02:50 AM
  6. selecting only certain rows based on other columns' rows!!!
    By Nitu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2008, 03:33 PM
  7. function for Rows of data to Columns
    By vickinangle in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-06-2008, 05:41 PM

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