PC Review


Reply
Thread Tools Rate Thread

Calculation-problem

 
 
Mia
Guest
Posts: n/a
 
      4th Jul 2008
Hello,

I´m been trying to make a calculation but I can´t get it right. I don´t know
the enlish word but in swedish its #värdefel! (value wrong).

=OM($AC12="3";OM($Q12="01";(BR12+BT12+BV12);OM($Q12="02";(BR12+BT12+BV12);OM($Q12="03";(BR12+BT12+BV12);"")));"")

Are there any smart persons who can help me?

MR
Mia

 
Reply With Quote
 
 
 
 
Tom Ogilvy
Guest
Posts: n/a
 
      4th Jul 2008
(BR12+BT12+BV12)

will return an error if any of the cells contain Text.

Sum(BR12,BT12,BV12)

would be more robust.

--
Regards,
Tom Ogilvy


"Mia" wrote:

> Hello,
>
> I´m been trying to make a calculation but I can´t get it right. I don´t know
> the enlish word but in swedish its #värdefel! (value wrong).
>
> =OM($AC12="3";OM($Q12="01";(BR12+BT12+BV12);OM($Q12="02";(BR12+BT12+BV12);OM($Q12="03";(BR12+BT12+BV12);"")));"")
>
> Are there any smart persons who can help me?
>
> MR
> Mia
>

 
Reply With Quote
 
Mia
Guest
Posts: n/a
 
      4th Jul 2008
> (BR12+BT12+BV12)

is not text it´s figures.

//
Mia



"Tom Ogilvy" skrev:

> (BR12+BT12+BV12)
>
> will return an error if any of the cells contain Text.
>
> Sum(BR12,BT12,BV12)
>
> would be more robust.
>
> --
> Regards,
> Tom Ogilvy
>
>
> "Mia" wrote:
>
> > Hello,
> >
> > I´m been trying to make a calculation but I can´t get it right. I don´t know
> > the enlish word but in swedish its #värdefel! (value wrong).
> >
> > =OM($AC12="3";OM($Q12="01";(BR12+BT12+BV12);OM($Q12="02";(BR12+BT12+BV12);OM($Q12="03";(BR12+BT12+BV12);"")));"")
> >
> > Are there any smart persons who can help me?
> >
> > MR
> > Mia
> >

 
Reply With Quote
 
Tom Ogilvy
Guest
Posts: n/a
 
      4th Jul 2008
Did you test it. For example, a 2 in a cell could be stored as the number 2
or it could be stored as the letter 2.

Then again, maybe you are not having any problems.

--
Regards,
Tom Ogilvy


"Mia" wrote:

> > (BR12+BT12+BV12)

>
> is not text it´s figures.
>
> //
> Mia
>
>
>
> "Tom Ogilvy" skrev:
>
> > (BR12+BT12+BV12)
> >
> > will return an error if any of the cells contain Text.
> >
> > Sum(BR12,BT12,BV12)
> >
> > would be more robust.
> >
> > --
> > Regards,
> > Tom Ogilvy
> >
> >
> > "Mia" wrote:
> >
> > > Hello,
> > >
> > > I´m been trying to make a calculation but I can´t get it right. I don´t know
> > > the enlish word but in swedish its #värdefel! (value wrong).
> > >
> > > =OM($AC12="3";OM($Q12="01";(BR12+BT12+BV12);OM($Q12="02";(BR12+BT12+BV12);OM($Q12="03";(BR12+BT12+BV12);"")));"")
> > >
> > > Are there any smart persons who can help me?
> > >
> > > MR
> > > Mia
> > >

 
Reply With Quote
 
Mia
Guest
Posts: n/a
 
      4th Jul 2008
Thank you!

I made following change in the BT12-cell

from
=OM($Q12="01";$AF12*((Dataunderlag!$H$13-$U12+1)/Dataunderlag!$H$13);"")

to
=OM($Q12="01";$AF12*((Dataunderlag!$H$13-$U12+1)/Dataunderlag!$H$13);"0")

So everything works, thanks!

//
Mia




"Tom Ogilvy" skrev:

> Did you test it. For example, a 2 in a cell could be stored as the number 2
> or it could be stored as the letter 2.
>
> Then again, maybe you are not having any problems.
>
> --
> Regards,
> Tom Ogilvy
>
>
> "Mia" wrote:
>
> > > (BR12+BT12+BV12)

> >
> > is not text it´s figures.
> >
> > //
> > Mia
> >
> >
> >
> > "Tom Ogilvy" skrev:
> >
> > > (BR12+BT12+BV12)
> > >
> > > will return an error if any of the cells contain Text.
> > >
> > > Sum(BR12,BT12,BV12)
> > >
> > > would be more robust.
> > >
> > > --
> > > Regards,
> > > Tom Ogilvy
> > >
> > >
> > > "Mia" wrote:
> > >
> > > > Hello,
> > > >
> > > > I´m been trying to make a calculation but I can´t get it right. I don´t know
> > > > the enlish word but in swedish its #värdefel! (value wrong).
> > > >
> > > > =OM($AC12="3";OM($Q12="01";(BR12+BT12+BV12);OM($Q12="02";(BR12+BT12+BV12);OM($Q12="03";(BR12+BT12+BV12);"")));"")
> > > >
> > > > Are there any smart persons who can help me?
> > > >
> > > > MR
> > > > Mia
> > > >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation Problem Bob Vance Microsoft Access 1 7th Dec 2009 01:45 PM
Calculation Problem =?Utf-8?B?ZGF2ZQ==?= Microsoft Excel Misc 0 24th Aug 2005 03:15 PM
Problem of calculation =?Utf-8?B?QWxhbjQ4?= Microsoft Access VBA Modules 2 18th Jul 2005 10:56 AM
Calculation problem Ajtb Microsoft Excel Programming 3 25th Jan 2005 08:14 AM
Age calculation still a problem! Alec Green Microsoft Access Queries 5 16th Oct 2003 08:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 PM.