If column 1 is, then count column 2

markdoughty

Board Regular
Joined
Nov 4, 2010
Messages
226
Trying to get the below to look at column E on sheet1, to check the cell is "Monday" and if so to count the value in sheet1 column L, summarizing the total on sheet2 column D.

Any help appreciated, many thanks

Mark...


=IF('Sheet1'!E:E,"Monday",Sheet2!D:D,'Sheet1'!L:L)
 

Some videos you may like

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

nuked

Well-known Member
Joined
Mar 20, 2013
Messages
883
What does "count the value in sheet1 column L, summarizing the total on sheet2 column D." mean?

Have you tried =COUNTIF?
 

Raga

New Member
Joined
May 8, 2012
Messages
8
Give a try with this formula..

=SUMPRODUCT((E:E="Monday")*(L:L))
 

markdoughty

Board Regular
Joined
Nov 4, 2010
Messages
226
Well we were both thinking on the same lines.
Ive managed to make this work for the above....

=SUMIF('Exported Data'!E:E,"Monday",'Exported Data'!N:N)

But to complicate it one more stage, I now need to add N:N*Q:Q as as last calculation , any suggestions?
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,123,318
Messages
5,600,925
Members
414,416
Latest member
Nobu

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