+ Reply to Thread
Results 1 to 7 of 7

Availability formula

  1. #1
    Registered User
    Join Date
    05-09-2016
    Location
    United States
    MS-Off Ver
    2013
    Posts
    18

    Availability formula

    Hello,

    I am creating an excel for asset tracking management and I wanted to know the availability for that particular item, if anyone can get a formula for that?
    We are sending our item to a project for a certain amount of time, let say A item is sent to project from 5/12/2016 to 5/22/2016 that means that A item is not available, how do we put a formula for that?

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Availability formula

    Hi -

    You could try something like:

    =IF(AND(TODAY()>=A1, TODAY()<=A2),"Not Available","Available")

    This assumes your two dates are stored in cells A1 and A2.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,585

    Re: Availability formula

    Along the lines of loginjmor's solution:
    The formula would be dependent on the setup of the spreadsheet. For example the following formula could be used for a set up as shown below:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This formula assumes that the item is not available while at the project, however it is available before and after.
    Excel 2010
    Row\Col
    A
    B
    C
    D
    1
    Item Begin Proj End Proj Available
    2
    A
    5/12/2016
    5/22/2016
    FALSE
    3
    B
    5/6/2016
    5/16/2016
    TRUE
    4
    C
    5/20/2016
    5/30/2016
    TRUE
    Sheet: Sheet1
    It would be helpful, in order to help you, if we could see the set up that you are working with and expected outcomes, manually mocked up, of the formula.
    Let me know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Registered User
    Join Date
    05-09-2016
    Location
    United States
    MS-Off Ver
    2013
    Posts
    18

    Re: Availability formula

    well, the formula worked but i am not sure that is really want I want.
    Attached is my excel for asset tracking.
    I want to make that Equipment List sheet and Job Status sheet connected.

    If the Equipment is used in the project then is unavailable and if we reserved the item it is not available too.
    And what if we have new order, i am not sure how we can incorporate the formula you gave me?

    Can anyone also came up with the formula with the status of the job, either open, on-going and closed depends on the check-in and check-out date?

    Thank you
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,585

    Re: Availability formula

    The following formula in Job Status!C2 and down will fill in the three statuses based on the date:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The following formula in Equipment!B2 and down gives the two statuses based on the values that are in the attachment to post #4:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Let me know if you have any questions.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-09-2016
    Location
    United States
    MS-Off Ver
    2013
    Posts
    18

    Re: Availability formula

    Hello,

    Thank you for the help.
    However, can you explain to me about the formula for "=IFERROR(IF(MATCH(A2,'Job Status'!G$2:G$7,0),"Unavailable","Available"),"Available")" ?

    I also want to try to understand and learn about it.
    And what if I have 2 jobs with the same item. Like one job is done (AAA1006), the item should be available again, and when there is another upcoming job (AAA1007), the item should be unavailable again?

    Thank you so much everyone for your help.
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,585

    Re: Availability formula

    Since job AAA1002 had been completed (done) should flow meter 006 be Available?
    The formula was written to match the availability statuses that had been put into Equipment!B2:B8 from the attachment in post #4. To do what you are asking, "Like one job is done (AAA1006), the item should be available again, and when there is another upcoming job (AAA1007), the item should be unavailable again?", will require a different formula. Before asking members to start on another formula, please make sure that all foreseeable job status situations have been covered and the availability of each situation has been shown.

+ 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. Need formula to track seating availability.
    By grosen17 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2014, 02:41 PM
  2. Require Excel formula or workout for date wise booking and availability
    By Jaspreet Singh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2013, 02:44 AM
  3. Availability analysis
    By PipGIS in forum Excel General
    Replies: 8
    Last Post: 06-02-2011, 05:20 AM
  4. Formula to find out time availability
    By modest_16081982 in forum Excel General
    Replies: 8
    Last Post: 12-15-2008, 02:06 PM
  5. calculate availability
    By daanyal in forum Excel General
    Replies: 6
    Last Post: 09-21-2007, 12:03 PM
  6. VBA Availability?
    By Paul Fenton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2006, 09:50 AM
  7. Finding availability
    By bern in forum Excel General
    Replies: 0
    Last Post: 05-18-2005, 08:30 AM

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