Procedure to calculate distance using latitude/longitude
Does anyone know of a vba procedure for access that will calculate
straightline distance using latitude and logitude for 2 points?
> Does anyone know of a vba procedure for access that will calculate
> straightline distance using latitude and logitude for 2 points?
James A. Fortune
...Stacked Column gap width
I have a stacked column graph and I have set the gap width to 0.
There is, however, still space between the stacked columns.
The gap looks to be about twice as wide as the column themselves. Any
The column overlap is set to 100.
The Gap Width is set to 0.
In case it matters, the X axis is a time scale, all axis settings are
It looks like both ClusteredColumn and StackedColumn graph types have
some intra-cluster spacing that cannot be eliminated...
Brian Herbert Withun
When you use a time-scale axis, it creates categories for each day (all days). The
time-scale is ...Calculating Taxes and Making calculations
Kindly plz tell me how do i go about making some small calculations
based on my existing data such as how to compute taxes and do other
calculations based on some quantitative data.
where exactly do i make modifications on my application???
Kindly help me out.
example might be a dropdown which has shipping options ie ups, fedex etc.
When you choose one it takes the weight of your package (whcih you enter)
then calculates a shipping cost.
search the archives of this group at groups.google.com and ...Copy column
I have a continuous form (MainForm) containing employe's informations
like IDEmploye, Name, Position, Salary, etc
When the user double-click on the employe's ID, a new window open.
This window (SecondForm)contains the same employe's informations + a
subform (related to the employe's ID)
The subform (EmplSub) is a continous form with 3 fields (PeriodNo,
Planned and employe's ID) and 36 rows. Each row represent a Period
How it works
User open the MainForm
Find the employe he wants to work with
Double-click on the employe's ID and another window open
Struggling to figure something out. Thank you for your help...
I have a column of 1200 fields. examples are "item 1", "item 2"... the big
goal is to get one list that says "order item 1", "receive item 1", "install
So, I can use the concatenate function to generate columns of "order item
1", "order item 2" or "receive item 1", "receive item 2".
Now trying to combine these lists so i get one long list where all of the
actions for item 1 are listed first, then all actions fo...How to calculate age of a person?
I'm struggling to figure this one out. I have a date column and I'd like to
be able to calculate the age without doing it in my head.
I've tried to do this but am struggling.
Any help will greatly appreciated.
Visit www.cpearson.com and search for DATEDIFF
Bernard V Liengme
Microsoft Excel MVP
remove caps from email
"Grd" <Grd@discussions.microsoft.com> wrote in message
> I'm struggling to figure this one out. I have...EXCEL 2007 Formula to calculate INTEREST only on a 3 month bridge
I am trying to calculate monthly INTEREST ONLY payment on a short term
bridge/swing loan. Assuming an interest rate of 2.75%, paid monthly, Also
assuming it will be required for a 3-6 month period, amount approx $500,000.
Just switched to Excel 2007 but don't seem to be able to calculate using the
formula builder. Not sure if it is compounded daily or monthly.
You might want to check out the IPMT function. From the XL help file:
Rate is the interest rate per period.
Per is the period for which you want to find the interest and must...Due Date Calculated
I need assistance on an expression that allows for the due date of recurring
training to be one year from date completed. Details are as follows:
I have a form named [frmTRNComplete] based on table named [tblTRNComplete]
Form controls are: TRNID (combo box), DateComp (Text Box) , DateNext (text
box), Reccuring (check box)
I would like the DateNext to be 1 year from DateComp if Reccuring is true
and Date next to be blank if Reccuring is false.
I'll assume that you want to use the form to calculate the DateNext, and
that you are not trying to s...Counting Occurrences with 2 columns
I am trying to calculate the occurence of one item based on tw
Column A: Name of Magazine(e.g. "Red", "Blue", "Green" )
Column B: Frequnecy read (4,5,8)range from 1-20
Column C: "Read" OR "Not Read"
Red 4 Read
Blue 5 Not Read
Green 6 Read
Yellow 2 Read
Red 3 Not Read
What I need to find out is:
How many many times each magazine was read ?
Message posted from http://www.ExcelForum.com
Suppose your data is in Sheet1 in A2:C6
> Red 4 Rea...how to calculate outliers
Google is your friend:
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
"ismhs" <firstname.lastname@example.org> wrote in message
...Evaluate VLOOKUP in cells in column
Using Excel2003, I have copyied and modified the following code which
essentially should fill the value of VLOOKUP(E2,AgeGroup,2) in cells
F2:F64500 but I just
Cannot seem to get it right. Would really appreciate assistance. Have no VBA
Dim i As Long
Dim j As Long
For j = 6 To 6 Step 1
For i = 2 To 64501 Step 1
Cells(i, j).Resize(1).FormulaR1C1 = _
Try along the lines of
Range(Cells(1, 1),Cel...Calculated field options???
Here's my Data:
In my pivot table, 'Country' is an item, and 'Status' is my only data field.
What I really need to show in my data area is two column of data, one for
'Green' and one for 'Blue'. I tried creating two 'Calculated' fields with
the following formulas, but they don't seem to be working:
'CalculatedField1' = IF((STATUS="Green"),1,0)
'CalculatedF...Getting primary/foreign keys and referenced tables and columns
OK, I've been wrestling with this for a while; time to ask for help.
I need a query (SQL 2005/2008) that, given a table name, will return the
column information for that table as shown in SSMS (schema name, table name,
column name, if it's a primary or foreign key; AND, additionally, if it is a
foreign key - the referenced table and column that contains the primary
I have been able to put together a query to get primary keys and one to get
the foreign keys, but unable to pull it all together with the inclusion of
the reference information for foreign keys! Any h...tenure calculations
how can I format several dates such as 04/19/2003, 04/01/2004, etc. int
a yearly average for the employee tenure
Message posted from http://www.ExcelForum.com
right now say I have my yearly figures in i1-i9. The formula I though
would work is
=today()-average(i1:i9), but how would i format this to give me
yearly read out
Message posted from http://www.ExcelForum.com
One way is to use YEARFRAC with a third argument of 1 to get your
tenures in years and fractions of a year and then average the result.
However YEARFRAC does produce some annoying but small errors.
Y...Time Sheet Function to Calculate
I am having some trouble trying to establish a formula that will give me the
number of hours worked during the day given the start time say 8.30am with
an end time of 5.30pm and say 30 minutes for lunch. For this scenario, total
working hours would be eight and a half hours but I need Excel to display
this result as 8.30 hours (0.30 being the minutes in the half hour) and not
8.50. Can someone suggest what to do?
Typically the layout would be
Column A - Start Time say 8.30am
Column B - Time in minutes spent at lunch say 30 minutes
Column C - End Time say 5.30pm.
Column D - the calculati...printing specific columns
Is there a way to print just selected columns? I have a sheet with 6 columns
and I want to print 3 of them, the others are just for reference and
Hide those you don't want to print
"Fayette" <email@example.com> wrote in message
> Is there a way to print just selected columns? I have a sheet with 6
> and I want to print 3 of them, the others are just for reference and
&g...exclude columns in macro
I have a simple macro below. I would like to exclude
certain Columns (c). So instead of reading c=5 to 16, it
will be 5 to 8, 10-13.......
p = "C:\Documents and Settings\"
f = "Stuff.xls"
s = "Sheet1"
Application.ScreenUpdating = False
For r = 12 To 72
For c = 5 To 16
a = Cells(r, c).Address
Cells(r, c) = GetValue(p, f, s, a)
Selection.NumberFormat = "#,##0_);(#,##0)"
Also, is there a way for me to identify these columns
later ...Column width #8
I want to have two different column widths in one worksheet. Another words I
want Column A to be one width at the top of the worksheet, and column A to be
another width at the bottom of the worksheet without it effecting the top
column width. Is this possible?
Consider using the "Merge-and-Center" command (button on the formatting
toolbar next to "Align Right"). If you have highlighted one cell to the
right, this will cause the data in cell A1 to appear merged across A1 and B1.
Thus, the merged column above will appear to have a different width than
those below....Formula to calculate time
I was wondering if anybody knows of a formula to allow you to do calculations
based on time. In other words, say I want to put a list of songs on a CD and
their durations. Then, I want to add up the durations to get the full time of
the CD, or my specific play list. So for example, using the information below:
Ghostbusters - Ray Parker Jr. --- 5:23 (Just a guess)
Phantom of the Opera Overture --- 3:55 (Another guess)
Instead of 8:78, I'd want to see 9:18
Can this be done? Any help would be greatly appreciated. Thank you!
Have a nice day!
Charting the futu...Row and Column Header
I eliminated my row and column headers. How do I get them back? Thanks
Go to the Tools menu, choose Options then the View tab. There,
check the "Row and column headers" setting.
Microsoft MVP - Excel
Pearson Software Consulting, LLC
"PJ Usher" <firstname.lastname@example.org> wrote in message
> Excel 2000
> I eliminated my row and column headers. How do I get them
> back? Thanks
That's it!!! Thanks
"Chip P...want to turn PT row data into column data
name win loss score
paul 1 325
Jane 0 1 225
walt 1 400
nancy 0 200
jane 1 300
nancy 1 200
paul 1 365
walt 1 350
when i create p.t. I get (or a vague approximation)
but this is what I would like:
name win loss avg
Paul 2 0 345
Jane 1 1 260
walt 1 1 375
nancy 0 2 200
Grab the g...Insert calculated median field in pivottable
Anyone know how to get a median calculation in a pivot table? I've tried
inserting a calculated field but it always sums the calculated field.
Not supported in a pivot
(No private emails please)
"Joel Schaefer" <email@example.com> wrote in message
> Anyone know how to get a median calculation in a pivot table? I've tried
> inserting a calculated field but it always sums the calculated field.
issue us? Essentially I need to be able to calculate two values, one
is addition and the second is multiplication. I am getting some
strange numbers. My code is at the bottom under the ------, here are
crmForm.all.estimatedvalue.DataValue = 10
crmForm.all.new_cfp_estrev_nextyr.DataValue = 10
crmForm.all.new_cfp_estrev_yrtwoplus.DataValue = 10
This should make totalestrev = 30,
Then its getting weird, I am taking the following formula (10/100)*30
= 270? Here 10 is the value selected from the drop down value, I
...2 column drop down lists
I know that I have seen this before, but I can't recall
how to do it. I want to create a drop down list with 2
columns. e.g. column 1 would be state short forms and
column 2 would be the full name.
Any suggestions would be greatly appreciated.
as far as i know, you would have to use control toolbox list for this
icestationzbra's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=4580
View this thread: http://www.excelforum.com/showthread.php?threadid...How can i create a 2-D stacked column within a 4 series stock char
I am trying to create an excel chart that combines the features of a 100% 2-D
stacked column (for comparison of 2 variables) and the 4 series stock chart.
I would desire to have my ideal chart being a 5-series stock chart with the
data variables arranged as 'Volume1-Volume2 (stacked up as in 2-D
column)-High-Low-Close'. This is slightly different from the current 5-series
stock chart available in the excel spreadsheet. Can anybody help please?