Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Formula equation

My problem is I got this formula, which achieve the results I want
apart from one solution. The equation is: -


=IF(OR(D15="",COUNTBLANK(D17:D20)0),"",IF(COUNTIF (D17:D20,D15)=4,D15,MIN(D*17:D20)))



The solution that I am looking for if any number is selected out of
D17:D20 it should display the min value in D15, but the equation you
must select
all 4 cells from D17:D20 for the min value to display in D15.


Anyone there that can help me?


many thanks


ims

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default Formula equation

You have a circular reference. you can not put the reference to d15 when the
formula is in d15. thry this in D15

=IF(OR(COUNTBLANK(D17:D20)0),"",MIN(D17:D20))

It returns blank unless there are numbers in each of the cells D17:D20 and
the minimum of the range if there are 4 numbers.

Regards
Peter


" wrote:

My problem is I got this formula, which achieve the results I want
apart from one solution. The equation is: -


=IF(OR(D15="",COUNTBLANK(D17:D20)0),"",IF(COUNTIF (D17:D20,D15)=4,D15,MIN(DÂ*17:D20)))



The solution that I am looking for if any number is selected out of
D17:D20 it should display the min value in D15, but the equation you
must select
all 4 cells from D17:D20 for the min value to display in D15.


Anyone there that can help me?


many thanks


ims


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Formula equation

Thanks Peter for that response, but i am looking for the value to
return to D15 if there were 1 number in cell D17:D20.

thanks

Imran


PeterAtherton wrote:
You have a circular reference. you can not put the reference to d15 when the
formula is in d15. thry this in D15

=IF(OR(COUNTBLANK(D17:D20)0),"",MIN(D17:D20))

It returns blank unless there are numbers in each of the cells D17:D20 and
the minimum of the range if there are 4 numbers.

Regards
Peter


" wrote:

My problem is I got this formula, which achieve the results I want
apart from one solution. The equation is: -


=IF(OR(D15="",COUNTBLANK(D17:D20)0),"",IF(COUNTIF (D17:D20,D15)=4,D15,MIN(D*17:D20)))



The solution that I am looking for if any number is selected out of
D17:D20 it should display the min value in D15, but the equation you
must select
all 4 cells from D17:D20 for the min value to display in D15.


Anyone there that can help me?


many thanks


ims



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default Formula equation

Imran

Try D15 =IF(COUNT(D17:D20)=0,"",MIN(D17:D20))
- counting the enties rather than the blanks

regards
Peter

" wrote:

Thanks Peter for that response, but i am looking for the value to
return to D15 if there were 1 number in cell D17:D20.

thanks

Imran


PeterAtherton wrote:
You have a circular reference. you can not put the reference to d15 when the
formula is in d15. thry this in D15

=IF(OR(COUNTBLANK(D17:D20)0),"",MIN(D17:D20))

It returns blank unless there are numbers in each of the cells D17:D20 and
the minimum of the range if there are 4 numbers.

Regards
Peter


" wrote:

My problem is I got this formula, which achieve the results I want
apart from one solution. The equation is: -


=IF(OR(D15="",COUNTBLANK(D17:D20)0),"",IF(COUNTIF (D17:D20,D15)=4,D15,MIN(DÂ*17:D20)))



The solution that I am looking for if any number is selected out of
D17:D20 it should display the min value in D15, but the equation you
must select
all 4 cells from D17:D20 for the min value to display in D15.


Anyone there that can help me?


many thanks


ims




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Formula equation

thanks peter it's work apart from if D15 has 1 D16 display 0 how would
i remove this 0

many thanks

Imran

PeterAtherton wrote:
Imran

Try D15 =IF(COUNT(D17:D20)=0,"",MIN(D17:D20))
- counting the enties rather than the blanks

regards
Peter

" wrote:

Thanks Peter for that response, but i am looking for the value to
return to D15 if there were 1 number in cell D17:D20.

thanks

Imran


PeterAtherton wrote:
You have a circular reference. you can not put the reference to d15 when the
formula is in d15. thry this in D15

=IF(OR(COUNTBLANK(D17:D20)0),"",MIN(D17:D20))

It returns blank unless there are numbers in each of the cells D17:D20 and
the minimum of the range if there are 4 numbers.

Regards
Peter


" wrote:

My problem is I got this formula, which achieve the results I want
apart from one solution. The equation is: -


=IF(OR(D15="",COUNTBLANK(D17:D20)0),"",IF(COUNTIF (D17:D20,D15)=4,D15,MIN(D*17:D20)))



The solution that I am looking for if any number is selected out of
D17:D20 it should display the min value in D15, but the equation you
must select
all 4 cells from D17:D20 for the min value to display in D15.


Anyone there that can help me?


many thanks


ims







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default Formula equation

Imran

You can choose Tools, Options, View tab and uncheck the the show zeros
checkbox.
This means that although not showing a zero fills that cell and this could
affect an average calc including that cell.

I'm not sure what you have in D16 that causes it to display zero but if you
want the cell to have nothing use something like D16 =if(d15=0,"",something
else here)

For instance, if you wanted D15 to display a zero instead of a blank the
formula would be D15 =IF(COUNT(D17:D20)=0,0,MIN(D17:D20)) but I think you new
that already.

Regards
Peter

" wrote:

thanks peter it's work apart from if D15 has 1 D16 display 0 how would
i remove this 0

many thanks

Imran

PeterAtherton wrote:
Imran

Try D15 =IF(COUNT(D17:D20)=0,"",MIN(D17:D20))
- counting the enties rather than the blanks

regards
Peter

" wrote:

Thanks Peter for that response, but i am looking for the value to
return to D15 if there were 1 number in cell D17:D20.

thanks

Imran


PeterAtherton wrote:
You have a circular reference. you can not put the reference to d15 when the
formula is in d15. thry this in D15

=IF(OR(COUNTBLANK(D17:D20)0),"",MIN(D17:D20))

It returns blank unless there are numbers in each of the cells D17:D20 and
the minimum of the range if there are 4 numbers.

Regards
Peter


" wrote:

My problem is I got this formula, which achieve the results I want
apart from one solution. The equation is: -


=IF(OR(D15="",COUNTBLANK(D17:D20)0),"",IF(COUNTIF (D17:D20,D15)=4,D15,MIN(DÂ*17:D20)))



The solution that I am looking for if any number is selected out of
D17:D20 it should display the min value in D15, but the equation you
must select
all 4 cells from D17:D20 for the min value to display in D15.


Anyone there that can help me?


many thanks


ims






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Formula equation

thanks Peter, I wouldn't be using D15 within the formula because it's
far too complicated.
PeterAtherton wrote:
Imran

You can choose Tools, Options, View tab and uncheck the the show zeros
checkbox.
This means that although not showing a zero fills that cell and this could
affect an average calc including that cell.

I'm not sure what you have in D16 that causes it to display zero but if you
want the cell to have nothing use something like D16 =if(d15=0,"",something
else here)

For instance, if you wanted D15 to display a zero instead of a blank the
formula would be D15 =IF(COUNT(D17:D20)=0,0,MIN(D17:D20)) but I think you new
that already.

Regards
Peter

" wrote:

thanks peter it's work apart from if D15 has 1 D16 display 0 how would
i remove this 0

many thanks

Imran

PeterAtherton wrote:
Imran

Try D15 =IF(COUNT(D17:D20)=0,"",MIN(D17:D20))
- counting the enties rather than the blanks

regards
Peter

" wrote:

Thanks Peter for that response, but i am looking for the value to
return to D15 if there were 1 number in cell D17:D20.

thanks

Imran


PeterAtherton wrote:
You have a circular reference. you can not put the reference to d15 when the
formula is in d15. thry this in D15

=IF(OR(COUNTBLANK(D17:D20)0),"",MIN(D17:D20))

It returns blank unless there are numbers in each of the cells D17:D20 and
the minimum of the range if there are 4 numbers.

Regards
Peter


" wrote:

My problem is I got this formula, which achieve the results I want
apart from one solution. The equation is: -


=IF(OR(D15="",COUNTBLANK(D17:D20)0),"",IF(COUNTIF (D17:D20,D15)=4,D15,MIN(D*17:D20)))



The solution that I am looking for if any number is selected out of
D17:D20 it should display the min value in D15, but the equation you
must select
all 4 cells from D17:D20 for the min value to display in D15.


Anyone there that can help me?


many thanks


ims







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
How do I create a formula for this equation sc Excel Discussion (Misc queries) 2 July 10th 08 04:44 AM
Complex formula/equation Shaun H. in the United States[_2_] Excel Worksheet Functions 2 April 18th 08 02:04 AM
Formula/Equation Brook Excel Worksheet Functions 1 February 6th 06 04:02 PM
Equation Editor- problem when editing an equation Gaby L. Excel Discussion (Misc queries) 0 September 27th 05 09:24 PM
Equation for PMT formula Dave C. in Hudson Valley, NY Excel Worksheet Functions 1 November 30th 04 02:48 AM


All times are GMT +1. The time now is 09:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"