In Need of array formula help

Pat1009

Active Member
Joined
Jun 4, 2015
Messages
264
Hello Board,
I have this formula....
Code:
=SUM(COUNTIFS('Assets Open'!$N:$N,">="&U3-6,'Assets Open'!$N:$N,"<="&U3,'Assets Open'!$K:$K,{"john*smith",""}))

It counts in the sheet name Assets Open in column N and cell U3 >= -6 and cell U3 <= it counts all the john smith and any blank cells.
the blank cells need to have something in the cell to the left.
in other words, it will find all the john smith with the criteria above AND all the cells with nothing in it, as long as it has something in the cell to the left of the blank cell.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
It can be 4 different things.....
DESKTOP SUPPORT - US - INVENTORY MGMT - HOUSTON

<tbody>
</tbody><colgroup><col></colgroup>
DESKTOP SUPPORT - US - INVENTORY MGMT - REFRESH - HOU

DESKTOP SUPPORT - US - INVENTORY MGMT - REFRESH - SR

<tbody>
</tbody><colgroup><col></colgroup>

DESKTOP SUPPORT - US - INVENTORY MGMT - SAN RAMON

<tbody>
</tbody><colgroup><col></colgroup>

<tbody>
</tbody><colgroup><col></colgroup>


<tbody>
</tbody>

<tbody>
</tbody><colgroup><col></colgroup>


<tbody>
</tbody><colgroup><col></colgroup>

<tbody>
</tbody><colgroup><col></colgroup>


<tbody>
</tbody><colgroup><col></colgroup>
 
Upvote 0
Do these occur in column J of Assets Open, that is, in the column which is on the left of column K that is tested for blank/john*smith?
 
Upvote 0
yes, But I just noticed that J could also be blank. Maybe we should use Column F
In column F, in that column is....
assigned, pending or resolved
 
Last edited:
Upvote 0
yes, But I just noticed that J could also be blank. Maybe we should use Column F
In column F, in that column is....
assigned, pending or resolved

Is this what we are after?

=SUM(COUNTIFS('Assets Open'!$F:$F,{"assigned";"pending";"resolved"},'Assets Open'!$N:$N,">="&U3-6,'Assets Open'!$N:$N,"<="&U3,'Assets Open'!$K:$K,{"john*smith",""}))
 
Upvote 0
Sorry, that did not work. I worked on this for several hours last night, nothing worked. So I decided to try a simpler approach.
I will now use 2 separate formulas. One in cell U50 and the other in cell V50.

This one in U50 works....
Code:
=COUNTIFS('Assets Open'!$N:$N,">="&U3 -6,'Assets Open'!$N:$N,"<="&U3 +3,'Assets Open'!$K:$K,"")
This one in V50 does not, it has the wrong total in the cell....
Code:
=COUNTIFS('Assets Open'!$N:$N,">="&V3 -6,'Assets Open'!$N:$N,"<="&V3 +3,'Assets Open'!$K:$K,"")
 
Upvote 0
trying to get mr Excel HTML to work with Excel 2016

Post directly here first:

5 rows from K

Immediately beneath that post

5 rows from K

Following these two, post the value of U3 and V3.

Post also the expected value for the posted sample.
 
Upvote 0

Forum statistics

Threads
1,215,372
Messages
6,124,537
Members
449,169
Latest member
mm424

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