+ Reply to Thread
Results 1 to 4 of 4

look-up values horizontally and reflect them vertically

  1. #1
    Registered User
    Join Date
    05-27-2013
    Location
    brussels
    MS-Off Ver
    Excel 2003
    Posts
    5

    look-up values horizontally and reflect them vertically

    Hi!

    I need help building formula to look up values horizontally and reflect them vertically. I need to reset values from Table into Table 2. In table 2 I only have names of people so I need to reflect their corresponding targets and values vertically.
    Table 1
    Name Name Value Name Value Name Value
    John Target 1 50% Target 2 40% Target 3 10%
    Erik Target 4 60% Target 2 20% Target 5 20%

    Table 2
    John Target 1 50%
    John Target 2 40%
    John Target 3 10%
    Erik Target 4 60%
    Erik Target 2 20%
    Erik Target 5 20%

  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: look-up values horizontally and reflect them vertically

    Its an array formula
    =IF(ISERROR(INDEX($B$2:$G$10,MATCH($J2,$A$2:$A$10,0),SMALL(IF(K$1=$B$1:$G$1,COLUMN($B$1:$G$1)-1,""),COUNTIF($J$2:$J2,$J2)))),"",INDEX($B$2:$G$10,MATCH($J2,$A$2:$A$10,0),SMALL(IF(K$1=$B$1:$G$1,COLUMN($B$1:$G$1)-1,""),COUNTIF($J$2:$J2,$J2))))
    Appreciate the help? CLICK *

  3. #3
    Registered User
    Join Date
    05-27-2013
    Location
    brussels
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: look-up values horizontally and reflect them vertically

    Great! Thanks! But why if I click in the cell with the formula, the content disappears then?

  4. #4
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: look-up values horizontally and reflect them vertically

    Quote Originally Posted by Ksenia View Post
    But why if I click in the cell with the formula, the content disappears then?
    Its an array formula. When you will enter formula or change it hit Ctrl+Shift+Enter. Hitting only Enter will give you an error.

+ 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. Can you autofill horizontally and vertically?
    By keez1993 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-27-2014, 03:59 AM
  2. [SOLVED] Is it possible to freeze both vertically and horizontally?
    By claralou in forum Excel General
    Replies: 4
    Last Post: 09-27-2013, 05:04 AM
  3. Replies: 8
    Last Post: 06-19-2012, 06:02 AM
  4. [SOLVED] Sumproduct vertically and horizontally
    By jimstrongy in forum Excel General
    Replies: 2
    Last Post: 03-21-2012, 04:37 PM
  5. Freezing panes horizontally and vertically
    By tryer in forum Excel General
    Replies: 2
    Last Post: 08-22-2009, 07:27 AM

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