+ Reply to Thread
Results 1 to 10 of 10

maching item from main data tab and picking correct $ amount

  1. #1
    Registered User
    Join Date
    03-23-2014
    Location
    niagara falls
    MS-Off Ver
    Excel 2003
    Posts
    18

    Lightbulb maching item from main data tab and picking correct $ amount

    I am creating inventory count sheet
    I have all items on one sheet - and multiple tabs for different places where counts are done
    so if I go to one of the tabs and enter vendor and item number I can use index and mach 2 criteria array formula to find the item name from the main data sheet
    so now each item has two counting units option, (like case and smaller count unit) with associated $ amount
    on my counting sheet I want only to pick one counting unit, how can I say - if I find the item - mach counting unit for this item to the price on the main tab

    a b c d e f g
    vendor item# name case $ for case bottle $ price for bottle

    my problem is that I have large range of different counting units in column d as well as for column f
    I might put them down to 10 -12 and have list to choose from for counting unit, but how to find the item (index and mach) and than based on counting unit choose colum e or g
    and I dont want to have 2 unit count options, since I can see the problem were counts will be entered in the wrong column

    thanks

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: maching item from main data tab and picking correct $ amount

    Hey there,
    It would be good if you can attach a sample worksheet so that we can have a better look at your data.

    You can attach a sample workbook by clicking on "Go Advanced" button at the bottom of the post and then selecting the "Paper Clip" icon from the tools above.
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  3. #3
    Registered User
    Join Date
    03-23-2014
    Location
    niagara falls
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: maching item from main data tab and picking correct $ amount

    Thanks - so I want to pick up in column I counting unit, and that base on that unit to pick up cost from sheet1
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: maching item from main data tab and picking correct $ amount

    may be column J
    =SUMIFS(Sheet1!$K$5:$K$12,Sheet1!$A$5:$A$12,'PM sec2'!A5,Sheet1!$B$5:$B$12,'PM sec2'!B5,Sheet1!$E$5:$E$12,'PM sec2'!E5,Sheet1!$H$5:$H$12,'PM sec2'!H5)
    drag down
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  5. #5
    Registered User
    Join Date
    03-23-2014
    Location
    niagara falls
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: maching item from main data tab and picking correct $ amount

    it does pick up but if I change unit counted on PM tab, it does not change $ amount, I need to be updating sheet1 values, and have it updated for value in unit counted on other tabs
    I have only one counting unit as example, but I will have other tabs with different items, or just couple of them
    also if I change unit counted on pm tab and I don't have that unit for that item on main sheet1 I need it to give me error and recognize it is not available

  6. #6
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: maching item from main data tab and picking correct $ amount

    Try below in I5 array entered (using control, shift and enter together)
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and drag down

    in D5 update formula to
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    drag down

    In E5 Update formula to
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag down


    In column J you can then use formula from earlier post or you can use one more column With and & in first formula within index and match

    Is this you are looking for?
    Last edited by hemesh; 02-12-2016 at 01:27 PM.

  7. #7
    Registered User
    Join Date
    03-23-2014
    Location
    niagara falls
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: maching item from main data tab and picking correct $ amount

    column D and E are perfect, but I is not what I am looking for, In I there should be drop list maybe ( I know how to do this) so if I choose lb or case lets say for lobster I need price in J to change with formula
    Sorry for not answering before, I was out with flu

  8. #8
    Registered User
    Join Date
    03-23-2014
    Location
    niagara falls
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: maching item from main data tab and picking correct $ amount

    Help please

  9. #9
    Registered User
    Join Date
    03-23-2014
    Location
    niagara falls
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: maching item from main data tab and picking correct $ amount

    This is what I came up with, and it works, up to last part - where if I change unit on pm sheet for item, it does not give me correct price but N/A

    =IF(INDEX(Sheet1!$H:$H,MATCH(1,($A8=Sheet1!$A:$A)*($B8=Sheet1!$B:$B),0))="","",IF(INDEX(Sheet1!$J:$J,MATCH(1,($A8=Sheet1!$A:$A)*($B8=Sheet1!$B:$B)*($I8=Sheet1!$J:$J),0))=I8,INDEX(Sheet1!$K:$K,MATCH(1,($A8=Sheet1!$A:$A)*($B8=Sheet1!$B:$B)*($I8=Sheet1!$J:$J),0)),INDEX(Sheet1!$M:$M,MATCH(1,($A8=Sheet1!$A:$A)*($B8=Sheet1!$B:$B),0))))

    bit of I only have last part = INDEX(Sheet1!$M:$M,MATCH(1,($A8=Sheet1!$A:$A)*($B8=Sheet1!$B:$B),0) it does give me correct price, so it is somewhere in the formula conflict and I just cannot figure it out

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,148

    Re: maching item from main data tab and picking correct $ amount

    Post an updated file: I assume you have a drop down to change unit?

+ 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. Replies: 4
    Last Post: 04-19-2015, 03:52 PM
  2. [SOLVED] picking one item from an array
    By HarryKlein in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-22-2014, 12:22 AM
  3. How to sort the data in correct sequence of date and item code?
    By Zecond in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-30-2013, 09:16 PM
  4. [SOLVED] picking an item from listbox to go to another WS
    By aydinaks in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-14-2013, 12:45 PM
  5. How find the last maching data
    By zabaki in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2013, 01:58 AM
  6. [SOLVED] Formula issue - not picking correct value
    By Excel-Access in forum Excel General
    Replies: 9
    Last Post: 07-19-2012, 08:21 AM
  7. [SOLVED] Name Box and not picking up the correct value
    By DartGuru in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-19-2006, 12:30 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