Insert additional IF function

Jon Johny

Board Regular
Joined
Sep 15, 2008
Messages
162
I want to insert an additonal IF statement into the formula below.
i.e.) League=B15 - (League is the name of my named range)

I want it to work like an IF(AND

..just need to make sure I insert in the right spot.

{=SUM(IF(FREQUENCY(IF(Teams=B16,IF(Divisions<>"",MATCH(Divisions,Divisions,0))),ROW(Divisions)-ROW('Main Page'!$I$7)+1),1))}
 

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
Try...
Rich (BB code):
=SUM(IF(FREQUENCY(
    IF(Teams=B16,
    IF(League=B15,
    IF(Divisions<>"",MATCH(Divisions,Divisions,0)))),
      ROW(Divisions)-ROW('Main Page'!$I$7)+1),1))
 

Watch MrExcel Video

Forum statistics

Threads
1,122,539
Messages
5,596,754
Members
414,097
Latest member
FaeFen

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