formulas in standard columns

B

Benedykt

Hello,

In MS Project I can place formulas in non standard columns
(Tekst1..Tekst20 etc). Can I somehow place formulas in standard
columns as well (e.g. in column "Start", "Duration" etc)?
 
R

Rob Schneider

Sorry, no. Those so-called standard columns are there for standard
purposes (to gather input form you, show results of computations
programmed by Project not you, etc.)

--rms

www.rmschneider.com
 
J

John

Benedykt said:
Hello,

In MS Project I can place formulas in non standard columns
(Tekst1..Tekst20 etc). Can I somehow place formulas in standard
columns as well (e.g. in column "Start", "Duration" etc)?

Benedykt,
Rob already answered your post but what exactly are you trying to do?
Very likely there is another approach and perhaps we can be of help.

John
Project MVP
 
B

Benedykt

Rob already answered your post but what exactly are you trying to do?
Very likely there is another approach and perhaps we can be of help.

For instance I want to calculate duration of tasks. I want to not
enter them manually, but to calculate them from some non standard
columns. So far I do it by calculating calculated duration in some non
standard column and then copying it as a link to a standard "duration"
column - but I'd like to do it smarter way.
 
G

Gérard Ducouret

Benedykt,
I think to only way to do that is using a VBA procedure which will calculate
the duration and write it down in the Duration column
Gérard Ducouret

"Benedykt" <[email protected]> a écrit dans le message de (e-mail address removed)...
Rob already answered your post but what exactly are you trying to do?
Very likely there is another approach and perhaps we can be of help.

For instance I want to calculate duration of tasks. I want to not
enter them manually, but to calculate them from some non standard
columns. So far I do it by calculating calculated duration in some non
standard column and then copying it as a link to a standard "duration"
column - but I'd like to do it smarter way.
 
R

Rob Schneider

You should write a VBA macro that implements your algorithm, taking info
from the other standard and custom fields. Then save that result into
the Duration fields (all in the macro).


--rms

www.rmschneider.com
 
J

John

Agree with all the other answers, however, you can do what you want in
another way:

Say you want MSP to automatically calculate the duration based on a
quantity (e.g. Number1) and a unit rate (e.g. Number2). Now make a
formula for Duration1 being "Number1*Number2/480" (if 8 hrs/day). Copy
Duration1 and now Paste Special - Paste Link - Text Data into the cell
of the Duration (have to be done for each activity where relevant).
Your duration, start/finish dates and bar on Gantt chart will now
change automatically when you change quantity and/or unit rate.

If you want to include resources just modify your formula with e.g.
Number3 being the numbers of resources assigned to the activity.

Similar approach can be done for start date, e.g. by paste special -
paste link from Start1 and so on for other standard columns.

Regards,

John
 
J

John

Sorry Benedykt,

I didn't read your 2nd post. You already got the answer yourself.

Regards,

John
 
J

John

Benedykt said:
For instance I want to calculate duration of tasks. I want to not
enter them manually, but to calculate them from some non standard
columns. So far I do it by calculating calculated duration in some non
standard column and then copying it as a link to a standard "duration"
column - but I'd like to do it smarter way.

Benedykt,
Although the other John did offer another option (i.e. using Paste
Special), and you also mentioned that you are using that approach now, I
don't recommend it. Paste links are fragile and if not handled with
great care, even within a given project file, can lead to corruption. I
have to go with Rob and Gerard, in your case VBA is the better way to
go. If you need help with a VBA solution, give us the details (i.e.
fields you are using for the non-standard data and calculation formula),
and we can probably help.

Keep in mind that the Duration field is calculated by Project using the
work equation:
Duration = Work / (Hours Per Day x Units)
A little more explanation as to why you want to manually calculate
duration would helpful. Maybe you are trying to do something that
Project just isn't designed to do.

John
Project MVP
 
B

Benedykt

If you need help with a VBA solution, give us the details (i.e.
fields you are using for the non-standard data and calculation formula),
and we can probably help.

Thanks a lot for your willingness to help - however I hope I can do it
by myself, as I have been doing some VBA in Excel.
 
J

John

Benedykt said:
Thanks a lot for your willingness to help - however I hope I can do it
by myself, as I have been doing some VBA in Excel.

Benedykt,
OK, good luck. If you need any help with VBA in Project, don't hesitate
to ask.

John
Project MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top