Combining if with a criteria, sumif, indirect

colinheslop1984

Board Regular
Joined
Oct 14, 2016
Messages
129
Office Version
  1. 2016
=SUMIFS(INDIRECT("'"&JP$2&"'!$E$10:$E$51"),INDIRECT("'"&JP$2&"'!$B$10:$B$51"),$A13)*24

I want to add an IF function to the above but can't quite get it right

I want to do something like the below...

IF(indirect("'"&c10:c51=H,"",sumifs(INDIRECT("'"&JP$2&"'!$E$10:$E$51"),INDIRECT("'"&JP$2&"'!$B$10:$B$51"),$A13)*24

BUT I also need to add in a criteria to the IF part highlighted in bold. The criteria reference will need to be

INDIRECT("'"&JP$2&"'!$B$10:$B$51"),$A13)

Hope that makes sense?
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
It might make sense if you tell us what you want to do in real words instead of a formula that you might think is close to what you need.

The bit in bold might mean something to you, but it it totally meaningless to the rest of us.
 
Upvote 0

Forum statistics

Threads
1,215,416
Messages
6,124,774
Members
449,187
Latest member
hermansoa

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