Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi, I hope someone may be able to help me.
I have the following formula which works fine, however the values in P5, R5, T5, V5, X5, Z5, AB5 AND AD5 may contain text which is messing up my formula. My reasoning behind needing to do this is calculating student marks over several tasks, with different % weights and until the assessment task has been set I have an IF formula based on the false being "-". I have tried the =IF(ISNUMBER(P5),(P5*$O$3),0,IF(ISNUMBER(R5),(R5*$ Q$3),0,.... and getting all kinds of error messages, in cluding too many augments. =((P5*$O$3)+(R5*$Q$3)+(T5*$S$3)+(V5*$U$3)+(X5*$W$3 )+(Z5*$Y$3)+(AB5*$AA$3)+(AD5*$AC$3))*0.01 I would appreciate any assistance here. Thanks Tanya |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
try:
=SUMPRODUCT(($O$3:$AC$3),(P5:AD5))*0.01 HTH "Tanya" wrote: Hi, I hope someone may be able to help me. I have the following formula which works fine, however the values in P5, R5, T5, V5, X5, Z5, AB5 AND AD5 may contain text which is messing up my formula. My reasoning behind needing to do this is calculating student marks over several tasks, with different % weights and until the assessment task has been set I have an IF formula based on the false being "-". I have tried the =IF(ISNUMBER(P5),(P5*$O$3),0,IF(ISNUMBER(R5),(R5*$ Q$3),0,.... and getting all kinds of error messages, in cluding too many augments. =((P5*$O$3)+(R5*$Q$3)+(T5*$S$3)+(V5*$U$3)+(X5*$W$3 )+(Z5*$Y$3)+(AB5*$AA$3)+(AD5*$AC$3))*0.01 I would appreciate any assistance here. Thanks Tanya |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you for responding so quickly to my delema.
Unfortunately this doesn't solve my problem. I'm not sure if perhaps I am making this too complicated for myself. My sheet has multiple functions happening all over the place. I will try to explain a little clearer. O3 has a value=15% [this is the task weight for Task1] Q3 has the task weight of =10% however Task2 has not been undertaken yet and no mark awarded P6 contains the result of Task 1 which has been converted to a number out of 100 R6 contains "-" because no mark has been awarded yet i.e. neither 0 or any other number can be awarded yet. In cell AE5 I need to multiply P6 by O3, [this gives me the correct weight for the mark] then add next task IF ISNUMBER and finally multiple the result by 0.01 to get a percentage out of 100. I have only listed two tasks to simplify my problem, there are actually 8 tasks in total, same scenaria, requiring each task to be multipled by its weight then finally multipled by 0.01 If you don't think this is possible and could recommend another way around this I would appreciate you feedback. Thanking you in advance Tanya "Toppers" wrote: try: =SUMPRODUCT(($O$3:$AC$3),(P5:AD5))*0.01 HTH "Tanya" wrote: Hi, I hope someone may be able to help me. I have the following formula which works fine, however the values in P5, R5, T5, V5, X5, Z5, AB5 AND AD5 may contain text which is messing up my formula. My reasoning behind needing to do this is calculating student marks over several tasks, with different % weights and until the assessment task has been set I have an IF formula based on the false being "-". I have tried the =IF(ISNUMBER(P5),(P5*$O$3),0,IF(ISNUMBER(R5),(R5*$ Q$3),0,.... and getting all kinds of error messages, in cluding too many augments. =((P5*$O$3)+(R5*$Q$3)+(T5*$S$3)+(V5*$U$3)+(X5*$W$3 )+(Z5*$Y$3)+(AB5*$AA$3)+(AD5*$AC$3))*0.01 I would appreciate any assistance here. Thanks Tanya |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
See Ron's reply: same formula as my original.
"Tanya" wrote: Thank you for responding so quickly to my delema. Unfortunately this doesn't solve my problem. I'm not sure if perhaps I am making this too complicated for myself. My sheet has multiple functions happening all over the place. I will try to explain a little clearer. O3 has a value=15% [this is the task weight for Task1] Q3 has the task weight of =10% however Task2 has not been undertaken yet and no mark awarded P6 contains the result of Task 1 which has been converted to a number out of 100 R6 contains "-" because no mark has been awarded yet i.e. neither 0 or any other number can be awarded yet. In cell AE5 I need to multiply P6 by O3, [this gives me the correct weight for the mark] then add next task IF ISNUMBER and finally multiple the result by 0.01 to get a percentage out of 100. I have only listed two tasks to simplify my problem, there are actually 8 tasks in total, same scenaria, requiring each task to be multipled by its weight then finally multipled by 0.01 If you don't think this is possible and could recommend another way around this I would appreciate you feedback. Thanking you in advance Tanya "Toppers" wrote: try: =SUMPRODUCT(($O$3:$AC$3),(P5:AD5))*0.01 HTH "Tanya" wrote: Hi, I hope someone may be able to help me. I have the following formula which works fine, however the values in P5, R5, T5, V5, X5, Z5, AB5 AND AD5 may contain text which is messing up my formula. My reasoning behind needing to do this is calculating student marks over several tasks, with different % weights and until the assessment task has been set I have an IF formula based on the false being "-". I have tried the =IF(ISNUMBER(P5),(P5*$O$3),0,IF(ISNUMBER(R5),(R5*$ Q$3),0,.... and getting all kinds of error messages, in cluding too many augments. =((P5*$O$3)+(R5*$Q$3)+(T5*$S$3)+(V5*$U$3)+(X5*$W$3 )+(Z5*$Y$3)+(AB5*$AA$3)+(AD5*$AC$3))*0.01 I would appreciate any assistance here. Thanks Tanya |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Sun, 1 Jul 2007 04:02:25 -0700, Tanya
wrote: Hi, I hope someone may be able to help me. I have the following formula which works fine, however the values in P5, R5, T5, V5, X5, Z5, AB5 AND AD5 may contain text which is messing up my formula. My reasoning behind needing to do this is calculating student marks over several tasks, with different % weights and until the assessment task has been set I have an IF formula based on the false being "-". I have tried the =IF(ISNUMBER(P5),(P5*$O$3),0,IF(ISNUMBER(R5),(R5*$ Q$3),0,.... and getting all kinds of error messages, in cluding too many augments. =((P5*$O$3)+(R5*$Q$3)+(T5*$S$3)+(V5*$U$3)+(X5*$W$ 3)+(Z5*$Y$3)+(AB5*$AA$3)+(AD5*$AC$3))*0.01 I would appreciate any assistance here. Thanks Tanya I note that the data is in every other column, with row 5 offset by 1 column from row 3. SUMPRODUCT will ignore text. So if there is no numeric data in the intervening columns, you could use this formula: =SUMPRODUCT($O$3:$AC$3,P5:AD5) --ron |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you for your rseponse,
Unfortunately there are values in other columns on rows 3 and 5 that I need to ignore "Ron Rosenfeld" wrote: On Sun, 1 Jul 2007 04:02:25 -0700, Tanya wrote: Hi, I hope someone may be able to help me. I have the following formula which works fine, however the values in P5, R5, T5, V5, X5, Z5, AB5 AND AD5 may contain text which is messing up my formula. My reasoning behind needing to do this is calculating student marks over several tasks, with different % weights and until the assessment task has been set I have an IF formula based on the false being "-". I have tried the =IF(ISNUMBER(P5),(P5*$O$3),0,IF(ISNUMBER(R5),(R5*$ Q$3),0,.... and getting all kinds of error messages, in cluding too many augments. =((P5*$O$3)+(R5*$Q$3)+(T5*$S$3)+(V5*$U$3)+(X5*$W$ 3)+(Z5*$Y$3)+(AB5*$AA$3)+(AD5*$AC$3))*0.01 I would appreciate any assistance here. Thanks Tanya I note that the data is in every other column, with row 5 offset by 1 column from row 3. SUMPRODUCT will ignore text. So if there is no numeric data in the intervening columns, you could use this formula: =SUMPRODUCT($O$3:$AC$3,P5:AD5) --ron |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try:
=SUMPRODUCT(($O$3:$AC$3),--(MOD(COLUMN(P5:AD5),2)=0),(P5:AD5))*0.01 Or see my other posting. "Tanya" wrote: Thank you for your rseponse, Unfortunately there are values in other columns on rows 3 and 5 that I need to ignore "Ron Rosenfeld" wrote: On Sun, 1 Jul 2007 04:02:25 -0700, Tanya wrote: Hi, I hope someone may be able to help me. I have the following formula which works fine, however the values in P5, R5, T5, V5, X5, Z5, AB5 AND AD5 may contain text which is messing up my formula. My reasoning behind needing to do this is calculating student marks over several tasks, with different % weights and until the assessment task has been set I have an IF formula based on the false being "-". I have tried the =IF(ISNUMBER(P5),(P5*$O$3),0,IF(ISNUMBER(R5),(R5*$ Q$3),0,.... and getting all kinds of error messages, in cluding too many augments. =((P5*$O$3)+(R5*$Q$3)+(T5*$S$3)+(V5*$U$3)+(X5*$W$ 3)+(Z5*$Y$3)+(AB5*$AA$3)+(AD5*$AC$3))*0.01 I would appreciate any assistance here. Thanks Tanya I note that the data is in every other column, with row 5 offset by 1 column from row 3. SUMPRODUCT will ignore text. So if there is no numeric data in the intervening columns, you could use this formula: =SUMPRODUCT($O$3:$AC$3,P5:AD5) --ron |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this which takes alternative columns: columns with "-" are treated as
zero (as per your IF statement). =SUMPRODUCT(--(MOD(COLUMN($O$3:$AC$3),2)=1),($O$3:$AC$3),--(MOD(COLUMN(P5:AD5),2)=0),(P5:AD5))*0.01 If cells Q5,S5 etc are blank or zero, the first formula would work. In your original posting your cells were in row 5, but your second said row 6, with answer in AE5: very confusing! Why did you say the first one didn't work? "Tanya" wrote: Hi, I hope someone may be able to help me. I have the following formula which works fine, however the values in P5, R5, T5, V5, X5, Z5, AB5 AND AD5 may contain text which is messing up my formula. My reasoning behind needing to do this is calculating student marks over several tasks, with different % weights and until the assessment task has been set I have an IF formula based on the false being "-". I have tried the =IF(ISNUMBER(P5),(P5*$O$3),0,IF(ISNUMBER(R5),(R5*$ Q$3),0,.... and getting all kinds of error messages, in cluding too many augments. =((P5*$O$3)+(R5*$Q$3)+(T5*$S$3)+(V5*$U$3)+(X5*$W$3 )+(Z5*$Y$3)+(AB5*$AA$3)+(AD5*$AC$3))*0.01 I would appreciate any assistance here. Thanks Tanya |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you very very much, it worked wonderfully.
I am going to study this formula tomorrow, as I haven't come across MOD or the other variation. I want you to know I really appreciate your patience in working this out for me. Kind Regards Tanya "Toppers" wrote: Try this which takes alternative columns: columns with "-" are treated as zero (as per your IF statement). =SUMPRODUCT(--(MOD(COLUMN($O$3:$AC$3),2)=1),($O$3:$AC$3),--(MOD(COLUMN(P5:AD5),2)=0),(P5:AD5))*0.01 If cells Q5,S5 etc are blank or zero, the first formula would work. In your original posting your cells were in row 5, but your second said row 6, with answer in AE5: very confusing! Why did you say the first one didn't work? "Tanya" wrote: Hi, I hope someone may be able to help me. I have the following formula which works fine, however the values in P5, R5, T5, V5, X5, Z5, AB5 AND AD5 may contain text which is messing up my formula. My reasoning behind needing to do this is calculating student marks over several tasks, with different % weights and until the assessment task has been set I have an IF formula based on the false being "-". I have tried the =IF(ISNUMBER(P5),(P5*$O$3),0,IF(ISNUMBER(R5),(R5*$ Q$3),0,.... and getting all kinds of error messages, in cluding too many augments. =((P5*$O$3)+(R5*$Q$3)+(T5*$S$3)+(V5*$U$3)+(X5*$W$3 )+(Z5*$Y$3)+(AB5*$AA$3)+(AD5*$AC$3))*0.01 I would appreciate any assistance here. Thanks Tanya |
#10
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Enjoy the rest of the weekend and thank you for the feedback.
"Tanya" wrote: Thank you very very much, it worked wonderfully. I am going to study this formula tomorrow, as I haven't come across MOD or the other variation. I want you to know I really appreciate your patience in working this out for me. Kind Regards Tanya "Toppers" wrote: Try this which takes alternative columns: columns with "-" are treated as zero (as per your IF statement). =SUMPRODUCT(--(MOD(COLUMN($O$3:$AC$3),2)=1),($O$3:$AC$3),--(MOD(COLUMN(P5:AD5),2)=0),(P5:AD5))*0.01 If cells Q5,S5 etc are blank or zero, the first formula would work. In your original posting your cells were in row 5, but your second said row 6, with answer in AE5: very confusing! Why did you say the first one didn't work? "Tanya" wrote: Hi, I hope someone may be able to help me. I have the following formula which works fine, however the values in P5, R5, T5, V5, X5, Z5, AB5 AND AD5 may contain text which is messing up my formula. My reasoning behind needing to do this is calculating student marks over several tasks, with different % weights and until the assessment task has been set I have an IF formula based on the false being "-". I have tried the =IF(ISNUMBER(P5),(P5*$O$3),0,IF(ISNUMBER(R5),(R5*$ Q$3),0,.... and getting all kinds of error messages, in cluding too many augments. =((P5*$O$3)+(R5*$Q$3)+(T5*$S$3)+(V5*$U$3)+(X5*$W$3 )+(Z5*$Y$3)+(AB5*$AA$3)+(AD5*$AC$3))*0.01 I would appreciate any assistance here. Thanks Tanya |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF STATEMENT PROBLEM | Excel Worksheet Functions | |||
IF Statement problem | New Users to Excel | |||
If Statement Problem | Excel Worksheet Functions | |||
IF statement problem | Excel Worksheet Functions | |||
I have an "IF"Statement problem...please help!! | Excel Worksheet Functions |