Transformation of IF formula to embed another formula

virtuosok

Board Regular
Joined
Sep 2, 2020
Messages
209
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have to transform this formula
Excel Formula:
=IF(ISBLANK(A2),1,SUMIFS('Export Results ITD thru Mar2021'!$N$2:$N$99998, 'Export Results ITD thru Mar2021'!$K$2:$K$99998,"*" & $A$2 & "*",'Export Results ITD thru Mar2021'!$B$2:$B$99998,$F$1,'Export Results ITD thru Mar2021'!$D$2:$D$99998,Calc!E2))
by substituting "1" at the beginning of the formula (prior to SUMIFS) with
Excel Formula:
SUMIFS('Export Results ITD thru Mar2021'!$N$2:$N$99998, 'Export Results ITD thru Mar2021'!$L$2:$L$99998,$A$4,'Export Results ITD thru Mar2021'!$B$2:$B$99998,$F$1,'Export Results ITD thru Mar2021'!$D$2:$D$99998,Calc!E2
Tried entering as is, or enclosing this bit into brackets, doesn't work... must be missing something obvious.
The second component works on its own, but not when embedded the way I try it to embed...
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi,

May be you're just missing the closing bracket for your 2nd formula?

Try this, Untested:

Excel Formula:
=IF(ISBLANK(A2),SUMIFS('Export Results ITD thru Mar2021'!$N$2:$N$99998, 'Export Results ITD thru Mar2021'!$L$2:$L$99998,$A$4,'Export Results ITD thru Mar2021'!$B$2:$B$99998,$F$1,'Export Results ITD thru Mar2021'!$D$2:$D$99998,Calc!E2),SUMIFS('Export Results ITD thru Mar2021'!$N$2:$N$99998, 'Export Results ITD thru Mar2021'!$K$2:$K$99998,"*" & $A$2 & "*",'Export Results ITD thru Mar2021'!$B$2:$B$99998,$F$1,'Export Results ITD thru Mar2021'!$D$2:$D$99998,Calc!E2))
 
Upvote 0
Solution
You're welcome, glad to help.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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