Excel 2010 :: How To Calculate Age

May 1, 2014

keep getting "The formula you typed contains an error".

To calculate a person (or anything else) age you basically subtract his date of birth from today's date. However which date functions to use depends on the amount of precision and the output format you want.

3. If we want his age in years and months, then we can use a formula like this one:
=INT((TODAY()-A1)/365.25) & ” years and ” & INT(MOD((TODAY()-A1)/365.25;1)*12) & ” months”

The output of this formula will be as follows:
40 years and 2 months.

I change A1 to G3 because that is where I the birth date.

View 2 Replies


ADVERTISEMENT

Excel 2010 :: DAX Calculate With Two Filters

Dec 24, 2013

Using Excel 2010

How can I use 2 filters in DAX Calculate?

I tried

MyCalc:=CALCULATE([MyMeasure], Filter(Tbl,Tbl[Field] && Tbl2,Tbl2[Field2])) It works with 1 Filter : MyCalc:=CALCULATE([MyMeasure], Filter(Tbl,Tbl[Field])) Just falls down when I add the second filter.

View 7 Replies View Related

Excel 2010 :: Calculate The Difference Between 2 Dates?

May 14, 2014

I have a pivot table and I created a formula that says:
=jobCompletedDate-jobCreatedDate

and so for example, I have
3/31/2014 7:21AM - 3/31/2014 6:33AM

and that difference is giving me: .03367

I'm not sure what this value represents......the difference in dates, converted to ??

View 2 Replies View Related

Excel 2010 :: Calculate Monthly Nights?

Nov 27, 2013

I am trying co Calculate number of nights between to dates for example 10/26/2012 -- 11/25/2013 in a period that can be greater than the month Period. for example. some One checked in on October 24, 2013 and they will checkout on december 17, 2013. in the monthly Period of 10/26/2012 -- 11/25/2013, I am trying to calculate, the monthly nights of that period itself, and the number of days he was checked in on that period.

View 1 Replies View Related

Excel 2010 :: Determine Row To Calculate Based On Statement

Jul 5, 2014

I need some different columns within a row to calculate based on a statement found in an earlier column in the row. something similar to below. there will only be two statements total which are noted on the table below.

A
B
C
D
E

1
0
0
20
5%

[Code].....

So basically If column A = disposition calculate D and E in column B but if Column A = Receipt calculate in column C

The formula for D and E is not exactly as shown just using that as a quick example. I'm using office 2010.

View 1 Replies View Related

Excel 2010 :: How To Calculate Different Factors Values Which Are Numbers

Apr 21, 2014

I am using Excel 2010 and I am trying to calculate 4 different factors' (columns) values which are numbers. Based on my analysis I will assign the value from 1-5 for each factor and at the end I have to decide the priority (a new column) adding all 4 columns' numbers. My Priority column has three criteria (High, Medium, and Low) but I don't know what formula/function to use and how. I have tried IF function but did not work.

View 9 Replies View Related

Excel 2010 :: Add Code To A Macro To Calculate Something Depending On Months

Aug 22, 2012

I am looking for something to calculate values based on the past three months. I already have written a macro to retrieve all of the data and just need this as an add-on.

for example, lets say it is 5/31/2012. I have a row with dates going like

10/31/2010 11/31/2010 .........

I want the formula to calculate SUM(march+april+may row 68)/SUM(march+april+may row 59)

I have an input tab where I can select the month, say 5, and get the periods.

3/31/2012, 4/31/2012, 5/31/2012

if I changed the 5 to an 8 it would get 6/31/2012 7/31/2012 8/31/2012

I don't know if i need VBA for this but I am trying to have something to calculate this depending on the period selected in the input tab.

I am using excel 2010. I am thinking something with an offset function and maybe a loop? but still not sure.

View 2 Replies View Related

Excel 2010 :: Calculate Most Common Text Values By Groups

Mar 14, 2013

I want to calculate the most common text value for groups. I have a table with a lot of records like an example below.

ID Code
1 HB
1 KU
1 KS
1 LV
1 KS
2 LM
2 KS

[Code]....

I want a table like below:

ID Code
1 KU
2 KS
3 KS

How can I do it in Excel 2010?

View 9 Replies View Related

Excel 2010 :: Algebra Equations - Calculate By Grouping Like Numbers

Dec 31, 2013

I had a question about adding numbers, sort of like algebra equations (best description I can think of) into a spread sheet. Example:

Cell A1: 8
Cell A2: 8l
Cell A3: 8ls
Cell A4: 8l
Cell A5: 8
Cell A6: -where I want the total to be displayed in the following way: 16+16l+8l

Is this even possible to calculate by grouping like numbers?

View 2 Replies View Related

Excel 2010 :: Calculate Min Number Of Employees For Jobs With Min Days To Complete

Feb 13, 2013

Im having a hard time creating the formula to calculate the min number of employees to complete a number of jobs that come in each day and need to be finished in 18 days or less.

Data that I have:

Forecast of the number of jobs for 251 days ( jobs range from 10 -80 per day) Each job needs to be finished in 18 days or less we need to staff a fixed number of employees for the whole year each employee can complete 4 jobs per day no weekends

i have excel 2010 and crystal ball

View 1 Replies View Related

Excel 2010 :: Crash - Ready Calculate Flashing Taskbar When Closing / Opening Userform

Jan 8, 2014

Excel will hang up as if it's gone into a continuous loop (Although no looping macros are active) when you open or close a user form. The task bar in Excel will flash Ready Calculate. Visual basic reports no code is running but excel either crashes or becomes very unresponsive. I have to exit and reopen excel in order to fix the problem . It also doesn't happen at any one specific point it can vary. I have various VLOOKUPs around the workbook and userforms display the correct information. I use the INDEX formula in the control source of textboxes. I also use the offset formula to make sure DTPICKER displays correctly.

I am using 'Option Explicit' at the start of all my code. I have tried a 3rd party code cleaner. No visual Basic references are MISSING

[URL]

View 9 Replies View Related

Excel 2010 :: Getting Outlook Warning (2010) While Sending Email Through Macro

Mar 25, 2014

I am trying to send bulk emails from my excel 2010 - however I am getting a POP UP. find the screen shot in the enclosed word document So every time a new mail is sent from excel we need to press the button allow Is there a way where I can turn off this warning.

View 6 Replies View Related

Excel 2010 :: How To Save Excel File As Cell Reference Using Macro

Mar 5, 2012

I have created a macro in excel 2010 which enable the file to save (extract) data into separate location and name. The vba code for macro is as follows: Question: How can I save this workbook with reference to the value containing in cell B2? (it is named temporary now - as defined in the code)

Sub aaa()
'
' aaa Macro
'

[Code].....

View 1 Replies View Related

Excel 2010 :: Macro To Change Excel Formatted Table Name Dependent On Number Of Loops

Jul 9, 2012

Recorded macro. The hope is to insert a excel formatted table a set number of times. I have found a loop code that references a Cell A1 and repeats that amount of times. So if A1= 10. There should be 10 tables inserted. However on the second time there is a fault with the table name. I need the name to change each time the loop is run. ie Table1, Table2, Table3 etc up until the loop stops (A1 contents).

I am using excel for windows 2010. The macro that i have so far is below.

Sub LoopTest()
Dim n
Dim V
Range("A1").Select
V = ActiveCell.Value

[Code] ........

View 1 Replies View Related

Adjust Macro From Excel 2003 To Excel 2010?

Apr 1, 2014

I am trying to adjust the below macro so that it will work in Excel 2010.

Sub OpenAndProcess()
Dim fs As FileSearch
Dim I As Integer

[Code]....

View 3 Replies View Related

How To Calculate Deciles In Excel

Jun 30, 2010

I have a set of data and I need to calculate the values per decile.

View 9 Replies View Related

How To Calculate Total Commission In Excel

Apr 1, 2014

How do you calculate the total commission of a particular person on a consecutive months ?

Attached is the excel file for reference : Total Commsn.xls‎

View 1 Replies View Related

Getting Excel To Calculate All Combinations Of A Set Of Data

Nov 4, 2005

I've found myself having to use a spreadsheet to calculate some acoustics problems, (problematic frequencies, called modes, in orders ranging from 0,1,2,3....).

Ideally what I want to be able to do is simply to get Excell to calculate all the possible combinations of these modes.

A combination could be:
000
011
101
110
111
012
143
etc.

Obviously this is a nightmare to input by hand, is there any kind of function I can use to help with this process?

Also these frequencies only need to be calculated up to a certain point, so is it possible I could also instruct the cell to only display a value if it is less than a value in another cell?

View 10 Replies View Related

Excel 2010 :: Import CSV Using VBA

Jul 8, 2014

I'm having problem importing a CSv file into Excel. The CSV file is around 4-5k lines.

The layout is similar to this :

H1, H2, H3, H4, H5, H6
A4, A3, dummy, Dummy, ~,
A4, A3, dummy, "Dummy ,Dummy", ,
A4, A3, dummy, Dummy, +,
A4, A3, dummy, Dummy, -,
A4, A3, dummy, Dummy, "(5 + 4) /4",

Consider that the formula (5 + 4) /4 has a CR and LF between (5+4) and /4

I've tried a few methods to import the files:

Reading the CSV file as a Text File a line at a time but with the CR a LF it get's all messed up

[Code] .....

Tried with Using OLEDB but the Sign + , - and ~ are read a Null

[Code] ....

And Finally tried wit th QueryTable but it does not recognize the Double Quote that precedes the comma so

"Dummy ,Dummy" it's seen as two column values instead of one.

[Code] .....

View 4 Replies View Related

Excel 2010 :: Find The Last Used Row?

Nov 12, 2011

I am trying to use the code that can find the last used row in particular column.

Here is the code in module1

Code:
Function LastRow(rng As Range)
Dim temp, temp1
Dim col As Range
With Application.Caller.Parent
For Each col In rng.Columns
temp = Cells(Rows.Count, rng.Column).End(xlUp).Row
If temp > temp1 Then temp1 = temp
Next col
End With
LastRow = temp1
End Function
and code in the range

Code:
=LastRow(V12:V300)

My problem is, this code was working nicely but now it only shows ###.

PS I use MS office 2010

View 9 Replies View Related

Excel 2010 :: Convert To PDF

Feb 16, 2012

I have just upgraded Excel from 2003 to 2010 and cannot locate where I would convert a spreadsheet to a .pdf document.

View 2 Replies View Related

Excel 2010 :: Sort By Every Other Row?

Jul 11, 2012

I have several long lists (each is 600+) of vocabulary words & definitions and need to alphabetize/sort the words, but need to keep the definitions w/ the words.

A1 = word 1
A2 = def. 1
A3 = word 2
A4 = def. 2
A5 = word 3
A6 = def. 3

Standard sort will alphabetize all rows & the words will be separated from the definitions. I could group rows 1 & 2 together, rows 3 & 4 together, etc. but that's clunky & time-consuming.

I'm using Excel 2010.

View 4 Replies View Related

Excel 2010 :: Changing Last Name First Name To First Name Last Name?

Aug 26, 2012

Is there functionality in Excel 2010 to convert a cell that has last name, first name to first name last name? For instance:

Before: Mouse, MickeyAfter: Mickey Mouse

I'm trying to merge data from 2 sources, and the common data between the two is the name. However, it is formatted differently in each data source.

View 2 Replies View Related

Excel 2010 :: Provide Right Most Value In Row?

Oct 15, 2012

USING EXCEL 2010

I am looking for a formula that will provide the right most value in a row.

View 9 Replies View Related

Excel 2010 :: Next Available Row With Blanks

Nov 28, 2012

I need to get the row number of the next available row , and my column contains many blanks .

Code:

Selection.End(xlDown).Select
Selection.End(xlUp).Select

will not work, nor will

Code:

Blast = WorksheetFunction.CountA(Range("b:b"))

HTML Code:

Excel 2010ABCDE230/09/2012SC12274-1brine 30/9/1231/10/2012FR12275-1brine 1/10/1241/10/2012BQ12275-
1yc12275-159/10/2012FR12283-1brine 9/10/1269/10/2012SC12283-1yc12283-1710/10/2012BQ12284-
1brine 10/10/12815/10/2012brine 15/10/12916/10/2012FR12290-11016/10/2012BQ12290-11122/10/2012SC12296-

[Code]....

In column b the next available row would be 16 ( the first 30/10/2012 row ), if I use the counta system i would get 7, and the xldown / xlup system would need to depend on where I start, which is what I need to determine

When I veiw this all I get is an immensely huge list of HMTL.

View 5 Replies View Related

Excel 2010 :: Import CSV Using VBA?

Jul 8, 2014

I'm having problem importing a CSv file into Excel. The CSV file is around 4-5k lines.

The layout is similar to this :

H1, H2, H3, H4, H5, H6
A4, A3, dummy, Dummy, ~,
A4, A3, dummy, "Dummy ,Dummy", ,

[Code]....

View 4 Replies View Related

Excel 2003 :: Calculate Formula For Third Value Of Week?

Nov 9, 2012

On a excel sheet I've got columns, each column represents a weeknumber. I want to calculate the so-called 4 wk average for each row and for each week and this is the formula I use:

(value*Tvalue)+(value*Tvalue)+(value*Tvalue)+(value*Tvalue)/(Tvalue)

(this is not the actual formula but simplified, that's not really important).

It's the checks that make things a bit more complex. If a value of a weeknr is zero, skip it, but if the next value is also zero, just skip the formula alltogether and make it a zero (or text like "false"). So another thing that has to be accounted for is that if a value is zero, the next weeks value is taken instead.Example (see included file):

I want to calculate the formula (mov 4wk avg) for the third value for week 12, which will make the formula

(0.2*6)+(0.3*6) now there's a zero on week 14 so I skip it, then formula will be:
(0.2*6)+(0.3*6)+(0.6*6)+(0.9*6)/(6).

Right now I'm doing this in VBA with a lot of variables and a lot of if statements.Is there an easier more effective

I know the example sheet is a 2007/2010 version but I need to accomplish this for 2003.

View 9 Replies View Related

Get Excel To Calculate Elapsed Time Between Two Dates?

Apr 3, 2014

I have been trying to get excel to calculate elapsed time between two dates using mostly what I've read from other elapsed time posts. But I am clearly missing a step. I'm trying to streamline my process for taxes.

I want to take a time in the format of " yy/mm/dd hhmm " example: 1

3/04/24 2245 ( note its a 24hr clock) 13/04/24 2245 would represent 2013 April the 24th at 10:45PM.

------- A --------------- B -------------------- C
13/04/24 2245 ------13/05/24 0900 ---------[display hrs elapsed] <-- currently get #name?

I have custom formatted A and B to yy/mm/dd hhmm and formatted c to [h]:mm

When you enter b-a in column c you get #name?

If its easier to have the date and time into separate columns I can give that a shot, I was just trying to make it as streamlined as possible for copy past.

View 11 Replies View Related

How To Calculate Cumulative Time Over Different Days In Excel

Jul 28, 2014

calculate the running total of time spent in the attached spreadsheet.

View 8 Replies View Related

Data Sorting Query - Get Excel To Calculate?

Feb 10, 2013

I am a teacher and have a recurring problem when trying to sort data in excel. The problem involves national curriculum sub levels. For those not familiar with these levels, there is a main level then 3 sub levels. The problem is that they are counter intuative to the way excel sorts data. The sub levels work like this:

4a - highest
4b
4c
3a
3b
3c
2a
2b
2c - lowest

There are lower and higher levels, but you get the idea. If I have a set of pupil data that I want to sort into decending order, I find it difficult in Excel. E.g.

Jacob2c
Mary3b
John2a
Sally2b
Sarah2b
Joe3a
Bill3a

If I manually sort the above data into descending order of national curriculum level it will look like this:

Joe3a
Bill3a
Mary3b
John2a
Sally2b
Sarah2b
Jacob2c

but if I try to get excel to do it, obviously excel just treat the levels as alpha numeric and sorts them like this:

Mary3b
Joe3a
Bill3a
Jacob2c
Sally2b
Sarah2b
John2a

I know there must be an easy way involving creating a custom list, but I don't know how to do it.

Problem 2

A related query involves finding a way to get excel to complete the data in the Sub levels progress required column below:

NameLevelTargetSub levels progress required
Mary3b4a
Joe3a4a
Bill3a4a
Jacob2c2a
Sally2b3c
Sarah2b3c
John2a3a

At the moment I manually complete this. E.g. for Mary the Sub levels progress required would be 4, as there are 4 sub levels between 3b and 4a. For Joe it would be 3 as there are 3 sub levels between 3a and 4a, etc. Is there a quick way to get excel to calculate this.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved