Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mia Mia is offline
external usenet poster
 
Posts: 101
Default Calculation-problem

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($Q1 2="02";(BR12+BT12+BV12);OM($Q12="03";(BR12+BT12+BV 12);"")));"")

Are there any smart persons who can help me?

MR
Mia

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Calculation-problem

(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($Q1 2="02";(BR12+BT12+BV12);OM($Q12="03";(BR12+BT12+BV 12);"")));"")

Are there any smart persons who can help me?

MR
Mia

  #3   Report Post  
Posted to microsoft.public.excel.programming
Mia Mia is offline
external usenet poster
 
Posts: 101
Default Calculation-problem

(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($Q1 2="02";(BR12+BT12+BV12);OM($Q12="03";(BR12+BT12+BV 12);"")));"")

Are there any smart persons who can help me?

MR
Mia

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Calculation-problem

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($Q1 2="02";(BR12+BT12+BV12);OM($Q12="03";(BR12+BT12+BV 12);"")));"")

Are there any smart persons who can help me?

MR
Mia

  #5   Report Post  
Posted to microsoft.public.excel.programming
Mia Mia is offline
external usenet poster
 
Posts: 101
Default Calculation-problem

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($Q1 2="02";(BR12+BT12+BV12);OM($Q12="03";(BR12+BT12+BV 12);"")));"")

Are there any smart persons who can help me?

MR
Mia

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculation problem... Dagonini Excel Programming 4 November 8th 06 03:42 PM
FV Calculation problem bao Excel Worksheet Functions 1 October 31st 06 04:19 AM
Calculation problem - please help Neil Hindry Excel Discussion (Misc queries) 2 July 10th 06 02:38 PM
calculation problem les Excel Discussion (Misc queries) 1 November 24th 05 11:33 AM
Calculation Problem cvolkert Excel Discussion (Misc queries) 0 August 22nd 05 06:14 PM


All times are GMT +1. The time now is 01:29 AM.

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

About Us

"It's about Microsoft Excel"