+ Reply to Thread
Results 1 to 7 of 7

?x Help (Vlookup, Index, IF) ?

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    shelby,usa
    MS-Off Ver
    Excel 2010
    Posts
    32

    ?x Help (Vlookup, Index, IF) ?

    I have a workbook that has 4 sheets. 1 sheet is "inventory" and others are Purchase Orders. Sheet 1 has different vendors I would like a formula that will look on Sheet 1 for Vendor ABC and if it finds an entry for ABC and if a part needs order based on if the column "Order Amount" (which is conditional formatted to turn red when part needs ordered) is less that Minimum Inventory if this criteria is meet it takes that info needing ordered and fill in the PO tab (sheet2).

    Its very difficult to try to explain how I would like for it to do. I prefer not a macro or VB code. I prefer a formula but would like the formula on sheet 1 as the PO tab will be emailed to the vendor. One other thing be nice to have the formula not in any cell where data will be entered in Sheet 1. I can have a formula for each vendor and each row on sheet 1.

    Anything like this possible? I think I could do a formula in the PO(sheet 2,3,4) to fill in from criteria from Sheet 1 but this will be emailed and possible quantity ordered may be edited, all others would not change on Sheet 2.

    I have attached the workbook for possible help in seeing what I want.
    Thanks in advance!!!!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-06-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: ベ Help (Vlookup, Index, IF) ?

    Not possible I'm afraid. You'd have to have formula in the PO sheets to allow population of the data. If you were completely against having this then you'd need to complete using VB. Let me know which of the two you'd prefer and I'll put something together for you.

  3. #3
    Registered User
    Join Date
    01-25-2013
    Location
    shelby,usa
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: ベ Help (Vlookup, Index, IF) ?

    I was thinking would have to have a formula in the PO tab plus the cell on the PO tab or VB Code.

    I can go with a formula.

    I can do a if formula for the vendor
    Please Login or Register  to view this content.
    but cant seem to get it where if that row on Sheet 1 has Tutit and if "Order Amount" is < than the Minimum Inventory" on Sheet 1 to fill in the "Description" "Part Number" QTY Order" and "Price" on the PO tab.

    If can help on a formula to do that it would be great. As you can see in my file although I have several entries for e.g. Tutit vendor but only need to order 2 parts from them at this time and those 2 parts need to be on the PO tab for that customer.

    I think I can adjust a formula to fit the other Tabs for the other Vendors PO.
    I would like to mention I have a button with VB Code on the PO tabs to just Email that PO Sheet for that vendors Tab. I just stripped that code for attaching on this post.

    I am guessing a formula would be easier and quicker to create than VB Code.

    Thanks in advance!
    Last edited by T_BOLT; 10-08-2014 at 07:58 AM.

  4. #4
    Registered User
    Join Date
    01-25-2013
    Location
    shelby,usa
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: ベ Help (Vlookup, Index, IF) ?

    Thought I had a formula that works. In fact it did but if you did any filtering on Sheet 1 it would make the formulas on the PO sheet (Sheet 2) non operational.

    The code I had was a if/and
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    formula for each on PO Sheet (Sheet 2): "Qty. Ordered", "Vendor", "Part Number", Description" "Unit Price". I had the above formula in each cell for each header.

    For each of these I had if Vendor on Sheet 1 meets a true AND if it is < than "Minimum Inventory" on Sheet 1 was true. If true it would pull that specific value for the "Qty. Ordered", "Vendor", "Part Number", Description" "Unit Price" from Sheet 1.

    The formula does what it needs to be done but if any type of filtering is done on Sheet 1 the formulas does not work. It does not work because the cells in formula that it looks at on sheet 1 have changed.

    Any suggestions?

    As long as not filtering or sorting is done on sheet 1 it works good with only tiny issue (that is with my current formula) that is if I have 12 parts from Vendor Tutit and they are not in sequential order rows 1,5,8,9,10 on sheet 1 and only need parts from row 1 and 9 ordered, on the PO tab I would have line 1 and line 10 on the Purchase Order filled in and all in between blank.
    Last edited by T_BOLT; 10-08-2014 at 08:45 PM.

  5. #5
    Registered User
    Join Date
    08-06-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: ベ Help (Vlookup, Index, IF) ?

    Sorry for the delay with this one I've been busy. I've got a solution for you.

    Using a count with absolute reference we can label the instances then use a look up and match to pull just these off in the PO sheet. I've attached a completed one for only one PO but just replicate the code onto the other PO Sheets. I've used the numbers on the left of the PO's to pull out the instances within the main sheet. You can hide the two index columns and it will still work fine.

    Hope this helps.

    Any questions then please let me know.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-25-2013
    Location
    shelby,usa
    MS-Off Ver
    Excel 2010
    Posts
    32

    Re: ベ Help (Vlookup, Index, IF) ?

    That works unbelievably GREAT! I did one complete PO tab and it works great even when sorting and filtering. Thanks for the help. I thank you for the time u spent on this and hope that it was not much like work and was somewhat enjoyable. I have 5 PO tabs to create and once again thanks for the help and time you spent on this.

  7. #7
    Registered User
    Join Date
    08-06-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: ベ Help (Vlookup, Index, IF) ?

    You're more than welcome. Always happy to help

+ 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] Index or vlookup
    By puuts in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-04-2013, 04:38 AM
  2. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  3. VLookup, IF, Index help please.
    By aopsahl7 in forum Excel General
    Replies: 1
    Last Post: 10-11-2011, 03:47 PM
  4. Vlookup, Index or IF
    By shajms75 in forum Excel General
    Replies: 1
    Last Post: 04-02-2011, 04:47 AM
  5. vlookup or index?
    By kroemer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2007, 12:57 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