Formula help

Stef9910

Board Regular
Joined
Nov 2, 2022
Messages
72
Office Version
  1. 2010
Platform
  1. Windows
Hello wonderful people of this forum,

I am working on my last formula for my workbook ( well i hope its my last formula),

Without creating a minisheet is anyone able to see where I am going wrong,

The formula i am working on is
=IF($AD$400="", COUNTIFS($D$15:$D$300, AG13, $H$15:$H$300, "Scheduled"), IF($AD$400<>"", COUNTIFS($AG$15:$AG$300, $BC$3, $D$15:$D$300, AG13, $H$15:$H$300, "Scheduled", $D$15:$D$300, $AD$400), COUNTIFS($D$15:$D$300, AG13, $H$15:$H$300, "Scheduled")))

I would like the cell this formula is in to display the total if there is no selection in AD400.

d15:d300 contains the regions.
h15:h300 contains the type (scheduled or unscheduled)
ag15:ag300 contains conditional formatted cells with either a 1 or 2 in it.
bc3 contains the 1
ag13 refers to the date

i could do a minisheet, but the workbook is massive and would take awhile to redact sensitive information.

If anyone is able to see where or what i need to change in the above formula to make the total display when there is no selection in AD400, that would be amazing.

Thankyou for time and any help will be greatly appreciated.

Thanks Stefan
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,215,128
Messages
6,123,204
Members
449,090
Latest member
bes000

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