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 problems

My problem is I am trying to create a formula that would calculate some
figures.

FORMULA: -

IF D15 is equal to D17:D20 display result, IF not display result
D17:D20.

all these results would be display in cell D16.

many thanks

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

i am not sure whether u r looking this formula:
=IF(D15=SUM(D17:D20),D15,SUM(D17:D20))



" wrote:

My problem is I am trying to create a formula that would calculate some
figures.

FORMULA: -

IF D15 is equal to D17:D20 display result, IF not display result
D17:D20.

all these results would be display in cell D16.

many thanks


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

thanks it not what i am looking for it seems this formula added all the
data in the cell. What i am looking for if D15 value for example 1
equals to range D17, D18, D19, D20 value are all 1 then display value 1
in cell D16. If not display min value of D17:D20.

many thanks for your help anyway

Muhammed Rafeek M wrote:

i am not sure whether u r looking this formula:
=IF(D15=SUM(D17:D20),D15,SUM(D17:D20))



" wrote:

My problem is I am trying to create a formula that would calculate some
figures.

FORMULA: -

IF D15 is equal to D17:D20 display result, IF not display result
D17:D20.

all these results would be display in cell D16.

many thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,886
Default Formula problems

Hi

In cell D16 try
=IF(COUNT(D17:D20)=4,D15,MIN(D17:D20))

--
Regards

Roger Govier


wrote in message
ps.com...
thanks it not what i am looking for it seems this formula added all
the
data in the cell. What i am looking for if D15 value for example 1
equals to range D17, D18, D19, D20 value are all 1 then display value
1
in cell D16. If not display min value of D17:D20.

many thanks for your help anyway

Muhammed Rafeek M wrote:

i am not sure whether u r looking this formula:
=IF(D15=SUM(D17:D20),D15,SUM(D17:D20))



" wrote:

My problem is I am trying to create a formula that would calculate
some
figures.

FORMULA: -

IF D15 is equal to D17:D20 display result, IF not display result
D17:D20.

all these results would be display in cell D16.

many thanks





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,886
Default Formula problems

Sorry

Meant to say
=IF(COUNTIF(D17:D20,D15)=4,D15,MIN(D17:D20))

--
Regards

Roger Govier


"Roger Govier" wrote in message
...
Hi

In cell D16 try
=IF(COUNT(D17:D20)=4,D15,MIN(D17:D20))

--
Regards

Roger Govier


wrote in message
ps.com...
thanks it not what i am looking for it seems this formula added all
the
data in the cell. What i am looking for if D15 value for example 1
equals to range D17, D18, D19, D20 value are all 1 then display value
1
in cell D16. If not display min value of D17:D20.

many thanks for your help anyway

Muhammed Rafeek M wrote:

i am not sure whether u r looking this formula:
=IF(D15=SUM(D17:D20),D15,SUM(D17:D20))



" wrote:

My problem is I am trying to create a formula that would calculate
some
figures.

FORMULA: -

IF D15 is equal to D17:D20 display result, IF not display result
D17:D20.

all these results would be display in cell D16.

many thanks









  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Formula problems

Count would return 4 if there are numbers in all 4 cells. I think you meant

=IF(COUNTIF(D17:D20,D15)=4,D15,MIN(D17:D20))

--
Regards,
Tom Ogilvy


"Roger Govier" wrote:

Hi

In cell D16 try
=IF(COUNT(D17:D20)=4,D15,MIN(D17:D20))

--
Regards

Roger Govier


wrote in message
ps.com...
thanks it not what i am looking for it seems this formula added all
the
data in the cell. What i am looking for if D15 value for example 1
equals to range D17, D18, D19, D20 value are all 1 then display value
1
in cell D16. If not display min value of D17:D20.

many thanks for your help anyway

Muhammed Rafeek M wrote:

i am not sure whether u r looking this formula:
=IF(D15=SUM(D17:D20),D15,SUM(D17:D20))



" wrote:

My problem is I am trying to create a formula that would calculate
some
figures.

FORMULA: -

IF D15 is equal to D17:D20 display result, IF not display result
D17:D20.

all these results would be display in cell D16.

many thanks






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
Formula Problems Ayo Excel Discussion (Misc queries) 2 February 10th 10 01:24 AM
aauugghhh...#div/o problems & various average formula problems acbel40 Excel Worksheet Functions 5 October 19th 09 05:00 PM
formula problems webman6393 New Users to Excel 1 September 9th 08 02:43 PM
formula problems Cyndi Excel Discussion (Misc queries) 1 November 9th 07 12:39 AM
Formula Problems Mike Excel Discussion (Misc queries) 3 September 14th 06 05:17 PM


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