PC Review


Reply
Thread Tools Rate Thread

Difficulty displaying text

 
 
=?Utf-8?B?VGFueWE=?=
Guest
Posts: n/a
 
      3rd Jul 2007
I have this formula which works wonderfully: [formatted as a percentage]

=SUMPRODUCT(--(MOD(COLUMN($O$3:$AC$3),2)=1),($O$3:$AC$3),--(MOD(COLUMN(P20:AD20),2)=0),(P20:AD20))*0.01

however, I now need to average the column this formula is in, which is fine
and ordinarily this wouldn't be a problem, however I wish the cell this
formula is placed to show as "" [text] if there are no values in P20:AD20.
My need to do this is that there could more than likely be rows where no
entries have been made, thereby showing 0% hence by changing the outcome to
text when no data has been entered in relative cells will allow me to get an
accurate average.

I have considered ISNUMBER and ISBLANK but as a loss due to the complexity
of the formula itself.

Any help would be appreciated, I cannot take credit for the above formula,
'Toppers' from this support group came up with it which I am extremely
grateful for.

Thanks
Tanya
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      3rd Jul 2007
> .. I wish the cell this formula is placed to show as "" [text]
> if there are no values in P20:AD20.


If P20:AD20 are expected to house only numbers,
think you could try a front IF, something like this:
=IF(COUNT(P20:AD20)=0,"",<your formula>)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Tanya" wrote:
> I have this formula which works wonderfully: [formatted as a percentage]
>
> =SUMPRODUCT(--(MOD(COLUMN($O$3:$AC$3),2)=1),($O$3:$AC$3),--(MOD(COLUMN(P20:AD20),2)=0),(P20:AD20))*0.01
>
> however, I now need to average the column this formula is in, which is fine
> and ordinarily this wouldn't be a problem, however I wish the cell this
> formula is placed to show as "" [text] if there are no values in P20:AD20.
> My need to do this is that there could more than likely be rows where no
> entries have been made, thereby showing 0% hence by changing the outcome to
> text when no data has been entered in relative cells will allow me to get an
> accurate average.
>
> I have considered ISNUMBER and ISBLANK but as a loss due to the complexity
> of the formula itself.
>
> Any help would be appreciated, I cannot take credit for the above formula,
> 'Toppers' from this support group came up with it which I am extremely
> grateful for.
>
> Thanks
> Tanya

 
Reply With Quote
 
=?Utf-8?B?VGFueWE=?=
Guest
Posts: n/a
 
      3rd Jul 2007
Thank you Max, I appreciate your help.
You saved me hours of work. I had pondering heaps of different IF statements
and you got it straight away.
Regards
Tanya

"Max" wrote:

> > .. I wish the cell this formula is placed to show as "" [text]
> > if there are no values in P20:AD20.

>
> If P20:AD20 are expected to house only numbers,
> think you could try a front IF, something like this:
> =IF(COUNT(P20:AD20)=0,"",<your formula>)
> --
> Max
> Singapore
> http://savefile.com/projects/236895
> xdemechanik
> ---
> "Tanya" wrote:
> > I have this formula which works wonderfully: [formatted as a percentage]
> >
> > =SUMPRODUCT(--(MOD(COLUMN($O$3:$AC$3),2)=1),($O$3:$AC$3),--(MOD(COLUMN(P20:AD20),2)=0),(P20:AD20))*0.01
> >
> > however, I now need to average the column this formula is in, which is fine
> > and ordinarily this wouldn't be a problem, however I wish the cell this
> > formula is placed to show as "" [text] if there are no values in P20:AD20.
> > My need to do this is that there could more than likely be rows where no
> > entries have been made, thereby showing 0% hence by changing the outcome to
> > text when no data has been entered in relative cells will allow me to get an
> > accurate average.
> >
> > I have considered ISNUMBER and ISBLANK but as a loss due to the complexity
> > of the formula itself.
> >
> > Any help would be appreciated, I cannot take credit for the above formula,
> > 'Toppers' from this support group came up with it which I am extremely
> > grateful for.
> >
> > Thanks
> > Tanya

 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      3rd Jul 2007
welcome, Tanya. Glad it helped.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Tanya" <(E-Mail Removed)> wrote in message
news:E0FBA4B2-4AA2-4152-81BC-(E-Mail Removed)...
> Thank you Max, I appreciate your help.
> You saved me hours of work. I had pondering heaps of different IF
> statements
> and you got it straight away.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in displaying a text box in access form in controltip text Jack Microsoft Access Form Coding 1 20th Aug 2009 09:42 PM
Difficulty placing active email / hyperlinks with normal text in c =?Utf-8?B?UlBE?= Microsoft Excel Misc 2 21st Mar 2007 07:05 PM
Difficulty Displaying Number Format In Tables quirkyjoe Microsoft Access Getting Started 1 6th Mar 2007 03:42 AM
reading text difficulty T5 Windows XP General 1 11th Nov 2006 10:28 AM
Varchar text not displaying correctly in form or report text boxes =?Utf-8?B?Q29va2ll?= Microsoft Access ADP SQL Server 0 13th Oct 2004 10:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:28 AM.