#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default if formulas

I'm trying to create a formula that does the following. Can you help me put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default if formulas

Try this in G8

=IF(E8="X",G4*M8,"")

Mike

"a3rdcharm" wrote:

I'm trying to create a formula that does the following. Can you help me put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default if formulas

In G8

=IF(E8="X",G4*M8,"") will take care of the two conditions in your example.

What if E8 is not blank but also is not "X"?


Gord Dibben MS Excel MVP

On Fri, 22 Aug 2008 06:57:01 -0700, a3rdcharm
wrote:

I'm trying to create a formula that does the following. Can you help me put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default if formulas

Perfect. Thanks.

"Mike H" wrote:

Try this in G8

=IF(E8="X",G4*M8,"")

Mike

"a3rdcharm" wrote:

I'm trying to create a formula that does the following. Can you help me put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default if formulas

Good question. I didn't think of that. Do you know how should I adjust the
formula to address that situation?

"Gord Dibben" wrote:

In G8

=IF(E8="X",G4*M8,"") will take care of the two conditions in your example.

What if E8 is not blank but also is not "X"?


Gord Dibben MS Excel MVP

On Fri, 22 Aug 2008 06:57:01 -0700, a3rdcharm
wrote:

I'm trying to create a formula that does the following. Can you help me put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default if formulas

=IF(E8="X",G4*M8,IF(E8="","","whatever other answer you want")
--
David Biddulph

"a3rdcharm" wrote in message
...
Good question. I didn't think of that. Do you know how should I adjust
the
formula to address that situation?

"Gord Dibben" wrote:

In G8

=IF(E8="X",G4*M8,"") will take care of the two conditions in your
example.

What if E8 is not blank but also is not "X"?


Gord Dibben MS Excel MVP

On Fri, 22 Aug 2008 06:57:01 -0700, a3rdcharm
wrote:

I'm trying to create a formula that does the following. Can you help me
put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default if formulas

Whoops! Forgot the closing parenthesis.
=IF(E8="X",G4*M8,IF(E8="","","whatever other answer you want"))
--
David Biddulph

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
=IF(E8="X",G4*M8,IF(E8="","","whatever other answer you want")
--
David Biddulph

"a3rdcharm" wrote in message
...
Good question. I didn't think of that. Do you know how should I adjust
the
formula to address that situation?

"Gord Dibben" wrote:

In G8

=IF(E8="X",G4*M8,"") will take care of the two conditions in your
example.

What if E8 is not blank but also is not "X"?


Gord Dibben MS Excel MVP

On Fri, 22 Aug 2008 06:57:01 -0700, a3rdcharm
wrote:

I'm trying to create a formula that does the following. Can you help
me put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank






  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default if, then formulas

For some reason I cannot post a new thread, so I aam adding to this one.

Does anyone know how to create a formula for this?

I want to get a value in A22 and if that value is greater than 0 (even if it
is less than 1), then multiply A22 and A23 and add 45 to the total, if the
value in A22 is 0, then I want the cell to be empty.

"a3rdcharm" wrote:

I'm trying to create a formula that does the following. Can you help me put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default if, then formulas

=IF(A220,A22*A23+45,IF(A22=0,"","input negative and output undefined")
--
David Biddulph

"susieh" wrote in message
...
For some reason I cannot post a new thread, so I aam adding to this one.

Does anyone know how to create a formula for this?

I want to get a value in A22 and if that value is greater than 0 (even if
it
is less than 1), then multiply A22 and A23 and add 45 to the total, if the
value in A22 is 0, then I want the cell to be empty.

"a3rdcharm" wrote:

I'm trying to create a formula that does the following. Can you help me
put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank



  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default if formulas

Thank you, David.

I tried that and I keep getting the #VALUE! message in that cell. In A22, I
have a calulation from above that is =A14-INT(A14). Basically, I want to
take any partial from line 14, put it on line 22 and then multiply by line 23
and put the total in this cell. Right now, line 22 is 0, so I want the cell
to be blank, but it has #VALUE! instead.

"a3rdcharm" wrote:

I'm trying to create a formula that does the following. Can you help me put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank



  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default if formulas

You have replied to the original message on the thread, not to mine or even
to your own question. If you were trying to reply to a message of mine,
reply to that one and quote enough of it so that I and anyone else can see
the formula to which you are referring.

If I have guessed correctly what your talking about, and you are referring
to my reply of
=IF(A220,A22*A23+45,IF(A22=0,"","input negative and output undefined"))
[replacing the missing closing parenthesis which had got lost from my
reply], then my guess would be that you haven't actually got 0 in A22.
Try displaying some more decimal places in A22 to see what you've really
got. If you really had zero, the output of my formula would be an empty
string.
To get #VALUE! you've either got a string in A22, or a positive number in
A22 and a string in A23.
--
David Biddulph

"susieh" wrote in message
...
Thank you, David.

I tried that and I keep getting the #VALUE! message in that cell. In A22,
I
have a calulation from above that is =A14-INT(A14). Basically, I want to
take any partial from line 14, put it on line 22 and then multiply by line
23
and put the total in this cell. Right now, line 22 is 0, so I want the
cell
to be blank, but it has #VALUE! instead.

"a3rdcharm" wrote:

I'm trying to create a formula that does the following. Can you help me
put
it in the right format?

if E8=X, then G8=G4*m8
and if E* is blank, leave blank



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
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
lookup formulas dependent upon lookup formulas Skibee Excel Worksheet Functions 1 July 20th 07 01:06 PM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


All times are GMT +1. The time now is 05:08 AM.

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

About Us

"It's about Microsoft Excel"