Formula problem

Helen

Board Regular
Joined
Feb 19, 2002
Messages
103
I have an array formula which doesn't seem to work, and I think it might be because I am trying to include the AND function in it as I am trying to look up 3 different things.

{=SUM(IF(FORD!$A$90:$A$141='SUMMARY-with changes'!A8;IF(FORD!$E$90:$E$141=AND($D$6;$E$6;$F$6);FORD!$J$90:$J$141;0);0))}

Is there something wrong with my formula?

Helen
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hello,

I have 4 years 1999-2002. I want to say if the project decsription = a cell, and if a range of dates (1999-2001) = cell range, then sum the amounts.

I just thought that you must be able to add the AND function to sum what I require?
 
Upvote 0
On 2002-03-11 10:12, Helen wrote:
Hello,

I have 4 years 1999-2002. I want to say if the project decsription = a cell, and if a range of dates (1999-2001) = cell range, then sum the amounts.

I just thought that you must be able to add the AND function to sum what I require?

Helen,

A few approaches are possible to compute a multiconditional sum, one being formula-based:

An example would be:


=SUMPRODUCT((A2:A10=E1)*(B2:B10>=E2)*(B2:B10<=E3),C2:C10)

This "non-array" formula sums C-cells whose corresponding A-cells meet the condition in E1 and B-cells which are between E2 and E3 inclusive (such as dates or just years).

Aladin
 
Upvote 0

Forum statistics

Threads
1,213,554
Messages
6,114,280
Members
448,562
Latest member
Flashbond

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top