I want the Duedate to change as per Payment Terms in Google sheet
Due date Terms
7/20/2020 **Due on receipt**
6/29/2019 Net30
4/5/2020 Net 15
5/7/2020 Net 60
6/8/2020 Net 40
I managed to change the due date Net 30,15,60,40 using =B2+right(C2,2) in the cell and getting accurate results but i am unable to get result for Due on receipt as it does not follow the logic for the Net terms.
=B2+IFERROR(REGEXEXTRACT(C2,"\d+$"),0)
Related
I hope someone can help with with a question on IF formula in Excel. I am trying to calculate demmurage charges for logistic purposes, but I cannot get the formula to come out right. I will set the table below.
Driver has a 08:00 appointment and arrives on time. He has two free hours of load time prior to charging "wait" time. Driver is completed at 10:30, accumulating demurrage. I want the formula to tell me if the driver accrued detention charges.
IF(departure time) is greater than (appointment time)+2 hours "detention"
UPDATED:
=IF(ABS(A2-B2)<=2,"no","detention")
Column A = Appointment Time
Column B = Departure Time
I tried and attached is the screenshot for your reference. Let me know if its helpful.
I have a calendar on SharePoint online that I'm trying to use to track the amount of leave time employees use. Currently I'm capturing the number of hours daily that the employees are using a field on the event, but I would like to calculate the number of workdays in each event so that I can find out the total number of hours used by a given person.
I already assume I'm going to need another field to capture this, but how would I perform the calculation?
Below formula used to calculate working days, hope this helps.
=(DATEDIF([Start Date],[Due Date],"D"))-INT(DATEDIF([Start Date],[Due Date],"D")/7)*2-IF((WEEKDAY([Due Date])-WEEKDAY([Start Date]))<0,2,0)+1
To get the working days from event item between the 'from' and 'to' columns You can use the following formula:
=IF(ISERROR(DATEDIF(From,To,"d")),"",(DATEDIF(From,To,"d"))+1-INT(DATEDIF(From,To,"d")/7)*2-IF((WEEKDAY(To)-WEEKDAY(From))0),1,0)-IF(AND(NOT(WEEKDAY(From)=7),WEEKDAY(To)=7),1,0))
We are trying to generate a report to find out turn around time (TAT) of our deliveries of orders, categorize them in different buckets like 0-5 days, 5-8 days, etc.
I am able to get the count of orders delivered within these buckets using the saved search formula (numeric) with summary type as sum:
Example:
case when trunc ({custbody_dlight_kspdeliverydate})-{trandate} between 0 and 5 then {quantity} else 0 end
Now, I also want to get percentage of orders delivered in each bucket. How can I get that?
Secondly, I also want to consider holidays while doing this TAT calculation. currently, delivery date - trandate will give me calendar dates only. If there is a weekend in between or a declared holiday, the result should be able to consider that. Please suggest.
Since you have a delivery date one way to get the number of business days between two dates would be to add another custom field and use a User Event script to update the TAT into that field.
This would let you use a calendar aware script that could manage not only weekends but also any statutory holidays.
I have a couple of SS1.0 examples of date calc scripts in the repo at https://github.com/BKnights/KotN-Netsuite that you could use as samples.
I am trying to create a formula that offsets an "up-sell" amount 12 periods (columns) in the future.
For background: Each of our customers provides monthly recurring revenue (like a subscription. At the beginning of the model (1/1/18), I have a random number generator from 1-20 that calculates the period in which the customer could be up-sold.
As you can see in the photo and the formula that the IF statement looks at the random upsell period and adds in the additional revenue ($100) into that period and periods after that.
I am trying to create the formula so that once the if statement is satisfied (the random period >= the period that the cell is in) it adds the revenue 12 periods later, not in that period itself.
For example, Customer ABC's random upsell period is 3, instead of adding that revenue in period 3, I want it to add it in period 15 (12 periods later).
The formula that is currently being used is: =IF($B8>E$5,$C8,$C8+$D$3)
Please see attached image for reference, thank you]1
Not sure if that's what you are looking for and only works if your periods increments in 1 even after 12++ (13,14,15...).
Sorry you'll have to redefine the references but that gives you an idea:
In C5 : IF(C$4>12,IF(OFFSET(C4,0,-12)>=$A5,$C$2+$B5,$B5),$B5)
I am using Microsoft Excel 2013 to do some calculations related to personal training and am a little stuck.
I would like to calculate the hourly rate based on a particular session rate and session length?
The variables are basically:
session rate (eg say $40 in cell B6) - this is currently formatted
via Format Cells > Category > Currency with 2 decimal figures
session length (eg say 30 minutes in cell B9) - this is currently formatted via Format Cells > Category > Custom as h:mm
Manually I know how to work out the hourly rate above based on 30 minute sessions - I just times the session rate by 2. But it gets quite hard to do it manually for say a 40 or 50 minute session.
What formula could I use in Excel to work out the hourly rate?
Thanks in advance for any help.
Times are stored as fractions of a day so you have to multiply by 24 to get them into hours. So the answer should be
=B6/(B9*24)
but it will probably try to format this as a time and you will need to change the formatting of the result to either general or currency to make it display the right answer.