Nested If, countif, sumif, etc

hanktate1

New Member
Joined
Jan 15, 2020
Messages
1
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Long story short having problems figuring out how to do this.

Does this look wrong or not possible?

=if(Log!D2:D1000=B2,countif(Log!Z2:Z1000,"Over"),+0)

In words
If a cell on sheet Log in the range D2-D1000 is the same as cell B2 on the current page, count the cells in column Z on the Log sheet if they equal over.

Then basically if there are no cells in the D2-D1000 range on the other page that equal B2 I want it to do nothing.

For what it is worth the cells in D2-D1000 and the B2 are text not numbers.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi & welcome to MrExcel.
How about
=CountIfs(Log!D2:D1000,B2,Log!Z2:Z1000,"Over")
 
Upvote 0

Forum statistics

Threads
1,223,887
Messages
6,175,199
Members
452,617
Latest member
Narendra Babu D

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