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 » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

If value is greater than, then....



 
 
Thread Tools Display Modes
  #1  
Old September 16th, 2003, 10:41 AM
Robert
external usenet poster
 
Posts: n/a
Default If value is greater than, then....

Hi,

I am trying to create a formula. Column A has a number
Column B is a sum of A*1,2 only if A is over 100 otherwise
B=A

Logic: If A1100 then B1=(A1*1,2); If A1=100 then B1=A1

How do I transfer this so that excel understands it??

Thanks in advance for your help
R
  #2  
Old September 16th, 2003, 10:49 AM
Anon
external usenet poster
 
Posts: n/a
Default If value is greater than, then....

"Robert" wrote in message
...
Hi,

I am trying to create a formula. Column A has a number
Column B is a sum of A*1,2 only if A is over 100 otherwise
B=A

Logic: If A1100 then B1=(A1*1,2); If A1=100 then B1=A1

How do I transfer this so that excel understands it??

Thanks in advance for your help
R


I assume the comma in A1*1,2 is your decimal separator, so the parameter
separator will be a semicolon. If this is so, then in B1 the formula is
=IF(A1100;A1*1,2;A1)

[ I would normally wrte this formula as =IF(A1100,A1*1.2,A1) ]

Then copy the formula down column B as far as required.


  #3  
Old September 16th, 2003, 10:55 AM
Leo Heuser
external usenet poster
 
Posts: n/a
Default If value is greater than, then....

Hi Robert

One way

In B1

=IF(A1100,A1*1.2,A1)

(or 1,2 instead of 1.2 and delimiter semicolon)

--
Best Regards
Leo Heuser
MVP Excel

Followup to newsgroup only please.

"Robert" skrev i en meddelelse
...
Hi,

I am trying to create a formula. Column A has a number
Column B is a sum of A*1,2 only if A is over 100 otherwise
B=A

Logic: If A1100 then B1=(A1*1,2); If A1=100 then B1=A1

How do I transfer this so that excel understands it??

Thanks in advance for your help
R



  #4  
Old September 16th, 2003, 10:58 AM
Harald Staff
external usenet poster
 
Posts: n/a
Default If value is greater than, then....

Hi R

Pretty close to what you wrote:
=IF(A1100,A1*1.2,A1)
IF functions are made like this
=IF(what to test, result if true, result if not)

You can also turn it this way
=A1+IF(A1100,A1*0.2,0)

or, another approach, just for the fun of it:
=A1+0,2*(A1100)*A1
=A1*(1+(A1100)/5)
since (A1100) returns either 0 or 1. Some of us finds this easier to read
and maintain than the IF things. But we're a minority, I believe :-)
--
HTH. Best wishes Harald
Excel MVP
Followup to newsgroup only please

"Robert" skrev i melding
...
Hi,

I am trying to create a formula. Column A has a number
Column B is a sum of A*1,2 only if A is over 100 otherwise
B=A

Logic: If A1100 then B1=(A1*1,2); If A1=100 then B1=A1

How do I transfer this so that excel understands it??

Thanks in advance for your help
R



  #5  
Old September 16th, 2003, 12:03 PM
Robert
external usenet poster
 
Posts: n/a
Default If value is greater than, then....

Hi,

I dont know if this is the norm, but I would just like to
say thank you for all your replies. I have what I needed,
and some extras just for fun ;-)

Kindest regards
Robert

-----Original Message-----
"Robert" wrote in message
...
Hi,

I am trying to create a formula. Column A has a number
Column B is a sum of A*1,2 only if A is over 100

otherwise
B=A

Logic: If A1100 then B1=(A1*1,2); If A1=100 then B1=A1

How do I transfer this so that excel understands it??

Thanks in advance for your help
R


I assume the comma in A1*1,2 is your decimal separator,

so the parameter
separator will be a semicolon. If this is so, then in B1

the formula is
=IF(A1100;A1*1,2;A1)

[ I would normally wrte this formula as =IF

(A1100,A1*1.2,A1) ]

Then copy the formula down column B as far as required.


.

  #6  
Old September 16th, 2003, 05:00 PM
Harald Staff
external usenet poster
 
Posts: n/a
Default If value is greater than, then....

"Robert" wrote in message
...

I dont know if this is the norm, but I would just like to
say thank you


Unfortunately not, but highly appreciated when it happens. Glad everything worked, Robert,
welcome back anytime.

--
HTH. Best wishes Harald
Excel MVP

Followup to newsgroup only please.



 




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


All times are GMT +1. The time now is 09:13 PM.


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