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)
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
What does "count the value in sheet1 column L, summarizing the total on sheet2 column D." mean?

Have you tried =COUNTIF?
 
Upvote 0
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:
Upvote 0

Forum statistics

Threads
1,214,589
Messages
6,120,416
Members
448,960
Latest member
AKSMITH

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