+ Reply to Thread
Results 1 to 18 of 18

Indexing Issues

Hybrid View

jim2012 Indexing Issues 03-27-2012, 03:35 PM
Paul Re: Indexing Issues 03-27-2012, 03:39 PM
Dennis7849 Re: Indexing Issues 03-27-2012, 03:39 PM
jim2012 Re: Indexing Issues 03-27-2012, 04:02 PM
jim2012 Re: Indexing Issues 03-29-2012, 09:08 AM
darknation144 Re: Indexing Issues 03-29-2012, 09:41 AM
jim2012 Re: Indexing Issues 03-29-2012, 09:51 AM
darknation144 Re: Indexing Issues 03-29-2012, 10:01 AM
jim2012 Re: Indexing Issues 03-29-2012, 10:09 AM
darknation144 Re: Indexing Issues 03-29-2012, 10:23 AM
jim2012 Re: Indexing Issues 03-29-2012, 10:40 AM
darknation144 Re: Indexing Issues 03-30-2012, 09:32 AM
jim2012 Re: Indexing Issues 03-30-2012, 09:36 AM
darknation144 Re: Indexing Issues 03-30-2012, 09:41 AM
jim2012 Re: Indexing Issues 03-30-2012, 09:45 AM
darknation144 Re: Indexing Issues 03-30-2012, 09:52 AM
darknation144 Re: Indexing Issues 03-30-2012, 09:53 AM
jim2012 Re: Indexing Issues 03-30-2012, 10:02 AM
  1. #1
    Registered User
    Join Date
    03-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Indexing Issues

    I have a workbook with 2 worksheet. On one we calculate the price for various kitchen layouts, we'll call it DATA. The second is basically a compacted Report of the data on the first. I have been using the Index() function paired with Match() so I only have to copy the Price per unit to the Report sheet. About five other value are pull across with Index() function and they are all on the same row on the data sheet.
    The issue is when I have Price values that are the same, the index() of course pulls the first one, which may not be correct.
    The Price Value I am coping from the DATA sheet has the correct row number for the other items, but how do I reference this row in my Index() or is there another function that will index to data with a know row and a column number?

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Indexing Issues

    Hi Jim,

    Can you upload a copy of your workbook so we can see? Please include an example where there may be a duplicate price, and what your expected results should be. You can remove any confidential data, of course, but please be sure to include similar fake data of the same type and location.

    Thanks!

  3. #3
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: Indexing Issues

    A sample of your workbook would help.

  4. #4
    Registered User
    Join Date
    03-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Indexing Issues

    Here is a sample
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Indexing Issues

    Any Ideas? Anyone?

  6. #6
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Indexing Issues

    The second argument in Index() is the row number how are you using index with out giving it a row? You can pass Index() rows and columns if you know where it is I don't see the problem.

  7. #7
    Registered User
    Join Date
    03-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Indexing Issues

    The problem is the row number using the Match() function. The Match () returns the first match it finds in the array, so if i have 2 prices that are the same(value I'm searching for) Match returns the first, which might not be the value I need. Is there a way to reference the row in Column H on the takeoff sheet? This is the value(Price) from the Kitchenette sheet and contains all the value I need to copy. I guess the other approach would be a dynamic array of some sort.

  8. #8
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Indexing Issues

    Yes you can, Index(Table,Row,Column) You can use Match() again to give the correct column.

  9. #9
    Registered User
    Join Date
    03-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Indexing Issues

    OK, But can I reference the row from the H column in the Takeoff Sheet? the cell H9 on the Takeoff sheet contains the "= Kitchenttes!L28", the row I want to reference is Kichenette!28. Is there a way to reference this row with a function from Takeoff Sheet? The rows on Takeoff sheet are copied and inserted depending on the size of the project.

  10. #10
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Indexing Issues

    You can use =address() to get the text and then delete the L

  11. #11
    Registered User
    Join Date
    03-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Indexing Issues

    I'm missing something here. How do I get Address() to return a text reference for the link in Takeoff Cell H9?

  12. #12
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Indexing Issues

    I really don't think you need to use address() you will just have to use index with 2 matchs then +1 to either the column or row inside the index function.
    If someone helped give them rep using the star button.

    If you have received a satisfactory solution please mark the thread solved. If not Fotis will come for you at night :P

  13. #13
    Registered User
    Join Date
    03-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Indexing Issues

    OK, You have lost me now, can you give an example?

  14. #14
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Indexing Issues

    I would give an example but I don't understand your spreadsheet.

    Say I search for a word Beds with in a matrix Match() can find me exact match within a column or row. If Shelves is in the cell next to it when I pass Match() to index() I do Match()+1. This is how I search for products with sub containers such as shelves draws etc. I'm sure you can apply the same teqnique but I don't understand what you mean by it returns the wrong price.

  15. #15
    Registered User
    Join Date
    03-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Indexing Issues

    I does not return the wrong "Price" because "Price" is the Look Up Value. The issue is when two units have the same price, but different Quantities or Notes. Match() chooses the first which may or may not be the correct row number in this case.

  16. #16
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Indexing Issues

    Match.xlsx

    So see the yellow line is this what you wanted? I just added a Totals+Component reference for Match to find the right column.

  17. #17
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Indexing Issues

    Why would you search by price? You would surely only search by component number.

  18. #18
    Registered User
    Join Date
    03-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Indexing Issues

    I see what you mean, I think I can make it work.
    Thanks

+ 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