+ Reply to Thread
Results 1 to 2 of 2

Returning cell contents from IF, Vlookup statement

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    San Diego
    MS-Off Ver
    2013
    Posts
    16

    Returning cell contents from IF, Vlookup statement

    I have a spreadsheet that has sort of "Matrix". There is product information in columns and country codes in each row. I need to bring the country code information into one column instead of several separate columns. I have an example as an attachment.
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,944

    Re: Returning cell contents from IF, Vlookup statement

    f15=INDEX(INDEX($B$2:$M$8,MATCH($A15,$A$2:$A$8,0),),MATCH($D15,INDEX($B$2:$M$8,MATCH($A15,$A$2:$A$8,0),),0)+1)
    try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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] Macro to clear contents of a cell with a formula that is not returning a value
    By pasqualebaldi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-29-2014, 03:34 PM
  2. [SOLVED] Returning the contents of a specific cell
    By afSE5 in forum Excel General
    Replies: 5
    Last Post: 10-13-2014, 07:30 AM
  3. Returning one of 2 fomulas depending on contents of a cell
    By hannah225 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2014, 06:24 PM
  4. Returning the contents of a specific cell using a MATCH of 2 other cells
    By oneblondebrow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-08-2013, 08:41 AM
  5. [SOLVED] Returning contents of a cell
    By Dan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-26-2006, 06:55 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