Calculating Billing Days In Quarter When Billing Period Is Span Quarter

Oct 7, 2013

How would you calculate the amount of days of a billing period for a consulting engagement by quarter when the engagement could span multiple quarters, be within a quarter or not be in a quarter at all? Project based billing

Identify Higher Earnings In A Quarter And Return The Max Of The Quarter

Oct 30, 2009

I'm trying to figure out how to identify higher earnings in a quarter and return the max of the quarter of time frame and not the value

I'm simplifying a little ...

Finding The Quarter Period Of A Date

Mar 29, 2007

I'm trying to find out the date quarter of a given date in cell A1.ie Q1,Q2 etc.
I've found the code below to work out fiscal quarters.I thought if I dropped the +1 from the end of the formula it would work out the quarter in non fiscal terms. This however only works from months Jan to Nov. December returns a zero.

=MOD(INT(MONTH(A1)/4)+1,4)+1

Average Number Of Days In A Quarter

Nov 15, 2007

I have a worksheet containing 5 columns. A start and end date, a number of days between these dates, the quarter number of the start date (i.e. 1 to 4) and then the year.

I want to calculate the average number of days per quarter so an average of days in column C, based on the details in column D and E.

Dates In Excel And Days Remaining In Quarter

Dec 2, 2009

How to determine how many days are remaining in the quarter after I provide it a specific date. Ultimately I am trying to build something where if I enter a date it will break down how much it will contribute for the remaining current quarter and for one full year (on a quarterly basis).

For example lets say I buy gumball machine today and I know that it will contribute X dollars for 2009 and X+1 dollars in 2010. I would like to break it down quarterly and have it say - you will get X for the rest of the quarter in 2009 and X for each quarter in 2010.

Billing Calculator

Aug 12, 2008

I'm working on a 4-week billing calculator. I rent equipment on a day,week & month rate system. For example: Equipment 1 rents at \$30 Day, \$90 Week, & \$270 a month. If you keep Equipment 1 for 4 days the calculator computes 4 days at a total of \$120. The way a 4-week cycle works is the customer will receive the cheaper rate once the daily rate meets or exceeds the weekly rate.

So instead of \$120 for 4 days, the calculator tells me to bill him for 1 week at \$90 instead and the customer essentially will get the following 3 days at no extra charge until the cycle starts over. As the cycle continues, the same rules apply for the monthly rate in relation to the weekly rate & daily rate combined.

Once the weekly + daily rates add up to equal or more than the monthly, then the monthly rate is used and that's what the customer pays. What I'm trying to do is make a calculator that I input the rates and the rental period and the spread sheet will tell me (based on those rules) how many days, weeks and/or months the customer needs to pay and how much his total dollar amount will be.

Automating Saving Tabs Used For Billing?

Sep 15, 2012

I've been experimenting with automating saving tabs that we use for billing into a .prn file. It works great on my workstation but when I run it on a coworkers workstation the file gets output to the Windows 7 Documents Library, not the workbook's file path. I want it to Save in the same file path that the workbook is saved in already.

Just to clarify I have many sheet tabs, and these are all saved in the .xlsx file. I was previously clicking one by one and doing save as, other file type, prn... but I've automated that by recording a macro and hacking away at it. specifying the workbooks file path correctly? Here's my code, truncated to just show the name of 2 of the tabs:

VB:
Sub EXPORT_ALL()
'
' EXPORT_ALL Macro
' This Macro saves the sheet then exports all tabs as a PRN.

[Code]...

Macro To Calculate Billing Schedule

Jun 5, 2008

I have just been passed a new VBA project and there is one component I would like help with.

Column J lists a start date
Column K lists an end date
Column N lists a dollar amount.
Columns P through the last column has headers of month-year in text form(for example May-08)

The user enters contract information in the spreadsheet including the above cells. What they want to automate is once the user enters the contract information on a given row, she runs a macro to determine the billing schedule by calculating how many months there are between the start and end dates, divide the dollar amount in column N by that number and then prompt the user to enter what month the first payment is due, once that is entered, the macro should place the payment amount in that column and all applicable subsequent columns.

For example,
Column J = 6/1/2008
Column K = 9/1/2008
Column N = 3,000
The macro should calculate 3 months, the monthly payment amount is \$1000.
A starting month prompt appears and the user enters July-08. The macro then places 1,000 in the columns for July-08, August-08 and September-08.

MACRO For Auto Report In Data Sheet Of Billing File

Dec 29, 2011

I want a macro that will transfer the data of billing report in the data sheet of the excel file billing dec 2011.

Calculating The Number Of Business Days In A Specified Period

Jan 1, 1970

It should be deplaying dates of weekly days in Monday, Wednesday and Friday excluding sundays. Or Tuesday, Thursday Saturday excluding Sunday. e.g

Mondays, Wednesdays and Fridays of June
June 1, 2006
June 3, 2006
June 6, 2006

Tuesdays, Thursdays and Saturdays of June
June 2, 2006
June 5, 2006
June 7, 2006

This should be happening after entering any date on the first cell of the List and should accommodate up to 3 months

End Of Quarter Function

Feb 18, 2010

Need function to calculate the end of quarter for a given date after adding any number of months to that date. Example cell A1 would contain 01/15/2010. I want to add 6 months to A1. A2 would contain 6 making it 07/15/2010, B1 would contain a function that would display 09/30/2010.

Naming Quarter Between 2 Dates

Mar 13, 2014

What I want to be able to do is,,press the Q key and either Q1, Q2, Q3 or Q4 based on certain parameters appear in that cell.

In column A of my spreadsheet heading 'Quarter', I want to be able to specify which quarter of the year a request was made,,so when I press Q

> if the date is within 01/01/14 and 31/01/14 'Q1' will appear

> if the date is within 01/04/14 and 30/06/14 'Q2' will appear etc,,I'm sure you can workout Q3 and Q4,,

Ive named a cell A1 'TODAY' for reference it has the formula =TODAY() in it and shows whatever the date,,

I have looked at the DATE commands available but I don't think any could do what I need, that's why I was thinking I needed a piece of VB code,,

Finding Start And End Quarter

Aug 19, 2014

I have data like this.

HRM2014Q1
HRM2015Q1
HRM2015Q2
HRM2015Q2
HRM2015Q3
HRM2015Q3
HRM2015Q1
HRM2015Q1
HRM2015Q2
HRM2015Q2
HRM2015Q3
HRM2015Q3
CRM2014Q1
CRM2013Q1
CRM2015Q1
CRM2015Q1
CRM2017Q1
CRM2017Q1
CRM2017Q2
CRM2017Q2
CRM2017Q3
CRM2017Q3

In another sheet I have "Project " , " Start " "End" . I need to find the start and end quarter and fill in. The output should be "

HR 2014/Q1 2015/Q3
crm 2013/Q1 2017/Q3

ATTACHING A FILE-
In sheet- raw data - i need to search on ID- and in "Test.xlsxData" i need to fill in the start and the end date- as shown in Data sheet.

How To Calculate Max Profit Per Quarter

Nov 28, 2008

Formula to get the Quarter number for the highest profit per Product, like in B16:F16.

The excersiser instracted us that it must be with one formula with no Macro, not User Defined Function and not openning additional colums.

I know how to find the qtr. Number - like for A2: =INT((MONTH(A2)+2)/3) but I am lost in finding how to combine the calculation for the Qtr and the most profitable Qtr. probably with MAX on SUM.

Return The Relevant Quarter

Dec 17, 2008

I have a date say 31/7/2008 and I need to return the relevant Quarter.

Determining Quarter And Year

Sep 14, 2007

In cell A1 I have a date entered as text as "Apr 2007". (That's the way my tool pulls it. Format can be changed if it helps)

I was able to pull the Quarter and year (Q2 2007) using...

A2 ="Q" & ROUNDUP(MONTH(A1)/3,0)&" "&YEAR(A1)

I need to pull the next three quarters and their year. (Q3 2007, Q4 2007, Q1 2008)

Identify Top Quarter Of Data

Feb 20, 2007

I have been easily identifying the bottom quarter of data using =IF(G2="","",IF(RANK(G2,G\$2:G\$100,1)<=INT( COUNTA(G\$2:G\$100)/4),"Yes","")) Now I need the top quarter and am not sure how to change the formula.

I have tried changing <= to >= but I then get the top 75% rather than 25%.
I have tried adding +50% and +.5 ... =IF(G2="","",IF(RANK(G2,G\$2:G\$100,1)<=INT((COUNTA(G\$2:G\$100)/4+50%)),"Yes",""))

Conditional Formatting For CURRENT Quarter Only?

Mar 6, 2013

I'm trying to color code the dates that are within the current quarter only. I have dates ranging from now to 2 years from now.

IF Statements To Show Business Quarter?

Mar 11, 2014

I have a spreadsheet that tracks all field equipment inspections. This year, certain equipments will need to be inspected twice a year. Ideally, if it was inspected in Quarter 1, it needs to be inspected again in Quarter 3 and if it's Q2 then it'll be inspected again in Q4.

I need a formula that will tell me when the next inspection is due.

This is what I have so far:
Column I (Formula): date of last inspection
Column J (manual entry): "yes" for equipment that will be inspected semi-annually
Column K (formula): The Quarter is was inspected based on Column I's date
Column LThe quarter the next inspection is due

Code To Create New Sheet Each Quarter

Apr 21, 2014

Macro to run every 3 months, copy the workbook its in, save as a new name, and then delete all of the tabs in the workbook except for the "Menu" tab?

However, I get errors with my code below.

[Code] .....

Rounding Timesheet To Quarter Hour

Oct 19, 2008

I have made a time sheet and am trying to have the total hours and grand total- round up to the nearest quarter hour, I.E. (.25, .50, .75. 00), if anyone can help me please it will greatly be appreciated, this is what i have now, in my totals fields:

ROUND(IF((OR(B13="",C13="")),0,IF((C13<B13),((C13-B13)*24)+24,(C13-B13)*G1424))+IF((OR(E13="",F13="")),0,IF((F13<E13),((F13-E13)*24)+24,(F13-E13)*24)),2)

I Have also attached the file so you can see it completely.

Combo & List Box To Set Calendar Quarter

Aug 7, 2007

I need to define a specific calendar quarter and year, and want to do so using a combo box for the quarter (e.g. 1st Quarter, 2nd Quarter, 3rd Quarter, 4th Quarter) and a list box for the year (so the user can select any year desired).

The selections in each item should then somehow define the quarter's date range so I can use it in my SUMPRODUCT calculations.

Example:

User selects '1st Quarter' from the Combo Box
User selects '2004' from the List Box

CurrentQuarter range is somehow defined to equal 1/1/04 through 3/31/04.

If this isn't possible, then perhaps two ranges can be defined based on the user's selections:

QtrStart is set to 1/1/04
QtrEnd is set to 3/31/04

Calculate The Quarter To Date Number

Aug 19, 2007

I was given the formula below to calculate the quarter to date number. The months from 1/1/05 thru 12/31/07 are in cells C3-AL3.

First - can anyone explain the formula so I may understand it and possibly modify it for other uses

Second - wherever the formula has 3:3 and I copy it to the next cell below it, I have to change the 4:4 to a 3:3 - any suggestions on how to do this easily.

By the way, the formulas are in column AO, staring on row 4.

=SUM(OFFSET(A3,1,MATCH(DATE(YEAR(Date!\$C\$6),INT((MONTH(Date!\$C\$6)+2)/3)*3-2,1),3:3,0)-1,1,MATCH(Date!\$C\$6,3:3,0)-MATCH(DATE(YEAR(Date!\$C\$6),INT((MONTH(Date!\$C\$6)+2)/3)*3-2,1),3:3,0)+1))

Rounding To The Neartest Quarter Hour

Aug 1, 2009

I have searched around and have found several formulas designed to round to the nearest 15 min interval, but none seem to be working for me. If anyone has some insight.
A1 A2
R1 Main Task Total in Hours
R2 Sub Tasking 1 30 min
R3 Sub Tasking 2 6 min
R4 Sub Tasking 3 5 min
R5 Sub Tasking 4 23 min

What I need to happen is for the total of the time allotted for each tasking to be added and rounded to the nearest 15 min interval in a hour.min format. For instance, the above would be rounded to 1.25

71 mins total, rounded to 1.25 because .25 is one quarter of an hour in decimal form. I need it to be this way to be able to multiply that by a charge amount for a total cost for the Main Task. The numbers in A2 will all be whole integers.

Constant Line In Chart By Quarter

Dec 14, 2009

I have a bar chart that has data by the quarter over a span of 3 years, so there are a total of 12 bars on the chart. Everything looks good there, but now I need to add the minimum amount that the customer needs to acheive (which varies every quarter) in the form of a line. So I added a line chart with the minimum data, but the problem is it goes up and down from point to point and doesn't create a visual horizontal line for the customer to see if they are hitting their minimum every quarter. Is there any way around this?

How Do I Round To Nearest Quarter Hour

Sep 23, 2003

I need to round a time to the nearest quarter hour and have it show in quarters. My formula figures out the hours worked. If the total is 8.36, then it needs to show 8.75. It needs to round up or down to nearest quater hour.

Identify Bottom Quarter Of Data

Dec 21, 2006

I have a column of data that comes from simple division formulas, E2/F2. I am wanting to take the Percentages given and quickly recognize the ones in the bottom quarter.

100%
75%
23%
39%
50%
N/A
100%
5%

8 items - the lowest 2 (the bottom quarter) should "stand out" - 5% and 23%

I figured two options:
1.) Conditional Formatting - don't know what the formula would be to use
2.) If statement - preferred method.

I would like in the cell next to the percentages for there to be a blank cell if the amount is not in the bottom 25% and if it is I would like the cell to read "Yes"
I thought something along the lines of =if(G2 in range(G2:G100)is bottom(.25),"Yes","") Of course that is not real code. I'm hoping someone will be able to edit that to make it functional. Or guide me in the right direction.
And you may have noticed the "N/A" in the list above. I would like excel to view this as 100%, at the least just ignore it and don't give me an error.

Round Up The Sum Of A Column Figures To The Next Nearest Quarter

Apr 2, 2009

I need to round up the sum of a column figures to the next nearest quarter. For example: \$1.11 would be rounded to \$1.25, or say \$1.83 would be rounded to \$2.00. What formula would I need to do this? I'm using Excel 2000

Determine Quarter For Fiscal Calendar Months

Oct 24, 2009

Our fiscal calendar year is from Nov 1 (Q1) to Oct 31 (Q4). If I have a column of cells with each cell containing a date of the year, do you know of a way for me to be able to determine which quarter a particular date falls into? See the attached workbook for an example.

Formula To Return The AVERAGE By Calendar Quarter

Nov 6, 2005

I'm trying to write a formula to return the AVERAGE by calendar quarter, IF
the quarter has ended.
For instance, IF Jan = 5, Feb = 20, Mar 5, Average would be 10.
But, if Mar was 0 (only meaning no activity) I still need it to calculate.

The formula I started with is -
=IF(A1=0,0,AVERAGE(A1:A3)

This works only if cells A1:A3 have a value greater than 0. How can I write
the formula so that as long as A3 is not blank that it will return the
AVERAGE?