Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Conditional Formulas--Suppressing error values?

I've constructed a conditional formula to do one of two alternative
calculations, within a row, in the following standard form: "if A, then B,
else C." Here is my formula, if you're curious:



=IF(ISBLANK(F3),AVERAGE(E3:F3),(E3+F3))



But regardless of which calculation is used, I also want Excel to suppress
any zero or error values that might result. This is so I can properly
average all the calculated values at the bottom of a column.



Yes, in more straightforward conditional formulas, I've used the quotation
marks to create an empty text string in the "answer" cells. This one stumps
me, though.



It seems the form I'm looking for is: "if A, then B, else C-But also D, in
any event."



I appreciate any tips.



Arsenio


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Conditional Formulas--Suppressing error values?

Why would you want to average 2 cells *only* when one of them is blank ? ? ?

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Arsenio Oloroso" wrote in message
...
I've constructed a conditional formula to do one of two alternative
calculations, within a row, in the following standard form: "if A, then
B, else C." Here is my formula, if you're curious:



=IF(ISBLANK(F3),AVERAGE(E3:F3),(E3+F3))



But regardless of which calculation is used, I also want Excel to suppress
any zero or error values that might result. This is so I can properly
average all the calculated values at the bottom of a column.



Yes, in more straightforward conditional formulas, I've used the quotation
marks to create an empty text string in the "answer" cells. This one
stumps me, though.



It seems the form I'm looking for is: "if A, then B, else C-But also D,
in any event."



I appreciate any tips.



Arsenio



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Conditional Formulas--Suppressing error values?

I knew someone would ask that. Was hoping no one would.

So, OK...

This is a rather unusual application of a grading sheet for students. The
student gets two chances. If he/she scores within an appropriate range in
the first try, the score is averaged with the second try, which is blank.
Therefore, the averaged grade on the first try remains the same as the first
try.

But if a student fails to score within the appropriate range (gets a low
grade) in that first try, he/she gets a second chance.

In this case, the first try is worth .66 of that first-try score, and the
second try is worth .33. Upon entry of the second grade, the two weighted
grades are added up for the final grade.

Hey...this was my dean's idea! I'm just trying to figure out a way to
install it.

Arsenio

"RagDyer" wrote in message
...
Why would you want to average 2 cells *only* when one of them is blank ? ?
?

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Arsenio Oloroso" wrote in message
...
I've constructed a conditional formula to do one of two alternative
calculations, within a row, in the following standard form: "if A, then
B, else C." Here is my formula, if you're curious:



=IF(ISBLANK(F3),AVERAGE(E3:F3),(E3+F3))



But regardless of which calculation is used, I also want Excel to
suppress any zero or error values that might result. This is so I can
properly average all the calculated values at the bottom of a column.



Yes, in more straightforward conditional formulas, I've used the
quotation marks to create an empty text string in the "answer" cells.
This one stumps me, though.



It seems the form I'm looking for is: "if A, then B, else C-But also D,
in any event."



I appreciate any tips.



Arsenio





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Conditional Formulas--Suppressing error values?

But RD's point I think is that if you have two cells E3 and F3, F3 is blank
then AVERAGE(E3,F3) is the same result as E3, so the AVERAGE is redundant.
So you could easily say

=IF(ISBLANK(F3),E3,(E3+F3))

But furthermore, AVERAGE ignores blanks, so you don't need to test for it.

But following the second detail, I think you want

=IF(ISBLANK(F3),E3,E3*66%+F3*33%)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Arsenio Oloroso" wrote in message
...
I knew someone would ask that. Was hoping no one would.

So, OK...

This is a rather unusual application of a grading sheet for students. The
student gets two chances. If he/she scores within an appropriate range in
the first try, the score is averaged with the second try, which is blank.
Therefore, the averaged grade on the first try remains the same as the
first try.

But if a student fails to score within the appropriate range (gets a low
grade) in that first try, he/she gets a second chance.

In this case, the first try is worth .66 of that first-try score, and the
second try is worth .33. Upon entry of the second grade, the two weighted
grades are added up for the final grade.

Hey...this was my dean's idea! I'm just trying to figure out a way to
install it.

Arsenio

"RagDyer" wrote in message
...
Why would you want to average 2 cells *only* when one of them is blank ?
? ?

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Arsenio Oloroso" wrote in message
...
I've constructed a conditional formula to do one of two alternative
calculations, within a row, in the following standard form: "if A, then
B, else C." Here is my formula, if you're curious:



=IF(ISBLANK(F3),AVERAGE(E3:F3),(E3+F3))



But regardless of which calculation is used, I also want Excel to
suppress any zero or error values that might result. This is so I can
properly average all the calculated values at the bottom of a column.



Yes, in more straightforward conditional formulas, I've used the
quotation marks to create an empty text string in the "answer" cells.
This one stumps me, though.



It seems the form I'm looking for is: "if A, then B, else C-But also D,
in any event."



I appreciate any tips.



Arsenio







  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Conditional Formulas--Suppressing error values?

Thanks, Bob

I see your point about averaging. And as to your second point--weighting
the grades--I've taken care of that in two other columns with conditional
formulas. But my dilemma still remains.

At the bottom of the column where I need to do a running average of grades,
Excel shows zeros where a grade is not yet calculated for a given
assignment. I'm not able to suppress using quote marks because the
conditional formula =IF(ISBLANK(F3),E3,(E3+F3)) doesn't allow me also to
specify that any zero values should be displayed as blanks. Perhaps "piping"
the results into another conditional formula would do the trick, but I don't
know if Excel lets you do that.





"Bob Phillips" wrote in message
...
But RD's point I think is that if you have two cells E3 and F3, F3 is
blank then AVERAGE(E3,F3) is the same result as E3, so the AVERAGE is
redundant. So you could easily say

=IF(ISBLANK(F3),E3,(E3+F3))

But furthermore, AVERAGE ignores blanks, so you don't need to test for it.

But following the second detail, I think you want

=IF(ISBLANK(F3),E3,E3*66%+F3*33%)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Arsenio Oloroso" wrote in message
...
I knew someone would ask that. Was hoping no one would.

So, OK...

This is a rather unusual application of a grading sheet for students.
The student gets two chances. If he/she scores within an appropriate
range in the first try, the score is averaged with the second try, which
is blank. Therefore, the averaged grade on the first try remains the same
as the first try.

But if a student fails to score within the appropriate range (gets a low
grade) in that first try, he/she gets a second chance.

In this case, the first try is worth .66 of that first-try score, and the
second try is worth .33. Upon entry of the second grade, the two
weighted grades are added up for the final grade.

Hey...this was my dean's idea! I'm just trying to figure out a way to
install it.

Arsenio

"RagDyer" wrote in message
...
Why would you want to average 2 cells *only* when one of them is blank ?
? ?

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit
!
---------------------------------------------------------------------------
"Arsenio Oloroso" wrote in message
...
I've constructed a conditional formula to do one of two alternative
calculations, within a row, in the following standard form: "if A,
then B, else C." Here is my formula, if you're curious:



=IF(ISBLANK(F3),AVERAGE(E3:F3),(E3+F3))



But regardless of which calculation is used, I also want Excel to
suppress any zero or error values that might result. This is so I can
properly average all the calculated values at the bottom of a column.



Yes, in more straightforward conditional formulas, I've used the
quotation marks to create an empty text string in the "answer" cells.
This one stumps me, though.



It seems the form I'm looking for is: "if A, then B, else C-But also
D, in any event."



I appreciate any tips.



Arsenio











  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Conditional Formulas--Suppressing error values?

How about

=IF(OR(ISBLANK(F3),F3=0),E3,E3+F3)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Arsenio Oloroso" wrote in message
...
Thanks, Bob

I see your point about averaging. And as to your second point--weighting
the grades--I've taken care of that in two other columns with conditional
formulas. But my dilemma still remains.

At the bottom of the column where I need to do a running average of
grades, Excel shows zeros where a grade is not yet calculated for a given
assignment. I'm not able to suppress using quote marks because the
conditional formula =IF(ISBLANK(F3),E3,(E3+F3)) doesn't allow me also to
specify that any zero values should be displayed as blanks. Perhaps
"piping" the results into another conditional formula would do the trick,
but I don't know if Excel lets you do that.





"Bob Phillips" wrote in message
...
But RD's point I think is that if you have two cells E3 and F3, F3 is
blank then AVERAGE(E3,F3) is the same result as E3, so the AVERAGE is
redundant. So you could easily say

=IF(ISBLANK(F3),E3,(E3+F3))

But furthermore, AVERAGE ignores blanks, so you don't need to test for
it.

But following the second detail, I think you want

=IF(ISBLANK(F3),E3,E3*66%+F3*33%)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Arsenio Oloroso" wrote in message
...
I knew someone would ask that. Was hoping no one would.

So, OK...

This is a rather unusual application of a grading sheet for students.
The student gets two chances. If he/she scores within an appropriate
range in the first try, the score is averaged with the second try, which
is blank. Therefore, the averaged grade on the first try remains the
same as the first try.

But if a student fails to score within the appropriate range (gets a low
grade) in that first try, he/she gets a second chance.

In this case, the first try is worth .66 of that first-try score, and
the second try is worth .33. Upon entry of the second grade, the two
weighted grades are added up for the final grade.

Hey...this was my dean's idea! I'm just trying to figure out a way to
install it.

Arsenio

"RagDyer" wrote in message
...
Why would you want to average 2 cells *only* when one of them is blank
? ? ?

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit
!
---------------------------------------------------------------------------
"Arsenio Oloroso" wrote in message
...
I've constructed a conditional formula to do one of two alternative
calculations, within a row, in the following standard form: "if A,
then B, else C." Here is my formula, if you're curious:



=IF(ISBLANK(F3),AVERAGE(E3:F3),(E3+F3))



But regardless of which calculation is used, I also want Excel to
suppress any zero or error values that might result. This is so I can
properly average all the calculated values at the bottom of a column.



Yes, in more straightforward conditional formulas, I've used the
quotation marks to create an empty text string in the "answer" cells.
This one stumps me, though.



It seems the form I'm looking for is: "if A, then B, else C-But also
D, in any event."



I appreciate any tips.



Arsenio











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
Conditional use of formulas Nate MMI Excel Worksheet Functions 2 September 27th 06 11:00 PM
Using MIN in Conditional Format for cells with Formulas R Fourt Excel Discussion (Misc queries) 2 August 31st 06 04:44 PM
clear all except formulas, conditional formatting and validations BitsofColour Excel Worksheet Functions 0 December 20th 05 02:23 PM
conditional formulas deaundra Excel Worksheet Functions 2 April 15th 05 12:08 AM
Help Using Formulas in Conditional Formatting Still Learning Excel Discussion (Misc queries) 2 January 28th 05 04:55 PM


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