+ Reply to Thread
Results 1 to 6 of 6

If or Match Problem

  1. #1
    Registered User
    Join Date
    07-28-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    91

    If or Match Problem

    I have a table of 42 products which have been assigned 5 different valuations each, however the products aren't actualy valued in order so i need something that looks at the table of valuations matchs what the product valuation is and then returns the same valuation to where the product has been valued in a random order.

    Might make more sense to look at the spreadsheet...

    Thanks in advance,

    James
    Attached Files Attached Files
    Last edited by j.farr3ll; 08-31-2010 at 06:59 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: If or Match Problem

    If I have understood you correctly, try:
    =VLOOKUP($A14,$J$2:$O$46,COLUMN(),FALSE)
    Copy across and down

  3. #3
    Registered User
    Join Date
    07-28-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    91

    Re: If or Match Problem

    Yeh that works perfectly on the cut down dataset i included here, but returns #REF when i try it in my main dataset, even when the paramameters are moved to cover the same data. Any ideas why it might do this?

  4. #4
    Registered User
    Join Date
    07-28-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    91

    Re: If or Match Problem

    Don't worry was just being an idiot, have sorted it, thanks for your help

    James

  5. #5
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: If or Match Problem

    Maybe it has to do with the use of column to decide what column in the matrix the result shall be picked from?

    In my solution column B (=column 2) gets data from column K, which is column 2 in the lookup-matrix.

    If this is the problem, just add or subtract from COLUMN() to adjust, or use the actual number instead.

  6. #6
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: If or Match Problem

    Ok :-)

+ 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