Show days left until reset based on date and condition associated with date

My question is simlilarly based to the previous discussion https://discussions.apple.com/message/15134714#15134714
What I need to do is display the number of days until I have to reset a flight condition (FS Column) based on a set number of days (60 days).  I have several colums of information but the two I would use is a Date Column and the FS Column(drop down menu with text for options). I would need to be able to look at certain FS options and use the date associated with it to subtract from 60.
If FS= "NG" use date associated with it to add 60 days, and then use that date to compare it with today's date to show how many days are left till the 60 day mark.
So if the last "NG" was Jan 1, 2011 and today was Feb 1, 2011 I would want one cell to show 30 days and another cell to show Mar 2, 2011.
I need to fly in a certain condition once every 60 days. I want to show how many days left I have until I need to reset that 60 day counter.  Also, I would like to have another cell show the date associated with the day I would need to reset that counter on.
Unfortunately I am in a limited internet environment so I can not post a picture of my spreadsheet.  Sorry for the over explination, trying to make it as clear as possible first go round.
Thanks in advance!

Aron,
I added a few columns to correlate the conditions and dates. There may be a better way than this brute force approach, but this will work.
Date
DS
FS
Hrs
Seat
Mission ID
D
H
N
NG
NS
Aug 1, 2011
PI
D
1.0
F
C
8/1/11
Aug 1, 2011
PI
N
0.5
F
C
8/1/11
Aug 2, 2011
PI
D
0.5
F
C
8/2/11
Aug 2, 2011
PI
NS
1.4
F
C
8/2/11
Aug 4, 2011
PI
NS
0.2
F
C
8/4/11
Aug 12, 2011
PI
NG
1.0
F
C
8/12/11
Aug 12, 2011
PI
NS
1.2
F
C
8/12/11
Aug 14, 2011
PI
NG
0.5
F
C
8/14/11
Aug 14, 2011
PI
H
0.5
F
C
8/14/11
Aug 14, 2011
PI
NS
0.6
F
C
8/14/11
Aug 20, 2011
PI
NS
2.1
F
C
8/20/11
Aug 21, 2011
PI
NG
2.0
F
C
8/21/11
Aug 22, 2011
PI
NG
1.0
F
C
8/22/11
Aug 22, 2011
PI
NS
0.4
F
C
8/22/11
Aug 29, 2011
PI
NS
0.5
F
C
8/29/11
Then I added a summary table:
FS Condition
LastDate
Plus 60 Days
Today is Oct 11, 2011
Alarm
D
8/2/11
10/1/11
10d
Overdue
H
8/14/11
10/13/11
-2d

Similar Messages

  • What is the best way to create a SSRS Report with Header Data and its associated child data

    So I have Member Information...Member ID...Member Addressing...etc.. I want to display this in the top part of the report like...
    Member Name:
    Member ID:
    Member Address Line 1:
    And then below I want to report on all the claims associated with a Member ID that is chosen by the Parameter. Obviously the Claim Data will be in Table format. Do I necessarily have to associate the Member Information with the Claim Information or simply
    use the same parameter? And what is the best Toolbox item to use to display the Member Information on top?
    Any help or guidance is greatly appreciated by this newbie.
    Thanks for your review and am hopeful for a reply.
    ITBobbyP

    Hi ITBobby,
    According to your description, you want to display all Claim Data for each Member. Right?
    In Reporting Services, we can use a table to display those Claim Data and make them group on Member ID. If you want to display the Member Information, we can put the data fields on parent group level. Then we can use create a parameter to filter the Member
    ID we need. We have tested this scenario in our local environment. Here are steps and screenshots for your reference:
    1. Create a DataSet(DataSet1) which contains the data fields of Member and Claim.
    2. Create a table and drag the Claim data into the table.
    3. In Row Group. Right click on Details and add a parent group.
    4. Select Member_ID in Group by.
    5. Right click on the textbox of Claim data. Select Insert Row->Outside of Group-Above. Drag the MemberName into the inserted row.
    6. In Report Data, right click on Parameter-> Add Parameter.
    7. Type Member_ID in Name and Prompt, select allow multiple values.
    8. In Available Values, select get data from a query. Choose DataSet1, select Member_ID in values and label. You can also set this in Default Values if you need.
    9. Save and preview.
    Reference:
    Understanding Groups (Report Builder and SSRS)
    Report Parameters (Report Builder and Report Designer)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • HT201272 I rented a movie, watched half of it. Had 27 days left until it expired. After 3 days, received a message saying the movie had expired and it appears deleted from my rental folder. Any ideas how I can get this movie back?

    I rented a movie, watched half of it. Had 27 days left until it expired. After 3 days, received a message saying the movie had expired and it appears deleted from my rental folder. Any ideas how I can get this movie back?

    You would have to rent it again.
    Once started the movie you have 24 hours to complete viewing.
    How long do I have to watch a rented movie?
    You have 30 days from the time of rental to watch your movie, and 24 hours (in the US) or 48 hours (elsewhere) after you've started viewing to finish it. Once the rental period expires, the movie will disappear from your iTunes library.
    http://support.apple.com/kb/ht1657

  • Lost my iP 3G - How do I use iP 2G until iP 4 is here and keep all my data?

    Lost my iP 3G - How do I use iP 2G until iP 4 is here and keep all my data?
    Ok so this is a bit complicated - I left my iPhone 3G in a cab last weekend and unfortunately it's lost for good. I still have my original iPhone 2G and have already went to AT&T for a new Sim Card. I want to use the old phone until the iPhone 4 is out in 2 weeks..... My question is how do I Restore/Back Up/Sync the old iPhone so I can retrieve all the information from my lost 3G and not lose any of the data. I know a lot of the newest software (3.1.3) is not supported on the old iPhone. In addition, how do I make sure that I am able to transfer all the origninal data from my lost 3G, as well as all the new data that I acquire on the iPhone 2G i'm using now onto the new iPhone 4 when I get one in a few weeks???
    Very confusing I know, I just want to make sure all my data is safe and I don't make a blockheaded mistake of erasing some or any of it.....
    Thanks to all you iPhone geniuses out there willing to provide feedback!!!

    Well thank you for knowing the Terms of Use like it was your job Mr. Ian Parkinson. Forgive me for being the only person ever to sign up on here that simply clicked through to agree to terms without reading everything line by line. Yes I have only a handful of posts, I simply had a single question that I assumed would be answered quickly if I posted it into similar categories. It's too bad I couldn't have consulted with you first, the All Knowing and All Great Oz who has memorized the entire Terms of Use and has 6,000 posts on here..... I am simply not worthy in your presence, please strike me down with a fireballs from your eyes and bolts of lightning from your arse!

  • Compare data in R/3 with data in a BW Cube after the daily delta loads

    Hi Friends,
    How can I compare data in R/3 with data in a BW Cube after the daily delta loads? Are there any standard procedures for checking them or matching the number of records?

    Hi Sunil,
    If you want to check the records daily instead of checking the data in R/3 manually ......
    You can try this...
    If you have staging DSO(level 1) that means whatever data is in source system load it to Staging DSO without any routines or any modifications.
    Now load this DSO data to Cube or DSO(level 2) as per your requirement with routines etc.
    Now Staging DSO contains Source system data.
    Now the level 2 Cube or DSO contains BW data with some modifications.
    Now create a Multiprovider based on level 1 and level 2 data targets.
    Now create a report on which keyfigures you want to test the data.
    In Multiprovider there is a field called 0infoprovider in data packet dimension.
    you can drag this infoprovider to the columns and restict your keyfigures with level 1 and level 2 data targets.
    In the first column you can see the level 1 DSO data ( source system data),in the 2nd column you can see the BW data.
    Now create a formula which gives the diffrence b/n level 1 and level2.
    that is R/3 data - BW data.
    If the diffrence is zero both R/3 and BW data are same.
    if the diffrence is not eqaul to zero check whether any routine is there or not.

  • How to read csv Data and save it with no format changes

    Hi,
    At first I am not used to Diadem.
    I want to read in a csv file do some calculation with the data and save the changed data in the same csv file. A file as an example is attached (496888_edit.csv).
    Therefore I wrote this lines:
    Dim i
    Dim Delimiter
    Dim FilePath
    Dim FileParameters
    Delimiter = ";"
    Call DataFileLoad(FilePath,"CSV","Load")
    ' Do some calculations
    FileParameters = "<filename>"&FilePath&"</filename>"&"<delimiter>"&​Delimiter&"</delimiter>"
    Call DataFileSave(FileParameters,"CSV")
    After running that lines the csv file is looking like the other attached file (496888_after.csv)
    Because of some reasons which I could not explain Diadem is rounding the numbers. I want that both files look the same.
    What can I do?
    There might be another extension. Just to read in some columns, doing some calculations and after the calculation saving that columns in the file instead of the originals. (The csv files are much bigger like the two examples)
    Thanks,
    Jens 
    Attachments:
    496888_edit.csv ‏1 KB
    496888_after.csv ‏1 KB

    The only thing that can be changed in writing float64 values using the CSV plugin is the decimal point ('.' or ',').
    The format of the doubles is not rounded but the CSV writer only writes the relevant digits.
    It is using up to 15 digits which is the resolution of float 64. It would also switch to scintific writing if necessary.
    So there is no way to force only 6 digits and filling 0s are left out. So if you just fear that you loose precision that will not happen.
    (only the typical problems of epressing a 2 system binary value in a 10 system text string)
    If you are interested to have a fix float format the only solution is to write with VBS directly to a file doing formatting on your own, which is slow.

  • Previous month first data and previous month last date

    can any body have query to get previous month first date and previous month last date.
    Ex: First day of the previous week:
    TIMESTAMPADD(SQL_TSI_DAY,-6, (TIMESTAMPADD(SQL_TSI_DAY, DAYOFWEEK(CURRENT_DATE) *-1,CURRENT_DATE)))
    Last day of the previous week:
    TIMESTAMPADD(SQL_TSI_DAY, DAYOFWEEK(CURRENT_DATE) *-1,CURRENT_DATE)
    can anybody have it for first day of the previous month,last day of the previous month?
    Edited by: user12255470 on Apr 7, 2010 3:30 AM

    Hi,
    1st day of previous month :
    TIMESTAMPADD(SQL_TSI_DAY, ( DAYOFMONTH(TIMESTAMPADD(SQL_TSI_MONTH,-1,CURRENT_DATE)) * -1) + 1, TIMESTAMPADD(SQL_TSI_MONTH,-1,CURRENT_DATE))
    last day of previous month :
    TIMESTAMPADD(SQL_TSI_DAY,DAYOFMONTH(TIMESTAMPADD(SQL_TSI_MONTH,-1,CURRENT_DATE)) * -1 , TIMESTAMPADD(SQL_TSI_MONTH, 1, TIMESTAMPADD(SQL_TSI_MONTH,-1,CURRENT_DATE)))
    Please mark Q answered and award points for correct answers !
    Thanks
    Alastair

  • Req. delivery date and plan order finish date relationship

    Dear Experts,
    I have a question on setting the req. delivery date and plan order finish date relationship. Now, I want the plan order finish date is one day before the req. delivery date, is it possible to set it in configuration? Please advised! Many thanks!
    Regards,
    Matt Yim

    Matt,
    Please use a schedule margin key(SMK) in the material master MPR2 view which has float after production defined as 1day.
    If there are no SMK with that defination then you can define you own in customisation and assign the same in the material master. (SPRO--->Production ->MRP->Planning ->Scheduling and Capacity Parameters->Define Floats).
    Regards,
    Prasobh

  • Table for  the PO Date and Stock Transfer Order Date of a material no

    Hello Everyone!
    I am having a requirement where I want both the Purchase Order Date and Stock Transfer Order Date of a perticular material no.
    On the basis of difference of these two dates I want to find out the period for which the material was present in supplying plant.
    I am not getting the table through which I can get these two dates for a material.
    Please help me out.
    Its urgent.

    hi,
    see these tables:
         EKKO – Purchase Order Header Table
         EKPO – Purchase Order Item  Table
         EKBE – PO History table.
    reward if its useful

  • Delivery not before date and Delivery not after date

    Hi Everyone,
    Can anyone help me in this issue, we need to map "delivery not before date" and "delivery not after date" from an EDI 850 into a sales order.
    Are there any fields to which we can map the data? if not would anyone suggest how to go about it?
    Thanks,
    Michelle.

    Michelle,
    We have a similar requirement, albeit we call it a Delivery Window. We have implemented this by mapping two E1EDK03 qualifiers (we use 033 & 034) to two Z fields extended to VBAK, which we then include in our Sales Order Delivery Date logic.
    Not very elegant, but then my understanding is that SAP has no concept of the Delivery Window.
    Cheers, Paul.

  • Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.

    Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.
    Is there any way to re-number them in the order I have chosen so that they can then be sorted by number? The scans are all from pre-digital images that I wish to move to a photobook and I don't want to have to organise them twice!
    Thanks for any suggestions.

    I was a bit short, Chris, sorry. It is limited, what can be posted, when typing on an iPad.
    Now I am back on my Mac. I meant the following:  Batch Change the date for a large range of photos, that should have a date stepped in increments.
    Select all Photos at once and use the command "Photos > Batch Change".
    Then set the date for the first photo and select an increment, e.g. one minute.
    Now all photos will get a new date assigned, incremented by one minute, in the sequence you have selected. So you will be able to sort them by date.  This way it will be unnecessary to change the titles or filenames.

  • What is the difference between delivery date and actual goods issue date?

    Hi ,
    Can you please tell me the difference between Delivery date and Actual goods issue date ?
    Delivery data can be be greater than goods issue date?
    Thanks,
    Ajay

    Hi Ajay,
                  Delivery date means its the original date on which the delivery should be done.Actual goods Issue date is the date on which goods to be delivered according to the purchase order.There can be delay in the delivery so we maintain 2 objects.
    Yes delivery date can be greater than Goods Issue date.
    Hope this clears
    Regards
    Karthik

  • How do I replace data on my PC with data from iCloud?

    How do I replace data on my PC with data from iCloud?

    This long article covers all types of transfers, including moving to a new computer: http://www.ilounge.com/index.php/articles/comments/moving-your-itunes-library-to -a-new-hard-drive

  • I got new iphone and when i connect it to my pc, it lost all my current data and replaced it with the backup on my computer, which is from april. so i have lost all my calendar information and schedule. does anyone know how i can reverse this?

    i got new iphone and when i connect it to my pc, it lost all my current data and replaced it with the backup on my computer, which is from april. so i have lost all my calendar information and schedule. does anyone know how i can reverse this and get my information back?

    Every backup replaces the old one, so, unless you included the backup folder in your computer backup routine, you can't get back your calendar info.
    The only time iTunes will not replace a backup is, when you use it to restore from, this one will stay in the backup list in iTunes.
    More info on backups here: http://support.apple.com/kb/HT1766

  • Fieldes planned delivery date and actual good recipt date for SAP QUERY

    Hi Gurus
    I am changing sap query. I need to find two fieldes  : planned delivery date and actual goods recipt date
    I dont know MM tables, do you know wrhere are?
    in table EKPO i don't find the fieldes.
    Thanks in advance

    Thank a lot!
    Regards

Maybe you are looking for

  • Module exist in the cache of the company web server

    Hi, I am accessing my Flex Application through the web server of my company. Just today, I have noticed that the module which my flex application downloads is not the latest version of the module. I have deleted the module from my PC internet cache b

  • SSL and Apache Tomcat 5.5.20

    Hi Maybe java forum is not right place where to put this post, but it is worth a try... im using tomcat 5.5.20 and i have read tomcat-docs how to configure server for ssl... i have done everything (checked so many times...), restart my server too, bu

  • Illustrator CS3 doesn't fully start

    [Windows XP SP3] Hi everybody, I'm an AI CS3 user, and a few days ago, I accepted an automatic update to the 13.0.2 version. But now, when I launch it, the orange box appears, information is scrolling, and then... nothing. Other CS3 applications are

  • Cystal Report Formula

    In Crystal Report at footer there are two things VAT amount and CST amount. I want to do like in same place ther will be VAT / CST...if VAT amount is there it will show VAT 1500 if CST amount is there it will show CST 1600 How to do? in pld i think w

  • Error 507 reload software

    Hola, Puede alguien ayudarme, tengo un smartphone Blackberry Torch 9800, la pantalla se quedo en blanco con un mensaje que dice Error 507 reload software - for further information, please visit : www.blackberry.com/507 Intenté cargarle nuevamente el