anna82marie

New Member
Joined
Jan 22, 2014
Messages
15
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi guys,

I'm having issues getting my head around a formula and wondered if you could help me before I throw my PC out of a window! I do not like excel 2003 at all!
I'm working across 2 spreadsheets, for arguments sake we'll call them S1 and S2. The result i need from a formula is as follows:

I need the sum of S1 column L divided by S2 B6 IF the following criteria are met;
S1 column B = S2 A6 and S1 column E >=S2 B1 and S1 column E <=S2 B2

I'm fairly sure that this shouldn't be as complicated as I'm trying to make it. Please help!! :eek:
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
40,380
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Assuming the formula is in S2:
=SUMPRODUCT((S1!$B$1:$B$1000=$A$6)*(S1!$E$1:$E$1000>=$B$1)*(S1!$E$1:$E$1000<=$B$2),S1!$L$1:$L$1000)/$B$6
 
Upvote 0

Forum statistics

Threads
1,191,175
Messages
5,985,111
Members
439,940
Latest member
Kyrad42

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
Top