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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,203
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,126,906
Messages
5,621,583
Members
415,846
Latest member
nigeywigey

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