Consulting

Results 1 to 2 of 2

Thread: with VBA create a function that accepts arguments in an excel sheet

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Question with VBA create a function that accepts arguments in an excel sheet

    Create an availability function that accepts the following arguments
    ○ Material code (cell A) - the material code to be analyzed
    ○ Location - a Warehouse Location String (cells H, I). It can be “Porto” or
    "Lisbon"
    ○ Quantity - an integer with the quantity to order.
    The function should return one of three possible results:
    ● “Available for immediate delivery” if the warehouse is located
    have the quantity in stock.
    ● “Available for delivery” if the quantity ordered is available on the
    total stock of the two warehouses (i.e. quantity ordered <Stock Port0 + Stock
    Lisboa)
    ● “Unavailable” if the quantity ordered is greater than the sum of the stock in
    warehouses


    Create an availability function that accepts the following arguments○ Material code (cell A) - the material code to be analyzed○ Location - a Warehouse Location String (cells H, I). It can be “Porto” or"Lisbon"○ Quantity - an integer with the quantity to order.The function should return one of three possible results:● “Available for immediate delivery” if the warehouse is locatedhave the quantity in stock.● “Available for delivery” if the quantity ordered is available on thetotal stock of the two warehouses (i.e. quantity ordered <Stock Port + StockLisbon)● “Unavailable” if the quantity ordered is greater than the sum of the stock inwarehouses
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •