+ Reply to Thread
Results 1 to 15 of 15

Index or match function

  1. #1
    Forum Contributor
    Join Date
    12-07-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    117

    Smile Index or match function

    Hello All.

    Hope you are well. and thank you for reading my issue.
    I am having some issue regarding finding cell values matching them and bring the specific cell value i want for example

    Column W (Printer Name) Column G ( Branch Name) Column U ( Region)
    HP Laserjet London Europe
    EPSON L800 Warsaw Eastern Europe
    HP Laserjet Warsaw Easter Europe

    I need Column W to match Column G and Column G to Match Column U and bring printer name on sheet1 (B5)

    Thank you in advance

    Kind regards

    Ben
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: Index or match function

    In your file you indicate that the printer from column W or V should be inserted in column B. What if there are two printers, one in W and one in V. Should the second one go in Column C?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    12-07-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    117

    Re: Index or match function

    Hi Alan,

    Thank you for your quick reply.
    Thats another problem I have, however ,At the moment i am only trying to resolve printer 1(W) but if you know the way how to go about it than please advice me.
    Thanks

    Ben

  4. #4
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Index or match function

    I made a column to list combined printers (if there are more than one) at each individual location in column Z, then used this ARRAY formula to return the results:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note: ARRAY formulas are confirmed by pressing CTRL+SHIFT+ENTER, not just ENTER.

    You'll just have to change the C$3 to H$3 for the WARSAW printers.

    See my attached revised sheet.

    - Moo
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    12-07-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    117

    Re: Index or match function

    Quote Originally Posted by Moo the Dog View Post
    I made a column to list combined printers (if there are more than one) at each individual location in column Z, then used this ARRAY formula to return the results:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note: ARRAY formulas are confirmed by pressing CTRL+SHIFT+ENTER, not just ENTER.

    You'll just have to change the C$3 to H$3 for the WARSAW printers.

    See my attached revised sheet.

    - Moo

    Dear Moo,

    If I want to expand this from Sheet2!$Z$9:$Z$700 whats the changes i need to do.I did normal way but only shows up to 7 items on the list.

    Ben[/QUOTE]
    Last edited by Benjamin2008; 12-08-2013 at 03:15 PM.

  6. #6
    Forum Contributor
    Join Date
    12-07-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    117

    Re: Index or match function

    Dear Moo,

    If I want to expand this from Sheet2!$Z$9:$Z$700 whats the changes i need to do.I did normal way but only shows up to 7 items on the list.

    Ben[/QUOTE]

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Index or match function

    Is this what you have in mind? In order to get two printers if there are two printers, the easiest way is with a helper column in Sheet2 at the end of the data rows. I chose column Y and concatenated columns W and X with a double space between them.
    Attached Files Attached Files
    Last edited by newdoverman; 12-08-2013 at 04:15 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  8. #8
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Index or match function

    Sorry, I wasn't around at my computer all day... you could change the formula to this (remember, ARRAY!):
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    - Moo

  9. #9
    Forum Contributor
    Join Date
    12-07-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    117

    Re: Index or match function

    Good Morning Guys
    Special Thanks To Moo for helping finishing my Project.

    Ok I can match the columns and transfer them on sheet1
    as you can see on the Envanter sheet not all the users has printer installed on their computers (envanter sheet Column W) and has empty cells from w9 to w700
    Current formula Works fıne how ever ıf the cell ıs empty on envanter sheet Column W on sheet1 ıt puts down 0(Zero)(see sheet1) looks for the next cell value.
    I would lıke to avoıd empty cells and when I ınsert the formulas on sheet1 ı need all values below eachother(nO empty cells to seen on sheet 1

    Thank you
    Ben
    Attached Files Attached Files

  10. #10
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,372

    Re: Index or match function

    =IFERROR(IF(INDEX(Envanter!$W$9:$W$700,SMALL(IF(Envanter!$G$9:$G$700=C$10,ROW($1:$692)),ROW(1:1)))=0,"",INDEX(Envanter!$W$9:$W$700,SMALL(IF(Envanter!$G$9:$G$700=C$10,ROW($1:$692)),ROW(1:1)))),"")

    Put in B13 and copied own

    Azumi
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    12-07-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    117

    Re: Index or match function

    Quote Originally Posted by azumi View Post
    =IFERROR(IF(INDEX(Envanter!$W$9:$W$700,SMALL(IF(Envanter!$G$9:$G$700=C$10,ROW($1:$692)),ROW(1:1)))=0,"",INDEX(Envanter!$W$9:$W$700,SMALL(IF(Envanter!$G$9:$G$700=C$10,ROW($1:$692)),ROW(1:1)))),"")

    Put in B13 and copied own

    Azumi
    Hi Azumi

    Thanks for the reply

    any chance of hiding empty cells on sheet 1 ın between B13: B700 ....Only dısplay the cell with value

    Thanks
    Ben

  12. #12
    Forum Contributor
    Join Date
    12-07-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    117

    Re: Index or match function

    Hi Guys
    any chance of hiding empty cells on sheet 1 ın between B13: B700 ....Only dısplay the cell with value

    Thanks
    Ben
    Attached Files Attached Files

  13. #13
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,372

    Re: Index or match function

    You mean like this, remove the blanks?

    Azumi
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    12-07-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    117

    Re: Index or match function

    Quote Originally Posted by azumi View Post
    You mean like this, remove the blanks?

    Azumi
    Azumi

    You are a LEGEND my friend. Thank you so much for finishing my last headache.

    Kind Regards

    Ben

  15. #15
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,372

    Re: Index or match function

    Im glad your problem solved and nice feebcak too...

    Azumi

+ 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. Need help nesting an index/match function within a Vlookup function.
    By Christopher135 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2013, 06:16 PM
  2. index function error using match function to get data from a cell in an array
    By mabildgaard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 02:21 AM
  3. Replies: 3
    Last Post: 06-17-2013, 12:37 PM
  4. Replies: 2
    Last Post: 03-20-2009, 01:29 PM
  5. [SOLVED] Emulate Index/Match combo function w/ VBA custom function
    By Spencer Hutton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-02-2005, 01:06 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