+ Reply to Thread
Results 1 to 2 of 2

Pls help with some AND IF logics.

  1. #1
    Registered User
    Join Date
    01-04-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    0

    Pls help with some AND IF logics.

    Hi,
    I need to write some logic for the below table.
    A few details to understand the req

    The First three columns are WH Location
    The Value in these columns are excess / short inventory.
    If the inventory is shortfall, then the WH that has positive inventory will transfer the required qty.
    Eg. If mumbai has -2 qty and banglore has 5, then banglore will transfer 2 qty to mumbai.
    Qty transfer should not exceed the qty req.
    Qty transfer should not exceed the inventory available.
    The below table consist of 3 locations & some same values that needs to be populated in columns 4 - 9



    Inventory From Bangalore to From Mumbai to From Delhi to
    Mumbai Delhi Bangalore Mumbai Delhi Bangalore Delhi Mumbai Bangalore
    0 -1 2 0 1 0 0 0 0
    10 4 -14 0 0 10 0 0 4
    -1 1 0 0 0 0 0 1 0
    -2 6 -3 0 0 0 0 2 3
    0 4 4 0 0 0 0 0 0
    -7 5 2 2 0 0 0 5 0
    -9 5 2 2 0 0 0 5 0
    -5 -5 0 0 0 0 0 0 0
    -5 -5 1 1 0 0 0 0 0
    -5 -5 9 5 4 0 0 0 0
    -5 -5 12 5 5 0 0 0 0
    5 4 0 0 0 0 0 0 0
    5 4 -6 0 0 5 0 0 1
    5 4 -11 0 0 5 0 0 4
    5 -1 -11 0 0 4 1 0 0
    -1 -1 -3 0 0 0 0 0 0
    -1 0 -3 0 0 0 0 0 0
    -1 -1 0 0 0 0 0 0 0
    -1 -1 9 1 1 0 0 0 0
    8 -5 -2 0 0 2 5 0 0
    11 -1 -7 0 0 7 1 0 0
    11 -1 -12 0 0 10 1 0 0
    -5 4 1 1 0 0 0 4 0

    Request some quick response, pls revert for more clarification.

    Regards,
    Taran

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,371

    Re: Pls help with some AND IF logics.

    Welcome to the forum.
    Btw you can post a real workbook here, click Go advanced -> manage attachment.->upload the sample file there.
    And we also have subforums for posting.

    regards
    vladimir
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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