Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default Multiplying 2 cells based on the value of one of the cells and...

I have a listing of eight different classes with different durations. I then
have several people taking either some or all of the classes. I need to get
a total of all the classes, as well as the total number of class days. I
tried this formulua =IF(E30,(E3*C3)+IF(E40,(E4*C4)),0), but if there is
only a value in E4 and not in E3, then I do not get any results. Either E3
or E4 could have a one entered, indicated that 1 class will be taken. The
good news is, if there is value in E3 then I am golden, how can I change this
formula to include results when there is nothing in E3 and only result in E4
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Multiplying 2 cells based on the value of one of the cells and...

Your formula
=IF(E30,(E3*C3)+IF(E40,(E4*C4)),0)

Replace the last zero with an IF statement.. so that the new formula is...
=IF(E30,(E3*C3)+IF(E40,(E4*C4)),IF(E40,(E4*C4)) ,0)

Regards
Scott



"Valerie" wrote in message
...
I have a listing of eight different classes with different durations. I
then
have several people taking either some or all of the classes. I need to
get
a total of all the classes, as well as the total number of class days. I
tried this formulua =IF(E30,(E3*C3)+IF(E40,(E4*C4)),0), but if there is
only a value in E4 and not in E3, then I do not get any results. Either
E3
or E4 could have a one entered, indicated that 1 class will be taken.
The
good news is, if there is value in E3 then I am golden, how can I change
this
formula to include results when there is nothing in E3 and only result in
E4



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default Multiplying 2 cells based on the value of one of the cells an

I was really excited, but an error message appears that says I have too many
arguements???? yikes


"Scott Collier" wrote:

Your formula
=IF(E30,(E3*C3)+IF(E40,(E4*C4)),0)

Replace the last zero with an IF statement.. so that the new formula is...
=IF(E30,(E3*C3)+IF(E40,(E4*C4)),IF(E40,(E4*C4)) ,0)

Regards
Scott



"Valerie" wrote in message
...
I have a listing of eight different classes with different durations. I
then
have several people taking either some or all of the classes. I need to
get
a total of all the classes, as well as the total number of class days. I
tried this formulua =IF(E30,(E3*C3)+IF(E40,(E4*C4)),0), but if there is
only a value in E4 and not in E3, then I do not get any results. Either
E3
or E4 could have a one entered, indicated that 1 class will be taken.
The
good news is, if there is value in E3 then I am golden, how can I change
this
formula to include results when there is nothing in E3 and only result in
E4




  #4   Report Post  
Posted to microsoft.public.excel.programming
jb jb is offline
external usenet poster
 
Posts: 4
Default Multiplying 2 cells based on the value of one of the cells an

Try;

=IF(E30,(E3*C3)+IF(E40,(E4*C4))+IF(E40,(E4*C4)) ,0)

"Valerie" wrote in message
...
I was really excited, but an error message appears that says I have too
many
arguements???? yikes


"Scott Collier" wrote:

Your formula
=IF(E30,(E3*C3)+IF(E40,(E4*C4)),0)

Replace the last zero with an IF statement.. so that the new formula
is...
=IF(E30,(E3*C3)+IF(E40,(E4*C4)),IF(E40,(E4*C4)) ,0)

Regards
Scott



"Valerie" wrote in message
...
I have a listing of eight different classes with different durations. I
then
have several people taking either some or all of the classes. I need
to
get
a total of all the classes, as well as the total number of class days.
I
tried this formulua =IF(E30,(E3*C3)+IF(E40,(E4*C4)),0), but if there
is
only a value in E4 and not in E3, then I do not get any results.
Either
E3
or E4 could have a one entered, indicated that 1 class will be taken.
The
good news is, if there is value in E3 then I am golden, how can I
change
this
formula to include results when there is nothing in E3 and only result
in
E4






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
Multiplying Empty Cells Workbook Excel Worksheet Functions 6 February 4th 09 11:29 PM
Multiplying one known number with fluctuating numbers in cells Georgia New Users to Excel 5 March 31st 08 10:55 PM
Multiplying cells with formula's sazza26 New Users to Excel 4 December 10th 07 11:47 AM
Formulas for multiplying cells gdmn6 Excel Worksheet Functions 4 November 21st 07 08:29 PM
multiplying the same cell by different cells and copying formula Lucho Excel Worksheet Functions 2 December 12th 06 03:19 PM


All times are GMT +1. The time now is 11:58 PM.

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"