+ Reply to Thread
Results 1 to 2 of 2

Can someone decipher these formulas?

  1. #1
    Registered User
    Join Date
    08-07-2009
    Location
    Dublin, California
    MS-Off Ver
    Excel 2003
    Posts
    18

    Can someone decipher these formulas?

    =AND($B18<>"",$F18>0,AA$6>=$D18,AA$6<=($D18+$F18*($E18-$D18)))

    =AND(AND(AA$6>=$D18,AA$6<=$E18),$B18<>"")


    =AND($C18<>"",$F18>0,AA$6>=$D18,AA$6<=($D18+$F18*($E18-$D18)))

    I am having a hard time fixing this spreadsheet to work with my data. I think I need to understand the above formulas before I can proceed with my question of adding my data to the attached spreadsheet.
    GANTT TEST.xls

    I am looking to manipulate the Gantt Chart attached. I need the chart to flow in a manner of showing where my projects overlap each week. Kinf of like --->*See Gantt Test Forum attached file*

    I will be adding my stores to each Blue Row with their corresponding start and end dates.

    I also need to change the formulas at the top so that they show by weeks instead of each day of that month. If I delete rows titled TASK, the months and days will turn to #REF! I do not need the Task Rows.

    Columns/Rows A1 through E7 are not needed.

    Does any of this make sense? Am I making this more difficult than it is? I have never done a gantt chart to this extreme before.
    Attached Files Attached Files

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Can someone decipher these formulas?

    To answer your primary question, yes, we can help decipher those formulas. If you know what any of the individual parts do, you pretty much have it down.
    Please Login or Register  to view this content.
    The two formulas above are essentially the same, except one includes B18 and the other C18.

    $B18<>"" means "cell B18 is not equal to blank (an empty string)".
    $F18>0 means "cell F18 is greater than 0".
    AA$6>$D18 means "cell AA6 is greater than cell D18".
    AA$6<=($D18+$F18*($E18-$D18)) means "cell AA6 is less than or equal to the sum of cell D18 plus the product of cell F18 and the difference of cells E18 and D18".

    Each of these is a logical test that will return TRUE or FALSE. By wrapping them all within an AND() function, *every* test within the function must return TRUE for the entire function to return TRUE. If any of the individual tests are FALSE, the whole function will return FALSE.

    The third formula has an unnecessary second AND() function wrapped around it, and should instead be written as:
    Please Login or Register  to view this content.
    Hopefully that helps!

+ 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