A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Creating Calculations Within a Field



 
 
Thread Tools Display Modes
  #1  
Old March 25th, 2005, 03:01 AM
MinhPhan
external usenet poster
 
Posts: n/a
Default Creating Calculations Within a Field

Hello,

I have an Activity field with various activities and I would like to
calculate the time values between these activities.

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop - Stand. I
greatly appreciate any help. Thanks!

Minh





  #2  
Old March 25th, 2005, 04:43 AM
JulieD
external usenet poster
 
Posts: n/a
Default

Hi

assume your example is in cells A1:B4
the formula you're looking for is B4-B2

Cheers
JulieD


"MinhPhan" wrote in message
...
Hello,

I have an Activity field with various activities and I would like to
calculate the time values between these activities.

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop - Stand. I
greatly appreciate any help. Thanks!

Minh







  #3  
Old March 27th, 2005, 05:47 PM
MinhPhan
external usenet poster
 
Posts: n/a
Default

I should have mentioned that I am working with a pivot table. Is it possible
to create a formula within a field?

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop - Stand. I
greatly appreciate any help. Thanks!

Minh


"JulieD" wrote:

Hi

assume your example is in cells A1:B4
the formula you're looking for is B4-B2

Cheers
JulieD


"MinhPhan" wrote in message
...
Hello,

I have an Activity field with various activities and I would like to
calculate the time values between these activities.

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop - Stand. I
greatly appreciate any help. Thanks!

Minh








  #4  
Old March 28th, 2005, 04:16 AM
JulieD
external usenet poster
 
Posts: n/a
Default

Hi

you can add calculated fields to pivot tables, on the pivot table toolbar,
click on the pivot table icon and choose formula ... see how you go.

Cheers
JulieD

"MinhPhan" wrote in message
...
I should have mentioned that I am working with a pivot table. Is it
possible
to create a formula within a field?

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop - Stand. I
greatly appreciate any help. Thanks!

Minh


"JulieD" wrote:

Hi

assume your example is in cells A1:B4
the formula you're looking for is B4-B2

Cheers
JulieD


"MinhPhan" wrote in message
...
Hello,

I have an Activity field with various activities and I would like to
calculate the time values between these activities.

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop - Stand.
I
greatly appreciate any help. Thanks!

Minh










  #5  
Old March 28th, 2005, 06:49 AM
MinhPhan
external usenet poster
 
Posts: n/a
Default

I could see how I would calculate between various fields, but I could not set
up a calculation within the field itself. Did I overlook something?

I am also trying to group the values, but it does not allow for subtraction
(only summing).

"JulieD" wrote:

Hi

you can add calculated fields to pivot tables, on the pivot table toolbar,
click on the pivot table icon and choose formula ... see how you go.

Cheers
JulieD

"MinhPhan" wrote in message
...
I should have mentioned that I am working with a pivot table. Is it
possible
to create a formula within a field?

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop - Stand. I
greatly appreciate any help. Thanks!

Minh


"JulieD" wrote:

Hi

assume your example is in cells A1:B4
the formula you're looking for is B4-B2

Cheers
JulieD


"MinhPhan" wrote in message
...
Hello,

I have an Activity field with various activities and I would like to
calculate the time values between these activities.

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop - Stand.
I
greatly appreciate any help. Thanks!

Minh











  #6  
Old March 28th, 2005, 09:32 AM
JulieD
external usenet poster
 
Posts: n/a
Default

Hi

can you post a 5 line example of the data that the pivot table is based on
....
please don't attach a workbook just type it out the format
.......A........B.............C..............D
1....data...data........data..........data

thanks - as i'ld like to try out a few ideas

Cheers
JulieD

"MinhPhan" wrote in message
...
I could see how I would calculate between various fields, but I could not
set
up a calculation within the field itself. Did I overlook something?

I am also trying to group the values, but it does not allow for
subtraction
(only summing).

"JulieD" wrote:

Hi

you can add calculated fields to pivot tables, on the pivot table
toolbar,
click on the pivot table icon and choose formula ... see how you go.

Cheers
JulieD

"MinhPhan" wrote in message
...
I should have mentioned that I am working with a pivot table. Is it
possible
to create a formula within a field?

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop - Stand.
I
greatly appreciate any help. Thanks!

Minh


"JulieD" wrote:

Hi

assume your example is in cells A1:B4
the formula you're looking for is B4-B2

Cheers
JulieD


"MinhPhan" wrote in message
...
Hello,

I have an Activity field with various activities and I would like to
calculate the time values between these activities.

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop -
Stand.
I
greatly appreciate any help. Thanks!

Minh













  #7  
Old March 28th, 2005, 12:03 PM
MinhPhan
external usenet poster
 
Posts: n/a
Default

Here is an example of the data:
Name Activity Time
Jason Walking 0:30:00
Jason Running 0:15:00
Jason Dumbels 0:18:00
Jason Bench 0:13:00
Mark Walking 0:30:00
Mark Running 0:15:00
Mark Dumbels 0:18:00
Mark Bench 0:13:00

In the pivot table, I would like to add a new activity and it is Walking
minus Running. The pivot table will then be:

Activity Total
Bench 0:26:00
Dumbels 0:36:00
Running 0:30:00
Walking 1:00:00
Walking - Running 0:30:00

Thanks for looking into this!


"JulieD" wrote:

Hi

can you post a 5 line example of the data that the pivot table is based on
....
please don't attach a workbook just type it out the format
.......A........B.............C..............D
1....data...data........data..........data

thanks - as i'ld like to try out a few ideas

Cheers
JulieD

"MinhPhan" wrote in message
...
I could see how I would calculate between various fields, but I could not
set
up a calculation within the field itself. Did I overlook something?

I am also trying to group the values, but it does not allow for
subtraction
(only summing).

"JulieD" wrote:

Hi

you can add calculated fields to pivot tables, on the pivot table
toolbar,
click on the pivot table icon and choose formula ... see how you go.

Cheers
JulieD

"MinhPhan" wrote in message
...
I should have mentioned that I am working with a pivot table. Is it
possible
to create a formula within a field?

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop - Stand.
I
greatly appreciate any help. Thanks!

Minh


"JulieD" wrote:

Hi

assume your example is in cells A1:B4
the formula you're looking for is B4-B2

Cheers
JulieD


"MinhPhan" wrote in message
...
Hello,

I have an Activity field with various activities and I would like to
calculate the time values between these activities.

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop -
Stand.
I
greatly appreciate any help. Thanks!

Minh














  #8  
Old March 29th, 2005, 05:05 PM
JulieD
external usenet poster
 
Posts: n/a
Default

Hi

i was able to achieve this:
1) click on "bench" in the pivot table
2) choose pivot table (icon on the toolbar)
3) choose formulas
4) choose CALCULATED ITEM
5) called it WR
6) typed the formula
= Walking - Running

and clicked on OK

Cheers
JulieD
PS i'm using Ver 2003 not sure when this option was made available (never
done it before)

"MinhPhan" wrote in message
...
Here is an example of the data:
Name Activity Time
Jason Walking 0:30:00
Jason Running 0:15:00
Jason Dumbels 0:18:00
Jason Bench 0:13:00
Mark Walking 0:30:00
Mark Running 0:15:00
Mark Dumbels 0:18:00
Mark Bench 0:13:00

In the pivot table, I would like to add a new activity and it is Walking
minus Running. The pivot table will then be:

Activity Total
Bench 0:26:00
Dumbels 0:36:00
Running 0:30:00
Walking 1:00:00
Walking - Running 0:30:00

Thanks for looking into this!


"JulieD" wrote:

Hi

can you post a 5 line example of the data that the pivot table is based
on
....
please don't attach a workbook just type it out the format
.......A........B.............C..............D
1....data...data........data..........data

thanks - as i'ld like to try out a few ideas

Cheers
JulieD

"MinhPhan" wrote in message
...
I could see how I would calculate between various fields, but I could
not
set
up a calculation within the field itself. Did I overlook something?

I am also trying to group the values, but it does not allow for
subtraction
(only summing).

"JulieD" wrote:

Hi

you can add calculated fields to pivot tables, on the pivot table
toolbar,
click on the pivot table icon and choose formula ... see how you go.

Cheers
JulieD

"MinhPhan" wrote in message
...
I should have mentioned that I am working with a pivot table. Is it
possible
to create a formula within a field?

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop -
Stand.
I
greatly appreciate any help. Thanks!

Minh


"JulieD" wrote:

Hi

assume your example is in cells A1:B4
the formula you're looking for is B4-B2

Cheers
JulieD


"MinhPhan" wrote in message
...
Hello,

I have an Activity field with various activities and I would like
to
calculate the time values between these activities.

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop -
Stand.
I
greatly appreciate any help. Thanks!

Minh
















  #9  
Old March 30th, 2005, 02:19 AM
MinhPhan
external usenet poster
 
Posts: n/a
Default

Thanks Julie! This is exactly what I needed!

Minh

"JulieD" wrote:

Hi

i was able to achieve this:
1) click on "bench" in the pivot table
2) choose pivot table (icon on the toolbar)
3) choose formulas
4) choose CALCULATED ITEM
5) called it WR
6) typed the formula
= Walking - Running

and clicked on OK

Cheers
JulieD
PS i'm using Ver 2003 not sure when this option was made available (never
done it before)

"MinhPhan" wrote in message
...
Here is an example of the data:
Name Activity Time
Jason Walking 0:30:00
Jason Running 0:15:00
Jason Dumbels 0:18:00
Jason Bench 0:13:00
Mark Walking 0:30:00
Mark Running 0:15:00
Mark Dumbels 0:18:00
Mark Bench 0:13:00

In the pivot table, I would like to add a new activity and it is Walking
minus Running. The pivot table will then be:

Activity Total
Bench 0:26:00
Dumbels 0:36:00
Running 0:30:00
Walking 1:00:00
Walking - Running 0:30:00

Thanks for looking into this!


"JulieD" wrote:

Hi

can you post a 5 line example of the data that the pivot table is based
on
....
please don't attach a workbook just type it out the format
.......A........B.............C..............D
1....data...data........data..........data

thanks - as i'ld like to try out a few ideas

Cheers
JulieD

"MinhPhan" wrote in message
...
I could see how I would calculate between various fields, but I could
not
set
up a calculation within the field itself. Did I overlook something?

I am also trying to group the values, but it does not allow for
subtraction
(only summing).

"JulieD" wrote:

Hi

you can add calculated fields to pivot tables, on the pivot table
toolbar,
click on the pivot table icon and choose formula ... see how you go.

Cheers
JulieD

"MinhPhan" wrote in message
...
I should have mentioned that I am working with a pivot table. Is it
possible
to create a formula within a field?

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop -
Stand.
I
greatly appreciate any help. Thanks!

Minh


"JulieD" wrote:

Hi

assume your example is in cells A1:B4
the formula you're looking for is B4-B2

Cheers
JulieD


"MinhPhan" wrote in message
...
Hello,

I have an Activity field with various activities and I would like
to
calculate the time values between these activities.

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop -
Stand.
I
greatly appreciate any help. Thanks!

Minh

















  #10  
Old March 30th, 2005, 12:30 PM
JulieD
external usenet poster
 
Posts: n/a
Default

you're welcome and thanks for the feedback

"MinhPhan" wrote in message
...
Thanks Julie! This is exactly what I needed!

Minh

"JulieD" wrote:

Hi

i was able to achieve this:
1) click on "bench" in the pivot table
2) choose pivot table (icon on the toolbar)
3) choose formulas
4) choose CALCULATED ITEM
5) called it WR
6) typed the formula
= Walking - Running

and clicked on OK

Cheers
JulieD
PS i'm using Ver 2003 not sure when this option was made available (never
done it before)

"MinhPhan" wrote in message
...
Here is an example of the data:
Name Activity Time
Jason Walking 0:30:00
Jason Running 0:15:00
Jason Dumbels 0:18:00
Jason Bench 0:13:00
Mark Walking 0:30:00
Mark Running 0:15:00
Mark Dumbels 0:18:00
Mark Bench 0:13:00

In the pivot table, I would like to add a new activity and it is
Walking
minus Running. The pivot table will then be:

Activity Total
Bench 0:26:00
Dumbels 0:36:00
Running 0:30:00
Walking 1:00:00
Walking - Running 0:30:00

Thanks for looking into this!


"JulieD" wrote:

Hi

can you post a 5 line example of the data that the pivot table is
based
on
....
please don't attach a workbook just type it out the format
.......A........B.............C..............D
1....data...data........data..........data

thanks - as i'ld like to try out a few ideas

Cheers
JulieD

"MinhPhan" wrote in message
...
I could see how I would calculate between various fields, but I could
not
set
up a calculation within the field itself. Did I overlook something?

I am also trying to group the values, but it does not allow for
subtraction
(only summing).

"JulieD" wrote:

Hi

you can add calculated fields to pivot tables, on the pivot table
toolbar,
click on the pivot table icon and choose formula ... see how you
go.

Cheers
JulieD

"MinhPhan" wrote in message
...
I should have mentioned that I am working with a pivot table. Is
it
possible
to create a formula within a field?

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is Stop -
Stand.
I
greatly appreciate any help. Thanks!

Minh


"JulieD" wrote:

Hi

assume your example is in cells A1:B4
the formula you're looking for is B4-B2

Cheers
JulieD


"MinhPhan" wrote in message
...
Hello,

I have an Activity field with various activities and I would
like
to
calculate the time values between these activities.

For example:
Activity (Field) Time (Avg)
Stand 12:00
Run 13:00
Stop 13:30

I would like to add a calculation within Activity that is
Stop -
Stand.
I
greatly appreciate any help. Thanks!

Minh



















 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
name lost in the field FROM when creating new email Xuacu General Discussion 0 January 20th, 2005 07:54 AM
Syntax needed to get needed reports Frank Lueder New Users 15 January 6th, 2005 08:39 AM
Creating a multiselect field in a form to populate a single field in a table Conni Using Forms 1 September 21st, 2004 05:58 PM
Creating new 'Version' field ?? Sean Mailmerge 1 September 8th, 2004 04:39 PM
field manipulation Steve Running & Setting Up Queries 2 May 28th, 2004 03:12 PM


All times are GMT +1. The time now is 06:20 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.