ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formula problems (https://www.excelbanter.com/excel-programming/373223-formula-problems.html)

[email protected]

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


Muhammed Rafeek M

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



[email protected]

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




Roger Govier

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






Roger Govier

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








Tom Ogilvy

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








All times are GMT +1. The time now is 08:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com