#1   Report Post  
Niagera College Student
 
Posts: n/a
Default Help

I am a student I Niagera college and am working with excel, I have a n
ifstatmet that is giving the correct answer but its not solving the anser.

The statment : =IF(G9B3,+"sum(G9*C3)",+"sum(G9*1)")

The Answer sum(G9*C3)

The problemi is that it is the wright answer but it will not tally the sum.

Help me PLZ
  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Leave out the quotes and the superfluous SUM()s and "+" signs:

=IF(G9B3, G9*C3, G9)

That can then be further simplified to

=G9 * IF(G9B3, C3, 1)



In article ,
"Niagera College Student" <Niagera College
wrote:

I am a student I Niagera college and am working with excel, I have a n
ifstatmet that is giving the correct answer but its not solving the anser.

The statment : =IF(G9B3,+"sum(G9*C3)",+"sum(G9*1)")

The Answer sum(G9*C3)

The problemi is that it is the wright answer but it will not tally the sum.

Help me PLZ

  #4   Report Post  
Niagera College Student
 
Posts: n/a
Default

Thank you for you help in the end I was able to make it simple

IF(G9$B$3,H9*$C$3,H9*0)

"JE McGimpsey" wrote:

Leave out the quotes and the superfluous SUM()s and "+" signs:

=IF(G9B3, G9*C3, G9)

That can then be further simplified to

=G9 * IF(G9B3, C3, 1)



In article ,
"Niagera College Student" <Niagera College
wrote:

I am a student I Niagera college and am working with excel, I have a n
ifstatmet that is giving the correct answer but its not solving the anser.

The statment : =IF(G9B3,+"sum(G9*C3)",+"sum(G9*1)")

The Answer sum(G9*C3)

The problemi is that it is the wright answer but it will not tally the sum.

Help me PLZ


  #5   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Since anything multiplie by zero is zero, you could make it just a bit
simpler:

=IF(G9$B$3,H9*$C$3,0)

Just for kicks, you could also do it this way, since XL interprets a
TRUE value as 1 and FALSE as zero in a math formula:

=H9*$C$3*(G9$B$3)




In article ,
"Niagera College Student"
wrote:

Thank you for you help in the end I was able to make it simple

IF(G9$B$3,H9*$C$3,H9*0)

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



All times are GMT +1. The time now is 03:47 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"