Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default Difficulty displaying text

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Difficulty displaying text

.. 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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default Difficulty displaying text

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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Difficulty displaying text

welcome, Tanya. Glad it helped.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Tanya" wrote in message
...
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
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
Difficulty placing active email / hyperlinks with normal text in c RPD Excel Discussion (Misc queries) 2 March 21st 07 07:05 PM
Text not displaying completely Valeria Excel Discussion (Misc queries) 5 January 12th 07 04:54 PM
Why is Excel displaying the formula as text Dave F Excel Worksheet Functions 0 November 29th 06 02:33 PM
HELP: text keeps on displaying ############## Dhruba Bandopadhyay Excel Worksheet Functions 2 March 27th 06 01:10 PM
Displaying text in vertical Hem Excel Discussion (Misc queries) 3 November 25th 05 02:42 PM


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